"Margin" is one of the most used and most misunderstood words in business. Two numbers matter most: gross margin, which tells you whether your product or service is priced well, and net margin, which tells you whether the business as a whole makes money.
The formulas
Gross profit = revenue − cost of sales Gross margin = gross profit ÷ revenue × 100
Net profit = revenue − all costs (cost of sales, overheads, interest, tax) Net margin = net profit ÷ revenue × 100
You can work both out quickly with our free profit margin calculator.
What goes where
| Cost | Cost of sales (gross) | Overheads (net) |
|---|---|---|
| Products or materials you sell | ✓ | |
| Direct labour on jobs | ✓ | |
| Shipping to customers (often) | ✓ | |
| Payment and marketplace fees (often) | ✓ | |
| Rent and utilities | ✓ | |
| Office staff and admin salaries | ✓ | |
| Marketing and advertising | ✓ | |
| Software subscriptions | ✓ | |
| Insurance, accountancy | ✓ | |
| Loan interest | ✓ | |
| Corporation tax | ✓ (for after-tax net margin) |
The split depends on your business; be consistent so you can compare periods. Your chart of accounts should separate cost of sales from overheads.
A worked example
An online homeware shop for the year:
| Amount | |
|---|---|
| Revenue | £200,000 |
| Cost of sales (stock, packaging, shipping, payment fees) | £110,000 |
| Gross profit | £90,000 |
| Gross margin | 45% |
| Overheads (rent, staff, software, ads, accountancy) | £72,000 |
| Net profit before tax | £18,000 |
| Net margin (before tax) | 9% |
A 45% gross margin looks healthy, but after overheads only 9p of each pound is profit. That's why you need both numbers. They come straight from your profit and loss statement.
Margin vs markup
| Cost | Price | Profit | Markup (profit ÷ cost) | Margin (profit ÷ price) |
|---|---|---|---|---|
| £20 | £30 | £10 | 50% | 33.3% |
| £20 | £40 | £20 | 100% | 50% |
| £20 | £25 | £5 | 25% | 20% |
Confusing the two is a classic pricing mistake: adding a 30% markup gives only a 23% margin. Read how to price products online.
How to improve gross margin
- Raise prices where your value supports it.
- Negotiate supplier costs or order in larger quantities.
- Reduce waste, returns and damage. See reducing e-commerce returns.
- Shift the product mix towards higher-margin items.
- Cut fulfilment costs with better packaging or carrier rates.
- Reduce discounting, which often eats margin more than expected.
Zelvorm Price Lab finds the price that maximises profit from your own sales and costs.
How to improve net margin
- Everything that improves gross margin.
- Review overheads line by line: unused software, overlapping tools, expensive contracts.
- Make marketing accountable: cut channels that don't produce profitable customers. See ad creative testing.
- Automate repetitive admin. Read AI automation ROI.
- Grow revenue faster than overheads: fixed costs spread over more sales.
Track margins monthly
Look at gross and net margin every month alongside revenue:
- Falling gross margin: costs rising, too much discounting or a shift to lower-margin products.
- Steady gross margin but falling net margin: overheads growing faster than sales.
- Rising revenue with falling net margin: growth that isn't profitable.
Margins and cash are different
A profitable business can still run short of cash if customers pay slowly or stock ties up money. Watch cash separately with a cash flow forecast and an aging report.
Worked example: adding five points of net margin
Take the homeware shop above (£200,000 revenue, 45% gross margin, 9% net margin). Four modest changes:
| Change | Effect on profit |
|---|---|
| Raise prices 4% on the top 20 products (about half of revenue), losing very few sales | About +£4,000 |
| Negotiate 5% off packaging and a better courier rate | About +£2,500 |
| Cut two overlapping software subscriptions and one underperforming ad campaign | About +£3,000 |
| Reduce returns by improving size guides and photos | About +£1,000 |
| Total | About +£10,500 |
Net profit rises from £18,000 to about £28,500, and net margin from 9% to roughly 14%, without a single extra sale. That's why margin work often beats chasing more revenue. (Figures are illustrative; run your own numbers.)
Margin mistakes to avoid
- Putting all costs in overheads, which makes gross margin look better than it is and hides unprofitable products.
- Looking only at the average. Calculate gross margin per product or service; some will be far below the rest.
- Ignoring discounts and returns when calculating revenue.
- Comparing with the wrong benchmark. A software company's margins say nothing about a café's.
- Forgetting your own pay. If the owner takes no salary, net margin is overstated.
The short version
Gross margin (revenue minus cost of sales, as a percentage) shows whether your pricing and direct costs work. Net margin (after all costs) shows whether the business is truly profitable. Keep cost of sales and overheads separate, don't confuse margin with markup and track both monthly.
Zelvorm Books builds your profit and loss automatically from your invoices and bills, so both margins are always up to date. It's free.




