Page & Bell

Profit Margin & Markup Calculator

Margin and markup are the most-confused pair in pricing, and the confusion costs real money: a seller who wants a 25% margin but applies a 25% markup ends up with only a 20% margin — silently giving away a fifth of the intended profit on every sale. This calculator is a five-way solver: enter any two of cost, selling price, profit, margin, or markup, and it computes the rest, with a correct reverse-pricing formula (divide by 1 minus margin, never multiply by 1 plus margin) and a net-margin add-on for operating expenses. Amounts display in US dollars; the math works for any currency.

Enter any two values — the other three are computed from your two most recently edited fields (currently solving from Cost ($) and Margin (%)).

Fill any two fields — e.g. cost $800 and margin 20% — to compute the price ($1,000), profit ($200), and markup (25%).

How to use the profit margin & markup calculator

  1. Enter any two values — for example cost $800 and target margin 20%. The other three fields fill in automatically (price $1,000, profit $200, markup 25%).
  2. The two fields marked “input” are the ones being solved from; editing any field makes it one of the inputs.
  3. To reverse-price from a target margin, enter cost and margin — the tool uses price = cost ÷ (1 − margin), not the classic cost × (1 + margin) error.
  4. If price is below cost, the result shows a loss in red — that's information, not an input error.
  5. Add per-unit operating expenses in the net-margin box to see profit after overheads, not just after the cost of goods.

The 25%-markup-equals-20%-margin example

Cost $800. Apply a 25% markup: price = 800 × 1.25 = $1,000. Profit $200. Now compute the margin: 200 ÷ 1,000 = 20%. Same transaction, two different percentages — because margin divides by the price and markup divides by the cost. If your business plan needs a 25% margin and your spreadsheet applies a 25% markup, every sale silently under-earns by 5 percentage points of revenue. On $500,000 of annual sales that is $25,000 of missing gross profit.

Margin ⇄ markup conversion table

Conversion formulas: markup = margin ÷ (1 − margin); margin = markup ÷ (1 + markup).

MarginEquivalent markupPrice for $100 cost
10%11.1%$111.11
15%17.6%$117.65
20%25.0%$125.00
25%33.3%$133.33
30%42.9%$142.86
35%53.8%$153.85
40%66.7%$166.67
45%81.8%$181.82
50%100.0%$200.00
55%122.2%$222.22
60%150.0%$250.00

Note how the gap accelerates: at 20% margin the markup is 25%, but at 50% margin the markup is already 100%, and at 60% margin it is 150%.

Frequently asked questions

What is the difference between margin and markup?

Both describe the same profit, divided by different bases. Margin = profit ÷ selling price; markup = profit ÷ cost. Buy at $800, sell at $1,000: profit is $200, margin is 200 ÷ 1,000 = 20%, markup is 200 ÷ 800 = 25%. Markup is always the larger number for any profitable sale, and the gap widens as percentages rise — a 50% margin corresponds to a 100% markup.

How do I price for a target margin? (The formula people get wrong.)

Use price = cost ÷ (1 − margin). For a 25% margin on a $600 cost: 600 ÷ 0.75 = $800. The common error is cost × 1.25 = $750 — check it: profit $150 ÷ price $750 = 20% margin, not 25%. Multiplying by (1 + margin) applies the percentage to the wrong base (cost instead of price) and always undershoots; the shortfall grows with the target — at a “60% margin” the multiplication error delivers only 37.5%.

Why is a margin of 100% or more impossible?

Margin is profit as a share of the selling price. For margin to reach 100%, profit would have to equal the entire price, meaning the item cost you nothing; beyond 100% the cost would be negative. When people say “I made 200% on that”, they almost always mean markup (profit ÷ cost), which has no upper bound. The calculator blocks margin inputs of 100%+ and explains the conversion instead of producing a nonsense price.

What's the difference between gross margin and net margin?

Gross margin deducts only the direct cost of the goods sold. Net margin also deducts operating expenses — rent, salaries, marketing, payment-processing fees, shipping. A product with a healthy 40% gross margin and $250 of allocated overheads on a $1,000 price nets only 15%. Pricing decisions made on gross margin alone are how businesses grow revenue while losing money.

What is a good profit margin?

It depends heavily on the industry, and any benchmark is an estimate: grocery retail often runs 1–3% net, restaurants 3–9%, consumer electronics retail 2–5%, apparel 4–13%, software and SaaS frequently 70%+ gross with widely varying net. Compare against your own sector and channel, not a universal number — a 10% net margin is weak for software and exceptional for a supermarket.

Should I price up from cost or down from the market?

Cost-plus (cost ÷ (1 − target margin)) guarantees each sale is profitable but ignores what buyers will pay — you may leave money on the table or price yourself out. Market-based pricing starts from the competitive price and works backwards: at a market price of $1,000 and a required 30% margin, your landed cost must not exceed $700. In practice use both: the market sets the ceiling, your cost plus minimum margin sets the floor, and if the floor exceeds the ceiling the product isn't viable. One US-specific note: do margin math on the pre-tax price — sales tax is added at the register and passed through to the state, so it belongs in neither your price base nor your cost.

Related tools

Learn more