Skip to content

Margin & Markup Calculator

Enter any two values to get the selling price, profit, margin and markup — and see why a 40% markup is not a 40% margin.

Calculated instantly in your browser. Nothing you type is sent or stored.

I know the…

What you pay for the item, excluding tax.

Excluding sales tax or VAT.

Multiply profit and revenue by a number of units.

The currency symbol is only a label; any currency works.

Result

Gross margin

—

Markup

—

Selling price
—
Cost
—
Profit per item
—

Margin and markup formulas

To findFormula
Profitprice − cost
Gross marginprofit ÷ price × 100
Markupprofit ÷ cost × 100
Price from margincost ÷ (1 − margin ÷ 100)
Price from markupcost × (1 + markup ÷ 100)
Margin from markupmarkup ÷ (100 + markup) × 100
Markup from marginmargin ÷ (100 − margin) × 100

Margin to markup conversion table

Gross marginEquivalent markup
10%11.11%
15%17.65%
20%25%
25%33.33%
30%42.86%
33.33%49.99%
40%66.67%
50%100%
60%150%
75%300%

Worked example

You buy a lamp for $60 and want a 40% gross margin. The price is 60 ÷ (1 − 0.40) = $100, giving a $40 profit. As a markup, that same $40 is 40 ÷ 60 = 66.7%.

If you had simply added 40% to the cost, the price would be $84 and the margin only 24 ÷ 84 = 28.6%. Over a year of sales that gap can decide whether a product line pays its share of overheads. Our guide to margin vs markup explains this in detail.

Frequently asked questions

What is the difference between margin and markup?

Both describe the same profit, measured against different bases. Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A product that costs $60 and sells for $100 has a 40% margin and a 66.7% markup.

How do I find the price for a target margin?

Divide the cost by (1 − margin). For a 40% margin on a $60 cost: 60 ÷ (1 − 0.40) = $100. Adding 40% to the cost ($84) would give only a 28.6% margin — a common pricing mistake.

Can a margin be more than 100%?

No. Margin is profit divided by price, and profit can never exceed the price unless the cost is negative. Markup has no upper limit: selling a $10 item for $50 is a 400% markup but an 80% margin.

Is this gross margin or net margin?

Gross margin per item: it uses the cost of the product itself (cost of goods sold). Net margin also subtracts overheads such as rent, salaries and marketing, which this calculator does not include.

Does it include sales tax or VAT?

No. Enter prices excluding sales tax, VAT or GST, because that money is collected for the government and is not part of your revenue or profit.

Last updated .