How do you work out the price for a given margin?
Divide your total cost per unit by 1 minus the margin you want. Margin is measured on the price excluding tax, so adding that percentage to your cost isn’t enough.
Total cost = product + shipping + payment fee + packaging
Price excl. tax = total cost ÷ (1 − margin)
Price incl. tax = price excl. tax × (1 + tax rate)
Margin = (price excl. tax − total cost) ÷ price excl. tax
Markup = (price excl. tax − total cost) ÷ total cost
With the calculator’s example, 20 + 5 + 1.50 + 1 = 27.50, and 27.50 ÷ (1 − 0.40) = 45.83 before tax. Each unit leaves 18.33: 40% of the price and 66.7% on cost.
What’s the difference between margin and markup?
Margin is profit divided by price; markup is profit divided by cost. For the same product, markup always comes out higher, and mixing them up leads to prices lower than you think: adding 40% to your cost gives a 28.6% margin, not 40%.
| Markup | Margin |
|---|---|
| 25% | 20% |
| 50% | 33.3% |
| 66.7% | 40% |
| 100% | 50% |
Why calculate without sales tax or VAT?
Because the tax you collect isn’t yours: you pass it on to the tax authority. Measure margin on the price including tax and it looks higher than it is. With 21% VAT, for example, the 55.46 price seems to leave over 50% on 27.50 of cost, but the real margin is 40%. If you’re unsure how tax applies to your products, check with your accountant.
Which costs should I include?
The ones that come with each unit sold: product, shipping you don’t charge the customer, payment fee and packaging. If you have returns, add their average per unit to packaging or product cost. Fixed costs such as salaries or rent stay out; your margin pays for them.
What do I do with the margin?
Use it to see how much your ads can carry with the break-even ROAS calculator and how far you can discount with the discount margin calculator. How margin and ad spend connect is explained in “Break-even ROAS formula, with and without discounts”.