Markup vs Margin Calculator
Convert between markup and margin, find the price for a target margin or markup, and see profit per unit. Free calculator, instant results.
Results
Results are estimates based on the values you enter. Consult a professional for financial, legal, or tax decisions.
Full Pricing Ladder (unlocked)
| Target Margin | Price | Target Markup |
|---|
Markup vs. Margin: Why They're Different Numbers
Markup and margin both describe the relationship between what something costs and what it sells for, and both are usually expressed as a percentage — which is exactly why they get confused for one another. The difference is the number each percentage is measured against. Markup is profit expressed as a percentage of cost: how much you add on top of what you paid. Margin is profit expressed as a percentage of price: how much of the money the customer hands you is actually profit.
Because cost is always smaller than price on a profitable sale, markup is always a bigger number than margin for the same sale. A $20 profit on a $40 cost is a 50% markup, but that same $20 profit on the resulting $60 price is only a 33.3% margin. Neither number is wrong — they answer different questions — but treating them interchangeably is one of the most common pricing errors small businesses make, and it tends to leave money on the table in a very specific, predictable direction.
This calculator exists to make the conversion mechanical rather than a source of guesswork. Enter your cost and price and it reports both percentages side by side, plus the reverse calculations: the price you'd need to charge to hit a target margin, and the price you'd need to charge to hit a target markup.
How This Calculator Works
The calculator takes four inputs. Unit Cost and Selling Price describe a real or proposed sale and drive the first three results: profit per unit, margin %, and markup %. These are the straightforward, forward calculations — given what something costs and what it sells for, what's the profit and how do the two percentages compare.
Target Margin % and Target Markup % drive the reverse calculations. Instead of starting from a price and working out the margin, you start from the margin you want and the calculator works out the price. Price For Target Margin answers "what do I need to charge, given my cost, to land at this margin?" Price For Target Markup answers the same question for markup. These are the two results worth using before you set a price, rather than after.
The last two results, Margin Equivalent Of Target Markup % and Markup Equivalent Of Target Margin %, convert your two target percentages directly into each other without needing a price or cost at all — useful for checking, at a glance, whether a markup figure someone quoted you is actually the margin you thought it was.
All four inputs recalculate every result live as you type; there's no submit button because there's nothing to submit — everything runs in your browser. The paid tier below unlocks a full pricing ladder and a PDF export of it; the free results above stay fully functional either way.
Key Formulas Explained
Margin and Markup From Cost and Price
Margin % = (Price − Cost) ÷ Price × 100. Markup % = (Price − Cost) ÷ Cost × 100. The numerator — the profit — is identical in both formulas; only the denominator changes, which is the entire source of the gap between the two percentages.
Price From a Target Margin or Markup
Price For Target Margin = Cost ÷ (1 − Margin), with margin expressed as a decimal. This is a direct rearrangement of the margin formula above, solved for price instead of margin. Price For Target Markup = Cost × (1 + Markup), again with markup as a decimal — the corresponding rearrangement of the markup formula.
Converting Directly Between Markup and Margin
You don't need a price or cost to convert one percentage into the other — the two conversion identities are: Markup = Margin ÷ (1 − Margin), and Margin = Markup ÷ (1 + Markup), both expressed as percentages the way this calculator does it (e.g. a 50% target markup becomes 50 ÷ (100 + 50) × 100 = 33.3% margin). These identities are algebraically equivalent to the cost/price formulas above — cost and price cancel out of the ratio entirely.
Common Pricing Mistakes
The single most common mistake is setting a price by adding a markup percentage when the actual goal was a margin percentage — or the reverse. The two numbers feel interchangeable in conversation ("we do 25% on this line") but they produce meaningfully different prices and, more importantly, different profit outcomes at scale.
Take a concrete example: a business wants a 25% margin on a $40 cost item, but the person setting prices mistakenly applies a 25% markup instead. A 25% markup on $40 gives a price of $50 ($40 × 1.25). Checking the actual margin on that $50 price: ($50 − $40) ÷ $50 × 100 = 20% — not the 25% margin that was intended. To genuinely hit a 25% margin on a $40 cost, the correct price is $40 ÷ (1 − 0.25) = $53.33, which corresponds to a 33.3% markup, not 25%.
The gap gets wider as the target percentage grows. At a 10% target, markup and margin differ by about a point (10% margin needs an 11.1% markup); at a 50% target the same confusion is worth 17 points of price (50% margin needs a 100% markup). Run both the "price for target margin" and "price for target markup" results before finalizing a price, and confirm which one — margin or markup — was actually the business goal.
Frequently Asked Questions
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $40 cost gives a price of $60 ($40 × 1.50), which is a 33.3% margin — not 50%. A 50% margin on that same $40 cost requires a price of $80 ($40 ÷ (1 − 0.50)), which is a 100% markup. Markup and margin only match each other at 0%; the further from zero, the wider they diverge.
How do I price for a specific margin?
Divide your unit cost by (1 minus the target margin, expressed as a decimal). For example, a $40 cost with a 30% target margin gives a price of $40 ÷ 0.70 = $57.14. This calculator performs that division for you in the Price For Target Margin result — just enter your cost and target margin.
What's a healthy margin?
It varies enormously by industry, business model, and stage of growth — there is no single universal number. Rather than chasing an external benchmark, compare your margin against your own historical margins over time, your fixed-cost coverage, and what your closest competitors disclose, if any do.
Why is margin always less than markup at the same profit level?
Because margin divides profit by the larger number (selling price), while markup divides the same profit by the smaller number (unit cost). Dividing an identical numerator by a larger denominator always produces a smaller percentage. At $10 profit on a $40 cost and $50 price: margin = $10 / $50 = 20%, markup = $10 / $40 = 25%. The dollar profit is identical; only the base of comparison differs.
Does this calculator account for taxes or fixed costs?
No. This is a straight unit-economics calculator — it works only from unit cost and selling price (or a target margin/markup) for a single unit. It does not include shipping, payment processing fees, overhead allocation, income tax, or any fixed costs. For a per-unit profitability decision that accounts for those factors, fold them into your unit cost before entering it here.
What does the paid tier add?
A full pricing ladder — 19 rows, margin targets from 5% to 95% in 5-point steps — computed from your Unit Cost, plus a PDF export of that table. The free results above already show one margin/markup pair at a time; the paid ladder shows the whole range at once, useful as a standing pricing reference sheet rather than a single lookup.
Methodology
This calculator uses four plain algebraic formulas with no assumptions or industry benchmarks baked in. Margin % = (Price − Cost) ÷ Price × 100. Markup % = (Price − Cost) ÷ Cost × 100. Price For Target Margin = Cost ÷ (1 − Target Margin). Price For Target Markup = Cost × (1 + Target Markup). The two equivalence results convert the target percentages directly into one another: Margin Equivalent Of Target Markup = Target Markup ÷ (100 + Target Markup) × 100, and Markup Equivalent Of Target Margin = Target Margin ÷ (100 − Target Margin) × 100. All results update live from the four inputs; nothing is looked up or estimated. The paid-tier pricing ladder applies the same Price-For-Target-Margin formula at 5-point margin increments from 5% to 95%.