Margin and Markup, Explained

After reading this you will be able to move between cost, selling price and margin from any two known values, and you will never confuse margin with markup again.

Two numbers describe the same profit, and people mix them up every day. A product costs 60 and sells for 100. The profit is 40. Divide that 40 by the price and you get a 40% margin. Divide the same 40 by the cost and you get a 66.7% markup. Same product, same profit, two different percentages. If you quote a client "40% markup" when you meant "40% margin", you have just underpriced the job.

The Margin Calculator solves the pricing triangle of cost, price and margin from any two of them, and it always shows the markup alongside so the two numbers sit side by side.

What margin and markup actually measure

Both start from the same profit figure. What changes is the base you divide by.

Cost
What you pay to make or buy one unit. In the demo, 60.
Selling price
What the customer pays. In the demo, 100.
Profit
Price minus cost. Here 100 - 60 = 40.
Margin
Profit as a share of the price. It answers "of every dollar I take in, how much is profit?"
Markup
Profit as a share of the cost. It answers "how much did I add on top of what I paid?"

Margin can never reach 100%, because profit is always less than price (you paid something for the goods). Markup has no ceiling: a $10 item sold for $50 carries a 400% markup.

When to use margin, and when markup fits better

Use margin when you think in terms of revenue. Retail reports, income statements and gross-margin targets all divide by sales, so margin is the language of the top line. If your goal is "keep at least 35% of revenue as gross profit", you are targeting margin.

Use markup when you set prices upward from a known cost. A wholesaler who buys at 60 and applies a fixed rule ("everything is cost plus 50%") is working in markup. That is the natural direction for a purchasing desk.

Pick one convention per business and write it down. If your suppliers talk markup and your accountant talks margin, translate every number into both before you commit to a price.

This tool is not the right one for costs that change with volume, taxes, or break-even questions. For those, see the related tools at the end.

The formulas and the intuition behind them

Write cost as C, price as P, and margin as a fraction m (so 40% is 0.40). Margin is profit over price:

m = \frac{P - C}{P}

Here P - C is the profit and P is the price. Rearranging to find the price from a target margin gives:

P = \frac{C}{1 - m}

The 1 - m in the denominator is the cost's share of the price. If margin is 40%, then cost must be 60% of price, so you divide cost by 0.60. And to recover cost from a price and margin:

C = P \cdot (1 - m)

Markup uses the same profit over the cost instead:

\text{markup} = \frac{P - C}{C}

The clean conversion between the two is worth memorising. If you know the margin m, the markup is:

\text{markup} = \frac{m}{1 - m}

Plug in m = 0.40: markup is 0.40 / 0.60 = 0.6667, or 66.7%. That is the same 66.7% from the opening example, now derived instead of asserted.

A worked example using the demo numbers

Cost 60, price 100, find the margin

These are the tool's defaults. Set the mode to find the margin, leave cost at 60 and price at 100, and press Calculate.

  1. Profit is price minus cost: 100 - 60 = 40.
  2. Margin is profit over price: 40 / 100 = 0.40, which is 40%.
  3. Markup is profit over cost: 40 / 60 = 0.6667, which is 66.7%.
  4. Check with the conversion: 0.40 / (1 - 0.40) = 0.40 / 0.60 = 0.6667. It matches.

Now run it the other way. Switch to find the price, keep cost at 60 and set margin to 40. The tool computes P = 60 / (1 - 0.40) = 60 / 0.60 = 100. You are back where you started, which confirms the triangle is consistent.

The gap between margin and markup

The two percentages start equal at zero and drift apart as profit grows. The table shows how far. Each row uses the same cost of 60.

How margin and markup diverge for a cost of 60
PriceProfitMarginMarkup
6669.09%10.0%
751520.0%25.0%
903033.3%50.0%
1004040.0%66.7%
1206050.0%100.0%
1509060.0%150.0%

Read the 90 row carefully: a 50% markup is only a 33.3% margin. That single row explains most pricing mistakes. Someone hears "add 50%" and assumes half the revenue is profit, when in truth only a third of it is.

Markup climbs slowly at first, then steeply. Below 50% margin the two numbers are close; above it, markup runs away. The marker sits at the demo's 40% margin, where markup is 66.7%.

With a fixed cost of 60: at 20% margin the price is 75 and markup is 25%; at 40% margin the price is 100 and markup is 66.7%; at 60% margin the price is 150 and markup is 150%. As margin rises, price and markup both rise, and markup rises faster.

Common mistakes

The most expensive error is applying a markup percentage as if it were a margin. If you want to keep 40% of revenue but you mark cost up by 40%, your actual margin is only 28.6% (0.40 / 1.40). On a 60 cost you would price at 84 instead of 100, losing 16 of profit per unit.

Three more traps show up often:

  • Chasing a margin above 100%. It is impossible. If a tool or formula hands you a margin over 100%, you have divided profit by cost (markup) and labelled it margin.
  • Averaging margins across products. A 20% margin on a $10 item and a 60% margin on a $200 item do not average to 40%. Weight by revenue, or better, sum total profit and divide by total revenue.
  • Forgetting costs that are not in "cost". This tool uses one cost figure. Shipping, transaction fees and returns eat into the margin you think you have. Fold them into the cost before you price.

Related tools

Once the price is set, other questions follow. To go from cost and markup directly to a price, use the Markup Calculator, which mirrors this one from the cost side. To find how many units cover your fixed costs, use the Break-Even Calculator. When a product's cost varies with volume, the Contribution Margin Calculator handles per-unit contribution more precisely.

For invoices, the Invoice VAT Breakdown separates net, tax and gross so margin is measured on the right base. If you pay sellers a cut, the Sales Commission Calculator shows what lands with the rep. For cash-flow horizons, see the Burn Rate & Runway Calculator and the Payback Period Calculator.

Frequently asked questions

Is a 50% markup the same as a 50% margin?

No. A 50% markup means price is 1.5 times cost, which gives a 33.3% margin. A 50% margin means price is twice cost, which is a 100% markup. Use the conversion \text{markup} = m / (1 - m) to move between them.

Can margin ever be more than 100%?

No. Margin is profit divided by price, and profit is always smaller than price because you paid something for the goods. A figure above 100% is a markup, not a margin.

Which number should I quote a customer or supplier?

State which one you mean. If they think in cost (a supplier or a purchasing desk), markup is clearer. If they think in revenue (a finance team), margin is clearer. Quoting the number without the label is where money leaks.

What margin should my business aim for?

That depends on your industry, competition and cost structure, and no calculator can set it for you. This tool shows the arithmetic, not a target. Treat the output as an educational estimate and talk to a qualified adviser before pricing decisions.

Does this include tax?

No. The cost and price here are pre-tax figures. If your prices include VAT or sales tax, strip the tax out first (the Invoice VAT Breakdown does this) so the margin reflects real profit rather than tax you are only holding.