← All posts
2 min readBy

Profit Margin vs Markup: Formulas, Examples and a Free Calculator

The difference between profit margin and markup, how to price a product for a target margin, and worked examples. Includes a free calculator.

Profit Margin vs Markup: Formulas, Examples and a Free Calculator

Quick answer: margin = profit / selling price and markup = profit / cost. If you buy for 80 and sell for 100, the profit is 20: the margin is 20% and the markup is 25%. Use the Profit Margin Calculator to work it out for your own numbers.

The formulas

  • Profit = selling price - cost
  • Profit margin (%) = profit / selling price x 100
  • Markup (%) = profit / cost x 100

Margin is always lower than markup, and it can never reach 100%. Markup can be any number.

Find the price for a target margin

Price = cost / (1 - margin)

Cost 800 with a 30% margin: 800 / 0.70 = 1,142.86. The profit is 342.86, which is 30% of the price.

Find the price for a target markup

Price = cost x (1 + markup)

Cost 800 with a 50% markup: 800 x 1.5 = 1,200. The profit is 400, which is a 33.3% margin.

Common mistake

Adding the margin percentage to the cost. A 30% markup on 800 gives 1,040, but that is only a 23% margin. If you want a true 30% margin, use the margin formula above.

Step by step with the calculator

  1. Open the Profit Margin Calculator.
  2. Choose what you know: cost and price, cost and margin, cost and markup, or price and margin.
  3. Enter the two numbers.
  4. Read the cost, price, profit, margin and markup, and copy the summary.

Before you set a price

  • Add every cost: purchase, delivery, packaging, payment fees and your time.
  • Check what customers pay elsewhere.
  • Test your numbers on a few products, not just one.

Related: Percentage, EMI and BMI formulas explained and the Discount Calculator. To bill a customer, use the Invoice Generator.