Markup & Margin Calculator
Price a product from what it costs you — set the price by a markup on cost or by a target margin on the selling price — and see both at once.
Last updated — rates and figures change over time, so always confirm with the current source.
Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. A 50% markup equals roughly a 33% margin.
A $20 cost with 50% markup prices at $30 and earns $10. That $10 is 33% of the $30 selling price, so your margin is 33%. If instead you want a 50% margin, price at $40 (cost ÷ 0.5). Feed the numbers through the mode switch to see it live.
Frequently asked questions
How do I compute margin from markup?
margin = markup ÷ (1 + markup). For markup m as a decimal, margin = m/(1+m). A 25% markup → 20% margin.
How do I compute markup from margin?
markup = margin ÷ (1 − margin). For a 40% margin, markup = 0.40/0.60 ≈ 67%.