Markup and Margin Calculator

Free No sign-up

Calculate markup %, gross margin %, and selling price — enter cost and any one target value.

$
calculated
$
calculated
%
calculated
%

Enter your cost and one other value to see results

Markup vs. margin — what is the difference?

Markup and margin both measure profitability, but they use different baselines. Markup expresses profit as a percentage of your cost — what you added on top of what you paid. Gross margin expresses profit as a percentage of the selling price — what you keep from every dollar a customer pays you.

Markup %(Selling Price − Cost) / Cost × 100
Margin %(Selling Price − Cost) / Selling Price × 100
Gross ProfitSelling Price − Cost

The same profit always produces a larger markup percentage than margin percentage. If you buy a product for $60 and sell it for $100, your profit is $40. That is a 66.7% markup on cost, but only a 40% margin on revenue. Using both figures interchangeably is one of the most common pricing mistakes in small business — it leads to systematic underpricing and unexpected cash flow gaps.

The practical rule: a 50% markup equals only a 33.3% gross margin. If your business requires a 50% margin to cover overhead and salaries, you need a 100% markup on cost — not 50%.

How to use this calculator

Cost is always the starting point. Enter what you paid for the product or service — your cost of goods sold. Then fill in exactly one of the three remaining fields and the calculator updates instantly.

Enter a selling price to verify existing pricing. The calculator will show markup percentage, gross margin, and gross profit in your chosen currency. Use this to audit products you are already selling.

Enter a desired margin to work backward to the right price. If your business needs a 40% gross margin to stay profitable, the calculator sets the minimum selling price and shows the corresponding markup — so you never underprice again.

Enter a desired markup for cost-plus pricing. Type 50 for 50% markup and see the selling price along with the actual margin that produces — which, for a 50% markup, is 33.3%, not 50%. The visual bars make this gap immediately obvious.

For a full profitability picture across gross, operating, and net levels, pair this tool with our Profit Margin Calculator.

Frequently Asked Questions

How do you calculate markup and margin?
To find markup, subtract your cost from the selling price, divide by the cost, and multiply by 100. To find margin, use the same profit but divide by the selling price instead. For a product that costs $60 and sells for $100: markup = 40/60 × 100 = 66.7%, and margin = 40/100 × 100 = 40%.
Is 20% margin the same as 25% markup?
Yes, they represent the same dollar profit. Buy at $100, apply a 25% markup: selling price is $125, profit is $25. That $25 as a share of $125 revenue equals exactly 20% gross margin. Convert between them with: Markup = Margin / (1 − Margin), so 0.20 / 0.80 = 0.25 (25%).
What is the difference between 30% margin and 30% markup?
The baseline is different. A 30% markup on a $100 cost gives a $130 price and a real margin of only 23.1%. A 30% margin on the same cost requires a price of $142.86 and a 42.9% markup. Operating on a 30% markup when your business needs a 30% margin is a reliable path to cash flow problems.
What margin is a 45% markup?
A 45% markup yields a 31.03% gross margin. Use the formula: Margin = Markup / (1 + Markup) = 0.45 / 1.45 = 0.3103 (31.03%). This means roughly 31 cents of every dollar collected counts as gross profit.
Why is markup always a higher percentage than margin for the same profit?
Because markup divides profit by cost, which is smaller than the selling price that margin uses. A smaller denominator always produces a larger percentage. For a $40 profit: $40 / $60 cost = 66.7% markup, but $40 / $100 revenue = 40% margin.