Free online calculator

Markup Calculator

Build a selling price from cost and markup, recover markup from a known price, or convert between markup and margin. Select the mode before interpreting the percentages.

Selling price from cost and markupEnter cost and markup percentage.
Selling price125
Profit25
Profit margin20%

Calculation steps

Profit = Cost × Markup % ÷ 100

100 × 25 ÷ 100 = 25

Selling price = Cost + Profit

100 + 25 = 125

Margin = Profit ÷ Selling price × 100

25 ÷ 125 × 100 = 20%

Markup and margin use different baselines

Markup compares profit with cost. Margin compares profit with selling price. A 25% markup on a cost of 100 gives a selling price of 125 and a profit margin of 20%.

Markup formulas

  • Markup % = (price − cost) ÷ cost × 100.
  • Price = cost × (1 + markup %).
  • Margin = markup ÷ (1 + markup): a 100% markup is a 50% margin.
  • Retailers often quote margin; suppliers often quote markup. Check which one is meant.

How to use the Markup Calculator

  1. In Cost + Markup mode, profit equals cost × markup ÷ 100.
  2. Selling price then equals cost plus profit.
  3. The equivalent margin equals profit ÷ selling price × 100.
  4. In Cost + Selling Price mode, profit equals selling price minus cost.
  5. Markup equals profit ÷ cost × 100.
  6. Margin equals profit ÷ selling price × 100.
  7. Markup to Margin uses margin = markup ÷ (100 + markup) × 100.
  8. Margin to Markup uses markup = margin ÷ (100 − margin) × 100.
  9. A margin of 100% or more cannot be converted with that formula because its denominator becomes zero or negative.
  10. If a cost denominator is zero, a cost-based markup percentage is undefined.
  11. The tool shows the formulas and intermediate arithmetic for the selected mode.

Translate markup into selling-price margin

Markup is a percentage of cost; margin is a percentage of selling price. Zero cost makes a recovered markup undefined. A 100% target margin cannot be converted to an ordinary finite positive-cost markup.

Examples

25% markup on cost 100

Profit = 100 × 25% = 25. Selling price = 125. Equivalent profit margin = 25 ÷ 125 × 100 = 20%.

Cost 80 and selling price 100

Profit = 20. Markup = 20 ÷ 80 × 100 = 25%, while margin = 20 ÷ 100 × 100 = 20%.

50% markup to margin

Margin = 50 ÷ (100 + 50) × 100 = 33.33%.

20% margin to markup

Markup = 20 ÷ (100 − 20) × 100 = 25%.

100% markup

A 100% markup doubles cost. Cost 50 gives profit 50 and selling price 100, which corresponds to a 50% margin.

Why the percentages differ

Markup uses cost as its baseline while margin uses selling price, so a 25% markup is not a 25% margin.

Check the result in context

Conversion check: 50% markup corresponds to 50/150 × 100 ≈ 33.333333% margin. Converting a 20% margin gives 20/80 × 100 = 25% markup.

Markup to margin, and price on a $50 cost

MarkupEquivalent marginPrice at $50 cost
10%9.09%$55.00
20%16.67%$60.00
25%20.00%$62.50
30%23.08%$65.00
40%28.57%$70.00
50%33.33%$75.00
75%42.86%$87.50
100%50.00%$100.00
150%60.00%$125.00
200%66.67%$150.00

Frequently asked questions

What is the markup formula?

Markup equals profit divided by cost, multiplied by 100.

How do I calculate selling price from markup?

Calculate profit as cost × markup ÷ 100, then add that profit to cost.

What is the difference between markup and margin?

Markup compares profit with cost. Margin compares profit with selling price.

How do I convert markup to margin?

Margin = markup ÷ (100 + markup) × 100.

How do I convert margin to markup?

Markup = margin ÷ (100 − margin) × 100.

Why can a 100% markup equal only a 50% margin?

With cost 50 and selling price 100, profit is 50. Profit is 100% of cost but only 50% of selling price.

Can margin be converted when it is 100%?

No. The margin-to-markup formula would divide by zero.

Why does adding 25% to cost not give 25% margin?

On cost 80, a 25% markup adds 20 for a price of 100. Profit is 20/100 = 20% of revenue. A 25% margin would require price 80/0.75 ≈ 106.67.

Related tools

More math tools