Skip to content
CentHaven

Margin vs Markup Calculator

See your margin and markup side by side, find a selling price from either one, or convert between them.

What do you want to do?

What one item or job costs you. Example value — use your own numbers.

What the customer pays. Must be above 0. Example value.

This margin vs markup calculator shows the profit on a sale both ways at once: as a share of the price (margin) and as a share of the cost (markup). Enter a cost and a selling price to see both, enter a cost and a target margin or markup to find a price, or convert one percentage into the other.

How to use the calculator

  1. Pick a mode. Cost and price shows margin and markup for a price you already charge. Find a price works out the price you need. Convert % turns a margin into a markup, or the other way round.
  2. Choose your currency and enter your cost: what one item or job costs you. The starting values are examples only.
  3. Enter a selling price, or choose whether to price from a margin or a markup and enter the percentage.

The result shows margin, markup and the profit on each sale. A bar under the calculator shows how the price splits into cost and profit.

Margin vs markup: the formulas

profit = price − cost
margin = profit ÷ price
markup = profit ÷ cost

price from a margin = cost ÷ (1 − margin)
price from a markup = cost × (1 + markup)

markup from a margin = margin ÷ (1 − margin)
margin from a markup = markup ÷ (1 + markup)

Work with decimals in the formulas: 40% is 0.40.

Worked examples

1. One product, two percentages

A shop buys an item for $60 and sells it for $100.

  • Profit per sale: $40.00
  • Margin: 40% (40 ÷ 100)
  • Markup: 66.67% (40 ÷ 60)

What this means: the same $40 looks bigger as a markup, because the cost is a smaller number than the price.

2. Pricing from a markup

A maker's product costs $50, and they add a 50% markup.

  • Selling price: $75.00
  • Profit per sale: $25.00
  • Margin: 33.33%

3. Selling price from margin, in rupees

A seller's item costs ₹800, and they want a 20% margin.

  • Selling price: ₹1,000.00 (800 ÷ 0.80)
  • Profit per sale: ₹200.00
  • Markup: 25%

What this means: adding 20% to the cost would give only ₹960. To keep 20% of the price as profit, the price has to be ₹1,000.

4. Same 50%, different meaning

A 50% markup on a $50 cost gives a $75 price, which is a 33.33% margin. A 50% margin on the same cost needs a $100 price, which is a 100% markup. Saying "we make 50%" can mean either, so it pays to say which one you mean.

Markup to margin calculator: quick conversions

Switch to Convert % to change one into the other without any money:

  • A 25% margin = a 33.33% markup
  • A 25% markup = a 20% margin
  • A 50% margin = a 100% markup

Margin is always below 100%. Markup can be any size: a 200% markup means the price is three times the cost.

Margin to markup calculator: when it matters

Most accounts and reports show margin, because they look at profit as a share of sales. Many people set prices with markup, because they start from what something costs. When a supplier, a sales team and an accountant use different ones, a target of 40% can mean very different prices. Converting first keeps everyone on the same number.

If you sell below cost, both numbers turn negative. A $120 cost and a $100 price is a −20% margin and a −16.67% markup, and the calculator warns you.

Tips

  • Agree which one you mean. Write "margin" or "markup" next to every percentage in price lists and plans.
  • Check margin after fees and discounts. Card fees and discounts come out of the price. The payment processing fee calculator shows what a sale costs you in fees.
  • Cover your fixed costs. A good margin on each sale still needs enough sales. The break even calculator shows how many.
  • Use your margin for ad targets. Break-even ROAS is 1 ÷ margin, so a 40% margin needs 2.5x. The ROAS calculator does the rest.

Frequently asked questions

What is the difference between margin and markup?

Both describe the same profit, measured against different numbers. Margin is profit as a share of the selling price. Markup is profit as a share of the cost. An item that costs $60 and sells for $100 makes $40 profit: that is a 40% margin, because 40 is 40% of 100, and a 66.67% markup, because 40 is 66.67% of 60.

How do I convert markup to margin?

Divide the markup by one plus the markup, using decimals. A 25% markup is 0.25, so the margin is 0.25 ÷ 1.25 = 0.20, or 20%. A 50% markup becomes 0.5 ÷ 1.5, which is a 33.33% margin. Margin is always the smaller of the two numbers whenever there is a profit, because the price is bigger than the cost.

How do I convert margin to markup?

Divide the margin by one minus the margin, using decimals. A 25% margin is 0.25, so the markup is 0.25 ÷ 0.75 = 0.3333, or 33.33%. A 50% margin needs a 100% markup, which means doubling the cost. Choose Convert % in the calculator and enter either number to see the matching one straight away.

How do I set a price from a margin?

Divide your cost by one minus the margin you want. For an item that costs ₹800 and a 20% margin, the price is 800 ÷ 0.80 = ₹1,000, leaving ₹200 of profit. Adding 20% to the cost would only give ₹960, which is a 16.67% margin, so pricing from a margin needs this division rather than a simple add-on.

Why can margin never be 100% or more?

Margin is profit divided by the price, and profit is the price minus the cost. Profit can only equal the whole price if the cost is zero. Any real cost keeps the margin below 100%, and pricing for a 100% margin would need an infinitely high price. Markup has no such limit: a 300% markup simply means a price four times the cost.

Which should I use for pricing?

Use whichever one your team and your reports already use, and say which it is. Markup is handy when you start from a cost and add to it. Margin is handy when you look at profit as a share of sales, as most accounts do. Problems start when one person means margin and another means markup, so a 40% target can mean very different prices.

Do payment fees change my margin?

Yes. Card and payment fees come out of the price your customer pays, so they reduce the profit you keep on each sale. If you include them in your cost, your real margin is lower than the one worked out from the product cost alone. The payment processing fee calculator shows what a sale costs you in fees, using the rates you enter.

Sources

This calculator uses only the numbers you enter. It does not rely on any external fees, tax rates or limits.

Built and checked by the CentHaven team

Every formula is tested against worked examples before it goes live. How we build our calculators.

Spotted an error? Report a mistake or email info@centhaven.com.

Disclaimer: For estimates only. Not financial, tax or legal advice. Check with a qualified professional.