Skip to content
Built in Lahore, PakistanHow we check the math
mathbehind

Profit Margin vs Markup: The Difference That Changes Your Prices

Margin divides profit by the price. Markup divides it by the cost. Mix them up and a 50% target quietly becomes 33%.

By Muhammad Ahmad, Software EngineerLinkedIn· figures checked

Published , updated . 4 min read.

Want to run your own numbers?Profit Margin vs Markup CalculatorOpen the calculator

Margin and markup both describe profit as a percentage, and both start from the same two numbers: what something costs you and what you sell it for. They answer different questions, and confusing them is one of the most common pricing mistakes small businesses make.

The two formulas

  • Profit = selling price − cost
  • Margin = profit ÷ selling price
  • Markup = profit ÷ cost

Margin tells you what share of each sale you keep. Markup tells you how much you added on top of your cost. For the same sale, markup is always the bigger percentage, because cost is always smaller than price.

An item that costs $60 and sells for $100
  1. Profit

    $100.00 − $60.00equals$40.00

  2. Margin

    $40.00 ÷ $100.00equals40%

  3. Markup

    $40.00 ÷ $60.00equals66.67%

Where the mistake happens

Say you want a 50% margin. The tempting move is to add 50% to the cost. On a $60 item, that gives a price of $90. The profit is $30, and $30 ÷ $90 is a 33.33% margin, not 50%.

To actually reach a margin, divide the cost by one minus the margin. For 50%, that is $60 ÷ 0.5, or $120. For a 40% margin, it is $60 ÷ 0.6, or $100.

Pricing for a 50% margin
  1. Wrong: add 50% to cost

    $60.00 × 1.5equals$90.00 (33.33% margin)

  2. Right: divide by (1 − margin)

    $60.00 ÷ (1 − 50%)equals$120.00

Quick conversions

These pairs describe exactly the same sale:

  • 25% markup is a 20% margin
  • 50% markup is a 33.33% margin
  • 66.67% markup is a 40% margin
  • 100% markup is a 50% margin

The general formulas are: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).

Which one should you use?

Retail and wholesale often talk in markup, because it starts from the cost of stock. Accounts, investors and most business reports use margin, because it shows how much of your revenue turns into profit. Either is fine inside your own pricing, as long as everyone involved knows which one a target refers to.

The conversion formulas

  • Markup to margin: margin = markup ÷ (1 + markup). A 25% markup is a 20% margin; a 50% markup is a 33.3% margin; a 100% markup is a 50% margin.
  • Margin to markup: markup = margin ÷ (1 − margin). A 20% margin needs a 25% markup; a 40% margin needs a 66.7% markup; a 50% margin needs a 100% markup.

Notice that margin can never reach 100%, because that would mean the cost was zero, while markup has no upper limit.

Pricing for a target margin

If you know the margin you need, divide the cost by (1 − margin). To earn a 40% margin on an item that costs $60, the price is $60 ÷ 0.6 = $100. Adding 40% to the cost gives $84, which is only a 28.6% margin. That single mistake, applying the margin percentage as a markup, is one of the most common ways small businesses underprice.

Discounts eat margin faster than you expect

A discount comes straight out of the margin. On a product with a 40% margin, a 20% discount does not leave you with 20%: the price drops from $100 to $80 while the cost stays $60, so the margin falls to $20 ÷ $80 = 25%, and the profit per sale halves from $40 to $20. To earn the same total profit, you would need to sell twice as many units. Always check a promotion against its effect on profit per sale, not just revenue.

Price needed for each margin (cost of $60)

  • 20% margin: $75 (a 25% markup).
  • 30% margin: $85.71 (a 42.9% markup).
  • 40% margin: $100 (a 66.7% markup).
  • 50% margin: $120 (a 100% markup, often called keystone pricing in retail).
  • 60% margin: $150 (a 150% markup).

The higher the margin you want, the faster the required markup climbs. Going from a 50% to a 60% margin needs a 25% higher price.

Include every cost

A margin is only as accurate as the cost behind it. For products, include shipping in and out, packaging, payment fees and an allowance for returns. For services, include the software and subcontractors used on each job. A 40% margin calculated on the purchase price alone can easily be 30% once these are added.

Tip: Margin can never reach 100%, because that would mean the item cost nothing. If a target margin looks impossible, check whether someone actually meant markup.

Questions people ask

What markup gives a 30% margin?
About 42.9%. Use markup = margin ÷ (1 − margin): 0.30 ÷ 0.70 = 0.429. On a $60 cost, that is a price of $85.71.
What is keystone pricing?
Doubling the cost to set the price: a 100% markup, which gives a 50% margin. A $60 item sells for $120.
Why does my margin fall more than the discount?
Because the discount comes entirely out of profit while the cost stays the same. A 20% discount on a 40% margin product halves the profit per sale.
What is the difference between margin and markup?
Margin is profit ÷ selling price; markup is profit ÷ cost. For the same sale, markup is always the larger percentage.
How do I price for a target margin?
Divide the cost by one minus the margin. For a 50% margin on a $60 item, $60 ÷ 0.5 = $120, not $90.
What margin is a 100% markup?
50%. The formula is margin = markup ÷ (1 + markup).
How do I price for a 40% margin?
Divide the cost by 0.6. A $60 cost needs a $100 price for a 40% margin. Adding 40% to cost gives $84, which is only a 28.6% margin.