theMoneySheet Finance calculators & tools

Markup vs Margin Calculator

Markup and margin are not the same number — mixing them up quietly underprices your work. Enter your cost and one figure; get all three.

Your details

Rough figures are fine — you can refine later.

How we calculate this

From a cost and any one of price, margin, or markup, we derive the rest.

Definitions. margin = (price − cost) ÷ price. markup = (price − cost) ÷ cost.

Conversions. From a target margin: price = cost ÷ (1 − margin). From a target markup: price = cost × (1 + markup).

We guard the impossible cases: a margin of 100% or more (you can’t price to keep the whole sale) returns no price, and a cost of 0 returns a 0% markup. This is a pricing tool, not tax advice.

Primary sources

  • Standard markup and margin definitions and conversions

Two words for profit that mean very different numbers

Markup and margin both describe the same thing — the profit in a sale — but they measure it against different bases, and mixing them up is one of the most common ways freelancers and small resellers quietly lose money. This calculator lets you enter your cost and any one of price, margin, or markup, and instantly see all three, so you always know which number you're actually quoting.

The definitions, side by side

  • Margin is profit as a share of the selling price: (price − cost) ÷ price.
  • Markup is profit as a share of your cost: (price − cost) ÷ cost.

Take a concrete case. Something costs you $60 and you sell it for $100. The profit is $40 either way. But:

  • The margin is $40 ÷ $100 = 40%.
  • The markup is $40 ÷ $60 = 66.7%.

Same $40, two very different percentages — because one is measured against the bigger number (price) and the other against the smaller one (cost). Markup is always the larger figure.

Why the confusion costs you money

Suppose you want a 40% margin, but you set prices by "adding 40%." A 40% markup on a $60 cost is only $84 — which is a 28.6% margin, not 40%. To actually hit a 40% margin you'd need to sell at $100. Every time you apply a markup percentage where you meant a margin percentage, you undercharge, and the shortfall compounds across every job.

This isn't a rare mistake. Retail and product businesses tend to think in markup because they start from a known cost. Agencies and service freelancers tend to think in margin because proposals and clients reference the total price. When those worlds meet — a designer reselling print, a developer marking up hosting, a consultant passing through subcontractor costs — the two get crossed, and the price comes out wrong.

Converting between them

The relationship is fixed, so you can always convert:

  • Margin from markup: margin = markup ÷ (1 + markup). A 66.7% markup is 0.667 ÷ 1.667 = 40% margin.
  • Markup from margin: markup = margin ÷ (1 − margin). A 40% margin is 0.40 ÷ 0.60 = 66.7% markup.
  • Price from margin: price = cost ÷ (1 − margin).
  • Price from markup: price = cost × (1 + markup).

This tool runs all of these for you — pick which figure you know, enter it, and read off the rest.

Pick one and be consistent

The fix isn't to memorize formulas; it's to choose the language your business thinks in and stick to it. If your proposals quote a total price, think in margin. If you price up from known costs, think in markup. Just never assume a "40%" from one context means the same as a "40%" from the other — because it doesn't.

What this is

A pricing tool, not tax advice. It guards the impossible cases (a margin of 100% or more can't be priced; a zero cost has no markup). Use it any time you're about to quote a percentage and want to be sure you're quoting the right one.

Common questions

What’s the difference between markup and margin? +

Both measure profit, but against different bases. Markup is profit as a percentage of your cost. Margin is profit as a percentage of the selling price. A product that costs $60 and sells for $100 has a 40% margin ($40 ÷ $100) but a 66.7% markup ($40 ÷ $60). They describe the same $40 profit two ways.

Why does confusing them lose me money? +

If you want a 40% margin but apply a 40% markup, you undercharge. A 40% markup on $60 is only $84 — a 28.6% margin, not 40%. To hit a 40% margin you’d need to sell at $100. Freelancers and resellers routinely leave money on the table by using markup where they meant margin.

Should I price on markup or margin? +

Retail and product businesses often think in markup because they start from a known cost. Service and agency work usually thinks in margin because clients and proposals reference the total price. Pick one consistently and know how it converts — which is exactly what this tool shows.

How do I convert a markup to a margin? +

Margin = markup ÷ (1 + markup). So a 66.7% markup is 0.667 ÷ 1.667 = 40% margin. This calculator does the conversion in both directions for you — enter either one and read off the other.

Keep going

Prepared for tax year 2026. Every rate and cap on this page cites a primary IRS or SSA source. Estimates only — not tax or financial advice. — for planning purposes only, not tax, legal, or financial advice.