Margin and markup calculator

See the difference between margin on the selling price and markup on cost. Use your current figures or calculate a selling price to reach a percentage.

Free, no account. The calculation stays on your device.

Calculation inputs

Include relevant costs per unit, such as the purchase price and packaging.

How to calculate

  1. Choose whether to check your current selling price or work out a target price.
  2. Enter your unit cost and either the current price or your target percentage.
  3. Read both percentages. They apply to different amounts.

Worked example

If a product costs €40 and sells for €60, the difference is €20. Margin is 20 ÷ 60 ≈ 33.33%. Markup is 20 ÷ 40 = 50%.

Is a 20% profit margin the same as a 20% markup?

With tax left out, buying for 80 and selling for 100 leaves 20 per unit. That is 20% of the selling price and 25% of the cost. Use the break-even calculator to work out how many sales will cover fixed costs.

Frequently asked questions

What is the difference between margin and markup?

Margin divides the difference between price and cost by the selling price. Markup divides the same difference by cost. Markup cannot be calculated at zero cost.

How do I set a price for a target margin?

Divide cost by 1 minus the margin as a decimal. For a €40 cost and a 30% target margin, €40 ÷ 0.70 gives a minimum of €57.15 after rounding up to the next cent.

Does this show net profit?

The difference reflects the selling price and cost you enter. Use a consistent basis for both and include relevant per-unit expenses in the unit cost.

Sources and references

Related calculators