Guide

Markup vs. Margin: The Difference, Formulas and a Conversion Table

By PDF Invoice Pro · Published

Markup vs margin guide cover with an example retail invoice

The short answer

Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. An item that costs $100 and sells for $150 has a 50% markup but a 33.3% margin. Same $50 profit, divided by a different number, so markup is always the larger figure.

The difference in one example

Markup and margin both describe the same profit: the gap between what something costs you and what you sell it for. They differ only in what that profit is divided by. Markup compares it to your cost, while margin compares it to the selling price.

One sale, two percentages
AmountWhat it means
Cost$100What the item or job costs you
Selling price$150What the customer pays
Profit$50Price minus cost
Markup50%$50 profit ÷ $100 cost
Margin33.3%$50 profit ÷ $150 price

Because the price is always larger than the cost (when you make a profit), the margin is always smaller than the markup on the same sale.

Markup and margin formulas

  • Markup = (price − cost) ÷ cost × 100
  • Margin = (price − cost) ÷ price × 100
  • Price from a markup = cost × (1 + markup). A $100 cost with a 40% markup sells for $140.
  • Price from a target margin = cost ÷ (1 − margin). A $100 cost at a 40% margin sells for $166.67.
  • Markup to margin = markup ÷ (1 + markup). A 50% markup is 0.5 ÷ 1.5 = 33.3% margin.
  • Margin to markup = margin ÷ (1 − margin). A 30% margin is 0.3 ÷ 0.7 = 42.9% markup.

These are gross figures: they only count the direct cost of the item or job. Rent, software and your own salary come out later, in net margin (Corporate Finance Institute). To skip the arithmetic, the profit margin and markup calculator shows both side by side from any cost and price.

Markup to margin conversion table

Markup to margin conversion
MarkupMarginPrice on a $100 cost
10%9.1%$110.00
20%16.7%$120.00
25%20.0%$125.00
30%23.1%$130.00
40%28.6%$140.00
50%33.3%$150.00
60%37.5%$160.00
75%42.9%$175.00
100%50.0%$200.00
200%66.7%$300.00

Doubling your cost, a 100% markup, gives a 50% margin. Markup can go as high as you like, but margin can never reach 100%, because that would mean the item cost you nothing.

Margin to markup conversion table

Working the other way, start from the margin you want to keep and find the markup to add to cost:

Margin to markup conversion
Target marginMarkup neededPrice on a $100 cost
10%11.1%$111.11
20%25.0%$125.00
25%33.3%$133.33
30%42.9%$142.86
40%66.7%$166.67
50%100.0%$200.00
60%150.0%$250.00

The mistake that quietly costs you profit

The most common pricing error is adding your target margin to cost as if it were a markup. Say a job costs you $700 and you want a 30% margin:

Adding 30% to cost vs pricing for a 30% margin
Add 30% to costPrice for a 30% margin
Price$910$1,000
Profit$210$300
Margin you actually keep23.1%30.0%

Divide, don’t multiply. To hit a target margin, divide the cost by (1 − margin): $700 ÷ 0.7 = $1,000. Adding 30% to cost leaves you $90 short on every $700 job, and the gap grows as the target margin rises.

When to use markup and when to use margin

  • Use markup to set prices. When you quote a job or price a product, you start from the cost, so "cost plus 40%" is the natural calculation. It’s how contractors price materials and how retailers price stock.
  • Use margin to judge profitability. Margin tells you how much of every sale you keep, so it’s the number to compare across products, against last year, or against industry benchmarks (Harvard Business School Online).
  • Say which one you mean. "We work on 30%" means very different prices depending on whether it is markup or margin. Write "30% markup on cost" or "30% gross margin" in quotes, contracts and price lists.

Why discounts hit margin harder than you expect

A discount comes straight off your profit, not off your cost. On the $1,000 job above (cost $700), a 10% discount drops the price to $900, but profit falls from $300 to $200. That’s a third of your profit gone, and your margin drops from 30% to 22.2%.

Before agreeing to a discount, check what margin is left. The break-even calculator shows how a lower price changes the number of sales you need just to cover your costs.

Markup on invoices and quotes

You don’t normally have to show your markup on an invoice. The customer sees the price, not your cost. The exception is cost-plus work, where the contract says you bill your costs plus an agreed percentage. Then the invoice should show the cost and the markup on separate lines so the customer can check both.

For materials you buy on a customer’s behalf, say on the line whether it is "at cost" or includes a handling markup. Make your next invoice in the free invoice generator, which works out line totals, discounts and tax and needs no sign-up.

Frequently asked questions

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

No. A 50% markup on a $100 cost gives a $150 price and a 33.3% margin. A 50% margin needs a $200 price, which is a 100% markup.

How do I convert markup to margin?

Divide the markup by one plus the markup: margin = markup ÷ (1 + markup). A 25% markup is 0.25 ÷ 1.25 = 20% margin. To go the other way, margin ÷ (1 − margin) gives the markup.

How do I set a price for a target margin?

Divide your cost by one minus the target margin. For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100. Don’t add 40% to the cost, because that gives $84 and only a 28.6% margin.

Can a profit margin be more than 100%?

No. Margin is profit divided by price, and profit can never exceed the price unless the cost is negative. Markup has no upper limit: selling a $10 item for $50 is a 400% markup, but an 80% margin.

What is a good profit margin?

It depends heavily on the industry. Software and services often run high gross margins, while grocery and fuel run thin ones. Compare your margin with businesses like yours, and track it over time, rather than chasing a single number.

Do I show my markup on an invoice?

Usually not: the customer sees the price. On cost-plus contracts, where the agreed price is your cost plus a set percentage, show the cost and the markup on separate lines so the customer can verify them.

Make your invoice now

Free invoice generator: no sign-up, no watermark. Add your logo and tax, then download a PDF.

Open the invoice generator

Keep going

Sources

General information, not legal, tax or financial advice. Rules differ by country.