Margin and Markup Calculator

Enter your cost and the margin you want to get the matching markup, selling price and profit.

Updated

Enter to calculate Esc to clear

Margin and Markup Calculator

Our Margin and Markup Calculator converts the margin you want into the markup and selling price that deliver it. Enter your cost and target margin to get the markup percentage, the selling price and the profit per sale. It suits shop owners, online sellers, wholesalers, freelancers pricing a quote and students learning how the two percentages relate.

Quick answer

Selling price is cost ÷ (1 − margin) and markup is margin ÷ (100 − margin) × 100. A cost of 1,150 at a 20% margin sells for 1,150 ÷ 0.80 = 1,437.50, a profit of 287.50 and a 25% markup.

  • Margin: profit as a share of the selling price.
  • Markup: profit as a share of the cost.
  • Margin to markup: 20% margin is 20 ÷ 80 = 25% markup.
  • Markup to margin: markup ÷ (100 + markup), so 50% is 33.33%.

Margin vs Markup

Both percentages describe the same profit, measured against different bases. Margin compares profit with the selling price; markup compares it with the cost. Because the cost is smaller than the price, markup is always the higher number for the same sale.

Price = cost ÷ (1 − m)
Profit = price − cost
Markup = profit ÷ cost
  × 100
  • m: the margin as a decimal, such as 0.20.
  • Profit: what you keep from each sale before overheads.

How to Turn a Margin Into a Price and Markup

Say a coffee table costs 250 and you want a 30% margin:

  1. Find the price. 250 ÷ (1 − 0.30) = 250 ÷ 0.70 ≈ 357.14.
  2. Find the profit. 357.14 − 250 = 107.14.
  3. Find the markup. 107.14 ÷ 250 × 100 ≈ 42.86%.
  4. Check the margin. 107.14 ÷ 357.14 is 30%.

Margin and Markup on One Bar

Price 1,437.50 (margin base) Cost 1,150 287.50 Cost (markup base) 20% of price 25% of cost
The same 287.50 profit is a 20% margin on the 1,437.50 price and a 25% markup on the 1,150 cost.

The bar is drawn to scale. The profit slice is the same in both readings; only the base you divide by changes.

Prices for a Cost of 400

MarginPriceMarkup
10%444.4411.11%
15%470.5917.65%
20%50025%
30%571.4342.86%
35%615.3853.85%
45%727.2781.82%
60%1,000150%
80%2,000400%

The Most Common Pricing Mistake

Adding the target margin to the cost as a markup undershoots. A 30% markup on a cost of 250 gives a price of 325 and a profit of 75, which is only 75 ÷ 325 ≈ 23.08% of the price. To earn a true 30% margin the price must be about 357.14.

Converting Markup Back to Margin

Divide the markup by 100 plus the markup: a 50% markup is 50 ÷ 150 ≈ 33.33% margin, and a 100% markup (doubling the cost) is a 50% margin. For a margin from a price and cost, use our Margin Calculator; to price from a markup, use the Markup Calculator.

Key Terms

Cost
What the item costs you.
Selling price
What the customer pays.
Margin
Profit ÷ price × 100.
Markup
Profit ÷ cost × 100.

How to Use the Margin and Markup Calculator

  1. Enter the cost. Type what the item costs you, such as 1150.
  2. Enter the target margin. Type the margin percentage, such as 20. The markup, selling price and profit appear as you type.

Example: a cost of 1,150 at a 20% margin sells for 1,150 ÷ 0.80 = 1,437.50, a profit of 287.50 and a markup of 25%.

Who Can Use This Calculator?

RetailersPrice stock for a margin
Online sellersSet listing prices
Service providersBuild quotes and rates
StudentsLearn margin vs markup

Frequently Asked Questions (FAQs)

What is the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of the cost. A sale with cost 1,150 and price 1,437.50 has a 20% margin and a 25% markup.

How do I convert margin to markup?

Divide the margin by 100 minus the margin and multiply by 100. A 30% margin is 30 ÷ 70 × 100 ≈ 42.86% markup.

How do I convert markup to margin?

Divide the markup by 100 plus the markup and multiply by 100. A 50% markup is about a 33.33% margin.

Why is markup always higher than margin?

Markup divides the profit by the cost, which is smaller than the selling price, so the same profit gives a bigger percentage.

How do I find a selling price from a target margin?

Divide the cost by one minus the margin as a decimal. A cost of 250 at a 30% margin sells for about 357.14.

Can the margin be 100% or more?

No. A 100% margin would need an infinitely high price, so the calculator accepts margins from 0 up to, but not including, 100%.

Does it work for services?

Yes. Use your cost of delivering the service, such as hours times your cost rate, and the margin you want.

Is the Margin and Markup Calculator free?

Yes. It is free to use, with no sign-up and no limit on how many times you use it.

Sources

Try our Margin and Markup Calculator to price any item for the margin you want.