Free tool
Gross Margin Calculator
Put in your selling price and costs to see your gross margin, your markup, and what you really keep on each sale once VAT, platform fees, delivery and advertising come off.
Margin and markup side by side
Allows for VAT and platform fees
Free, no sign-up
In short
Gross margin is gross profit as a percentage of the net selling price: (net price minus cost of goods) divided by net price. For a VAT-registered seller, the net price is the selling price without VAT. This calculator also shows markup, which is gross profit as a percentage of cost, and the margin left after platform fees, delivery and advertising, so you can see what each sale actually earns.
Works with the platforms and software you already use
Trademarks belong to their owners. eCounts is independent and not endorsed by these platforms.
Your margins
Gross margin
0%
Markup
0%
- Net sale price
- £0.00
- Gross profit
- £0.00
- Fees, delivery and ads
- £0.00
- Profit per sale after costs
- £0.00
- Margin after costs
- 0%
Price needed for your target margin: £0.00
Gross margin compares the net sale price with cost of goods only. Margin after costs also takes off fees, delivery and advertising. An estimate for planning, not financial advice.
Get your real margins by productThe formula
How to calculate gross margin
Gross margin answers one question: of every pound you sell, how much is left after the cost of the product itself? The formula is:
Gross margin = (net selling price − cost of goods) ÷ net selling price × 100
The net selling price is what you keep from the sale before costs. If you are VAT-registered, that is the price without VAT: a £29.99 product at the 20% standard rate has a net price of £24.99. If you are not registered, it is the full price.
The cost of goods should be your landed cost per unit: the supplier price plus freight, insurance and import duty. Leaving out freight and duty is the most common reason margins look healthier than they are. Our import duty calculator works out landed cost per unit for a shipment.
Margin vs markup
Margin and markup are not the same
Margin is profit as a share of the price. Markup is profit as a share of the cost. Mixing them up is one of the easiest ways to under-price.
| Markup on cost | Gross margin | Example: cost £10, net price |
|---|---|---|
| 25% | 20.0% | £12.50 |
| 50% | 33.3% | £15.00 |
| 100% | 50.0% | £20.00 |
| 150% | 60.0% | £25.00 |
| 200% | 66.7% | £30.00 |
To turn a markup into a margin: margin = markup ÷ (1 + markup). A 100% markup is a 50% margin, not 100%.
Beyond gross margin
Why gross margin is not the whole story for online sellers
Gross margin only takes off the cost of the product. Online sellers pay a second layer of costs on every order: marketplace commission and payment fees, delivery and packaging, and the advertising it took to win the sale. A product with a 60% gross margin can still lose money once those are taken off.
That is why the calculator also shows your margin after costs: what is left from the net price once fees, delivery and advertising are paid. It is the number that tells you whether a product is worth selling, and the one to compare across channels.
For channel-specific fees, use the profit calculators on our Amazon, Shopify, eBay, Etsy and TikTok Shop pages, which have each platform's fees built in.
Top tips
Four ways to protect your margin
- 01
Use landed cost, not the supplier price
Freight, insurance and duty belong in cost of goods. A cost that rises with each shipment needs updating every time you reorder.
- 02
Check margin by product and by channel
The same product can earn very different margins on Amazon and on your own site. Average margins hide the products that lose money.
- 03
Price for VAT before you register
Once you are VAT-registered, a sixth of a VAT-inclusive price goes to HMRC. Plan prices before you cross the threshold, not after.
- 04
Set a minimum margin after costs
Decide the lowest margin after fees, delivery and ads you will accept, and use the target price in the calculator to test new products against it.
Want your real margin on every product?
We build margin by product and by channel from your reconciled sales and landed costs, every month.