Margin Calculator

Calculate gross profit and margin from price and cost.

Your workspace

Processed in your browser

Enter your values or try the example.

This tool calculates the gross profit and margin percentage based on your provided selling price and cost. It helps you quickly determine the profitability of individual products or services.

How to calculate margin

  1. Enter the selling price of the item in the first field.
  2. Enter the total cost associated with that item in the second field.
  3. View the calculated profit amount and the resulting margin percentage immediately.

Understanding Margin vs. Markup

Profit margin is calculated as (Revenue - Cost) / Revenue. It represents the percentage of your selling price that is profit. This differs from markup, which is calculated based on cost. Using margin helps you understand how much of every dollar earned is kept as profit, which is essential for pricing strategies and financial health.

Example calculation

Selling price: 100, Cost: 80

Profit: 20, Margin (%): 20%

Frequently asked questions

What if my cost is higher than my selling price?

The calculator will show a negative profit and a negative margin percentage, indicating a loss on the sale.

Does this tool account for taxes or overhead?

No, this is a simple arithmetic tool. You must include all relevant costs (like taxes, shipping, or overhead) within the 'Cost' input field to get an accurate margin.

Continue your workflow

Explore more tools in this category for your next step.