How to use the calculator
Pick what you already know. If you have a cost and a price, choose 'Cost and selling price' to see how profitable that item is. If you are setting a price, choose a target margin or a target markup and the calculator works out the price that achieves it.
Cost should be everything it takes to get one unit ready to sell: purchase price, materials, packaging and inbound shipping if you count it. Leave out sales tax or VAT, since that is collected for the government and is not your revenue.
Margin vs markup: the formulas
Profit is selling price minus cost. Gross margin is profit divided by the selling price, times 100. Markup is profit divided by the cost, times 100. They use the same profit but a different base, which is why markup is always the bigger number when you make a profit.
To hit a target margin, price = cost ÷ (1 − margin ÷ 100). To hit a target markup, price = cost × (1 + markup ÷ 100). A margin of 100% is impossible, because it would mean the item cost nothing.
Worked example
You buy a jacket for $60 and sell it for $100. Profit is $40. Margin is 40 ÷ 100 = 40%. Markup is 40 ÷ 60 = 66.67%.
Now suppose you want a 25% margin on that same $60 jacket. Price = 60 ÷ 0.75 = $80. Profit is $20, which is 25% of the price and 33.33% of the cost. With a 50% markup on a $50 item instead, price = 50 × 1.5 = $75, giving a 33.33% margin.
Practical tips
A common pricing mistake is adding 'a 30% margin' by multiplying cost by 1.3. That is a 30% markup, which only gives a 23.08% margin. Use the margin mode when your target is a margin.
Gross margin ignores rent, wages, advertising, card fees and returns. Those overheads must come out of your gross profit, so a healthy gross margin needs to be well above zero. Results are rounded to the cent and to two decimal places of a percent.
Frequently asked questions
What is the difference between margin and markup?
Both use profit (price minus cost). Margin divides profit by the selling price; markup divides it by the cost. An item costing $60 and selling for $100 has a 40% margin and a 66.67% markup.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup), using decimals. A 50% markup is 0.5 ÷ 1.5 = 33.33% margin. The reverse is markup = margin ÷ (1 − margin), so a 40% margin is a 66.67% markup.
Can markup be more than 100%?
Yes. A 100% markup means you sell at double the cost, and markups of 200% or more are common for low-cost goods. Margin, however, can never reach 100%.
Why is my margin negative?
A negative margin means the selling price is below your cost, so you lose money on each sale. Raise the price or lower the cost to get back above zero.