Skip to content
EveryFix

Markup vs. margin: what the difference is and how to convert between them

Guide⏱ 8 min readUpdated 2026-10-12

Short answer

Markup and margin describe the same profit against different bases. Markup is profit divided by cost; margin is profit divided by selling price. A product that costs $60 and sells for $100 has $40 of profit, which is a 66.7% markup and a 40% margin. To convert, markup % = margin % / (100 - margin %) x 100, and margin % = markup % / (100 + markup %) x 100. The classic mistake is adding your target margin to cost as if it were a markup: marking $60 up by 40% gives $84, which is only a 28.6% margin.

Open the free Markup Calculator to price from cost

Markup and margin conversion formulas

Markup % = profit / cost x 100. Margin % = profit / price x 100. Markup % = margin % / (100 - margin %) x 100. Margin % = markup % / (100 + markup %) x 100. Price from cost and target margin = cost / (1 - margin as a decimal).

  • •profit is the selling price minus the cost
  • •cost is everything you spent to buy or produce the item or deliver the job
  • •price is the amount the customer pays you before any sales tax
  • •markup is measured against cost, so it can exceed 100%
  • •margin is measured against price, so it always stays below 100%

Same profit, two different denominators

Every sale has three numbers: what the item cost you, what the customer paid, and the profit in between. Markup and margin are both just that profit written as a percentage. They only differ in what you divide by.

Markup divides profit by cost. It answers a pricing question: how much did I add on top of what I paid? Margin divides profit by the selling price. It answers a reporting question: out of each dollar a customer handed me, how many cents did I keep?

Because the selling price is always larger than the cost when you make a profit, margin is always the smaller percentage. A 100% markup is a 50% margin. A 50% markup is only a 33.3% margin. The two only agree at zero, where you are selling at cost and earning nothing.

The trouble starts when people use the words interchangeably. A supplier quoting a 40% markup, a lender asking about your 40% margin, and a spreadsheet column labelled just profit percent can describe three completely different prices.

The conversion formulas

You can move between the two without knowing the actual dollar amounts, because both percentages come from the same profit. The algebra is short. If cost is 1 and markup is m (as a decimal), then price is 1 + m, profit is m, and margin is m / (1 + m). Flip that around and markup is margin / (1 - margin).

In percent form, these are the two formulas to remember. They are also the ones to reach for when a target is given in one language and your tools work in the other.

  • Margin to markup: 20% margin = 20 / 80 = 25% markup. 25% margin = 33.3% markup. 30% margin = 42.9% markup. 40% margin = 66.7% markup. 50% margin = 100% markup. 60% margin = 150% markup.
  • Markup to margin: 25% markup = 25 / 125 = 20% margin. 50% markup = 33.3% margin. 100% markup = 50% margin. 150% markup = 60% margin. 200% markup = 66.7% margin.
  • Margin can never reach 100% because that would mean the item cost nothing. Markup has no ceiling: a $5 item sold for $50 is a 900% markup but a 90% margin.
  • Notice how fast markup grows as margin rises. Going from a 50% margin to a 75% margin does not add 25 points of markup; it takes markup from 100% to 300%.

Worked example: one product, both numbers

Say you buy a product for $40 and sell it for $60.

Profit = 60 - 40 = $20.

Markup = 20 / 40 = 50%.

Margin = 20 / 60 = 33.3%.

Now check the conversion formulas against those results. Margin from markup: 50 / (100 + 50) x 100 = 50 / 150 x 100 = 33.3%. Markup from margin: 33.3 / (100 - 33.3) x 100 = 33.3 / 66.7 x 100 = 50%. They agree, as they must.

A second example from the service side: you pay a subcontractor $85 an hour and rebill the client with a 25% markup. The billing rate is 85 x 1.25 = $106.25 an hour, which leaves $21.25 of profit. That profit is 25% of the $85 cost, but only 20% of the $106.25 you invoiced. If your overhead assumptions were built around a 25% margin on subcontracted work, you are five points short.

The Markup Calculator does the first direction for you: enter a cost and a markup percentage and it returns the selling price, the profit, and the resulting margin. A $40 cost at a 50% markup shows a $60 selling price, $20 profit, and a 33.3% margin.

The classic pricing mistake

Here is the error that costs small businesses real money. You decide you want a 40% margin. Your product costs $60. You think: 40% on top of cost, so 60 x 1.40 = $84.

That price earns $24 of profit, and $24 / $84 is a 28.6% margin, not 40%. You applied a margin target as if it were a markup, so you divided by cost when you should have divided by price.

The correct move is to convert first. A 40% margin needs a markup of 40 / 60 = 66.7%, so the price is 60 x 1.667 = $100. Or skip the conversion and use the direct formula: price = cost / (1 - margin) = 60 / 0.60 = $100. That price earns $40 of profit, and $40 / $100 is exactly 40%.

Scale it up to see why it matters. Selling 1,000 units at $84 yields $24,000 of profit. Selling the same 1,000 units at $100 yields $40,000. The gap is $16,000 a year from one wrong word in a pricing formula, and it never shows up as an obvious error because every individual sale still looks profitable.

