Profit Margin Calculator: Markup vs Margin and the Math Behind Pricing
Confusing markup with margin is one of the most common pricing mistakes — and it can quietly wreck the unit economics of a business. This calculator handles both, plus the related calculations of break-even price and selling price from a target margin.
Margin and markup describe the same gap between cost and price, but they're calculated against different bases. **Markup** is profit divided by cost (50 markup on cost of 100 = 50% markup). **Margin** is profit divided by selling price (50 profit on price of 150 = 33% margin). The same dollar profit looks like different percentages depending on which framing you use.
Vendors and salespeople often quote markup (which sounds bigger); accountants and investors quote margin (which is what shows up on the income statement). Mixing them up can cause real money to leak out of a business.
Markup vs margin — the formulas
**Markup** = (Price − Cost) ÷ Cost × 100. **Margin** = (Price − Cost) ÷ Price × 100. They convert as: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).
A 100% markup is a 50% margin. A 50% markup is a 33% margin. The difference grows quickly at higher percentages — a 200% markup is only 67% margin.
Markup-to-margin conversion table
| Markup | Margin | Same as saying |
|---|---|---|
| 10% | 9.1% | Cost ×1.10 = Price |
| 25% | 20.0% | Cost ×1.25 = Price |
| 33% | 25.0% | Cost ×1.33 = Price |
| 50% | 33.3% | Cost ×1.50 = Price |
| 75% | 42.9% | Cost ×1.75 = Price |
| 100% | 50.0% | Cost ×2.00 = Price (double) |
| 150% | 60.0% | Cost ×2.50 = Price |
| 200% | 66.7% | Cost ×3.00 = Price (triple) |
Common margin types
- Gross margin
- Revenue minus direct cost of goods, divided by revenue. The fundamental unit-economics metric.
- Operating margin
- Gross margin minus operating expenses (rent, salaries, marketing). What's left before interest and tax.
- Net margin
- What's actually kept after everything — interest, tax, the works. The bottom line.
- Contribution margin
- Revenue minus variable costs only (not including fixed costs). Used for break-even analysis.
Healthy margin ranges by industry
- •Software (SaaS): 70–90% gross margin. Code copies cost almost nothing.
- •Restaurants: 60–70% gross margin on food, but operating margin only 3–6% after labor and rent.
- •Retail: 30–50% gross margin typical; grocery 1–3% net margin.
- •Consulting: 50–70% margin if billing time directly; lower if reselling labor through agencies.
- •Manufacturing: 20–40% gross margin depending on commodity vs branded products.
Extended FAQ
Why does the same product show different margins year-to-year?
Cost can shift (raw materials, labor) even when price doesn't. A 5% cost increase on a 30%-margin product becomes a 7% margin hit if you can't pass it through to price.
Should I use markup or margin to compare against competitors?
Margin. It's the standard metric for income-statement reporting and benchmarking. If a vendor only quotes markup, convert to margin before comparing.
Does margin include taxes?
Gross margin doesn't (tax is below gross profit). Net margin does. Always state which one you mean.
Are my numbers saved?
No — runs entirely in your browser.
