Beta

Compdex is new: mistakes will happen. Tell us.

Report a problemSuggest a feature or give feedback
Skip to main content

Gross margin: what it means

Gross margin is the share of each pound of sales left after paying the direct cost of what was sold: gross profit written as a percentage of turnover. A 40% gross margin means 40p of every £1 taken remains to pay overheads and leave a profit.

Financial ratiosLast checked 2 Dec 2026

The formula

Gross margin = (turnover − cost of sales) ÷ turnover × 100

A worked example

Example Software Ltd (an invented company) sells a plan at £39 a month, and it costs £9 a month to serve one customer in hosting, data and support (invented figures).

  • Gross profit per customer: £39 − £9 = £30
  • Gross margin: 30 ÷ 39 = 77%

The same sum works on a year's accounts. Turnover of £480,000 and cost of sales of £110,000 give gross profit of £370,000, and 370,000 ÷ 480,000 is again 77%.

Margin is not markup

Margin measures profit against the selling price. Markup measures it against the cost.

SumResult
Margin£30 ÷ £39 selling price77%
Markup£30 ÷ £9 cost333%

The classic mistake runs the other way. A shop owner wants a 50% margin, so adds 50% to cost. Something bought for £10 goes on sale at £15. The profit is £5, and £5 ÷ £15 is a 33% margin. To make 50% they needed to charge £20.

Markup on costMargin on price
25%20%
50%33%
100%50%
200%67%
300%75%

Margin can never reach 100%, because that would mean the goods cost nothing. Markup has no ceiling.

Pricing for a target margin

Price = cost ÷ (1 − target margin)

For a 60% margin on something that costs £8: 8 ÷ 0.4 = £20. The profit margin calculator does this, and the reverse.

Why the trend matters more than the level

The level of gross margin mostly tells you what trade a company is in. A wholesaler may run on a thin margin and a software firm on a very high one. Neither is better.

The change tells you about the business. A gross margin slipping from 42% to 38% to 35% over three years means the company is paying more for what it sells, or charging less, and hasn't fixed either. Overheads don't shrink to match, so a few points of margin can take most of the profit.

A company with £1 million of turnover, a 40% gross margin and £350,000 of overheads makes £50,000. Drop the margin to 37% and it makes £20,000. Three points of margin, 60% of the profit (invented figures).

Limits of the figure

  • Companies define cost of sales differently. One includes delivery staff; another treats them as overheads. Compare a company with its own past before comparing it with a rival.
  • It ignores overheads. A high gross margin with a costly head office can still be a loss-making business.
  • Most small companies don't publish it. Gross margin needs turnover and cost of sales from the profit and loss account. Most small companies file filleted accounts, which leave out the profit and loss account, so there is no turnover or profit on the public record. A plan to make small and micro companies file one from April 2028 was paused in October 2026, so that gap stays for now. Solvi & Heirs Ltd, for example, files filleted accounts, so its gross margin can't be worked out from the record.

Related on Compdex: Peers & sector · Benchmark against competitors

Common questions

What is a good gross margin?

It depends on the industry. Compare with businesses in the same trade, and with the company's own earlier years.

Is gross margin the same as gross profit?

Gross profit is in pounds. Gross margin is the same thing as a percentage of turnover.

What is the difference between gross margin and net margin?

Gross margin is before overheads, interest and tax. Net margin is after all of them.

Sources

  1. Companies House: update to accounts filing from April 2028 (23 Oct 2026), checked 2 Dec 2026
  2. GOV.UK: Accounts for micro-entities, small and dormant companies, checked 2 Dec 2026

Last checked 2 Dec 2026. General guidance, not legal advice.

See it on a real company.

Search any UK company by name or number: its filings read into one page, filed figures as filed and our estimates marked as estimates.

Or create a free accountOr find companies by what they are

Free to readAny company’s brief, estimates, timeline and Compdex Health Score. No card.
Pro from £39 a monthCredit score and lender view, Online visibility recommendations, Watchlists, Alerts by email and Slack.
Questions, or a team to set up?Talk to us
Gross margin: formula, margin vs markup, pricing | Compdex