The mistake also runs the other way. If a retailer tells you they run a keystone markup of 100%, do not assume they keep 100 cents of every dollar. They keep 50 cents. Always ask which base the percentage uses before you compare numbers.

Quick reference: pricing a $50 cost at common margins

When you know the margin you need, the fastest route is price = cost / (1 - margin). Here is a $50 cost run through the most common targets, with the markup each one requires. Use it as a sanity check against your own price list.

The pattern to notice: every step up in margin demands a bigger and bigger jump in markup. Moving from a 40% margin to a 50% margin looks like ten points, but it requires a markup change from 66.7% to 100%. Prices in this table are before any sales tax, which is added on top at checkout.

  • 20% margin: price $62.50, profit $12.50, markup 25%.
  • 25% margin: price $66.67, profit $16.67, markup 33.3%.
  • 30% margin: price $71.43, profit $21.43, markup 42.9%.
  • 40% margin: price $83.33, profit $33.33, markup 66.7%.
  • 50% margin: price $100.00, profit $50.00, markup 100%.

Which one should you use, and when

Neither is more correct. They suit different jobs, so many businesses track both.

Markup is the natural tool for setting prices from cost. You know what an item or an hour of labor costs you, and you apply a consistent percentage on top. It is easy to apply the same markup across many products, and it is what many wholesalers and trades quote. The U.S. Small Business Administration describes cost-based pricing this way: work out your total cost per unit, multiply it by the markup percentage you choose, and add that amount back to get the price.

Margin is the natural tool for judging results. Because it is measured against sales, you can compare it across products, across months, and against what other companies in your industry report. Lenders, investors, and accountants usually talk in margins. If a number is going into a financial statement or a conversation about how healthy the business is, it should be a margin.

  • Setting a price from cost and a standard add-on: use markup.
  • Hitting a profit target expressed as a share of sales: start from margin, then convert (price = cost / (1 - margin)).
  • Comparing products or periods, or reporting to anyone outside the business: use margin.
  • Discounting: margin tells you the real cost of a sale. A 20% discount on an item with a 40% margin does not cut profit by 20%; at a $100 price and $60 cost, it takes profit from $40 to $20, a 50% drop, and the margin falls to 25%.

Edge cases and a note on accuracy

Define cost before you do anything else. Markup and margin are only as honest as the cost they sit on. If you leave out shipping in, payment processing fees, packaging, returns, or the labor to prepare an item, you will overstate both numbers. Decide whether you are working on direct cost alone (a gross figure) or all costs (a net figure), and stay consistent.

A markup applied to cost does not cover fixed overhead on its own. Whether a given markup is enough depends on how many units you sell, which is a break-even question. Pair this guide with the Break-Even Calculator to see how many units at your price are needed before the profit is real.

The formulas here describe a single sale at a single price. Real businesses have taxes, discounts, refunds, and overhead allocation that a quick calculation cannot see. Treat these figures as planning estimates, not accounting or tax advice, and confirm important numbers against your actual books.

Please note: This calculator provides estimates for general informational purposes only and is not financial advice. Actual rates, terms, taxes, and costs vary — consult a qualified financial professional before making financial decisions.

Frequently Asked Questions

What is the difference between markup and margin in one sentence?+

Markup is profit divided by cost, and margin is profit divided by selling price, so for the same sale margin is always the smaller percentage. A $60 item that sells for $100 has a 66.7% markup and a 40% margin.

How do I convert a margin percentage into a markup percentage?+

Use markup % = margin % / (100 - margin %) x 100. A 30% margin becomes 30 / 70 x 100 = 42.9% markup. To go the other way, use margin % = markup % / (100 + markup %) x 100, so a 50% markup becomes 50 / 150 x 100 = 33.3% margin.

If I want a 30% margin, what should I mark up my cost by?+

By 42.9%, not 30%. On a $70 cost, a 42.9% markup gives a price of about $100, and the $30 profit is exactly 30% of that price. A 30% markup on the same cost gives $91, which is only a 23.1% margin. The shortcut is price = cost / (1 - 0.30).

Is a 100% markup the same as a 100% margin?+

No. A 100% markup means you doubled the cost, which is a 50% margin. A 100% margin is impossible in practice because it would mean the item cost nothing. Margin always stays below 100% while markup can go above it, which is why the two numbers diverge more as prices climb.

Which should I put on a financial statement or loan application?+

Margin. Margin measures profit as a share of sales, which is what lenders, investors, and accountants expect. Markup is a pricing input, and quoting it where a margin is expected overstates how profitable the business looks.

Can I use the Markup Calculator if my target is a margin?+

Not directly, because it takes a markup percentage as the input. Convert your target margin to a markup first with markup % = margin % / (100 - margin %) x 100, then enter that number. The tool will confirm the margin it produces, which is a handy check that your conversion was right.

Skip the math

Enter your numbers and the Markup Calculator does the work for you — free, and it runs entirely in your browser.

Open the free Markup Calculator to price from cost