Skip to content

01Free UK Online Calculator & Excel

Profit margin calculator UK: gross margin, markup and the price with VAT

Work out gross profit margin and markup from cost and price, or the price for a target margin, with 20% or 5% VAT added and a free product margin sheet.

Gross margin(Price − cost) ÷ price, on prices excluding VAT
Markup(Price − cost) ÷ cost
Price for a target marginCost ÷ (1 − margin): £120 at 40% = £200
40% margin= 66.67% markup
VATAdded on top: 20% standard, 5% reduced, 0% zero rate
Gross margin, markup and VAT · prices excluding VAT

Profit margin and markup calculator

Selling price excluding VAT£200.00
Price including VAT£240.00VAT £40.00 a unit, paid over to HMRC
Gross profit per unit£80.00
Gross margin40%Gross profit ÷ selling price excluding VAT
Markup66.67%Gross profit ÷ cost
Gross profit for the units sold£80.00

Works on prices and costs excluding VAT, as turnover is defined in the Companies Act 2006; the gross margin here is before overheads, so it is not net profit.

Margin and markup in one minute

Gross margin is gross profit divided by the selling price; markup is gross profit divided by the cost. A product that costs £120 and sells for £200 excluding VAT makes £80 of gross profit: a 40% margin and a 66.67% markup. A VAT-registered seller charging the 20% standard rate shows the customer £240, but the extra £40 belongs to HMRC, so it never counts towards the margin.

Gross marginEquivalent markupPrice for a £100 cost
10%11.11%£111.11
20%25%£125.00
25%33.33%£133.33
30%42.86%£142.86
33.33%50%£150.00
40%66.67%£166.67
50%100%£200.00
60%150%£250.00

The same £1 of profit is a smaller share of the price than of the cost, so the margin is always lower than the markup. A margin can never reach 100%, because the price would have to be infinite; a markup can be any size.

The formulas

  • Gross profit = selling price − cost of the goods or service, both excluding VAT.
  • Gross margin (gross profit margin) = gross profit ÷ selling price × 100.
  • Markup = gross profit ÷ cost × 100.
  • Price from a target margin = cost ÷ (1 − margin). For a 30% margin on a £70 cost: £70 ÷ 0.7 = £100.
  • Price from a markup = cost × (1 + markup). A 25% markup on £100 gives £125.
  • Margin from a markup = markup ÷ (1 + markup); markup from a margin = margin ÷ (1 − margin).
  • Price including VAT = price excluding VAT + VAT at the rate for the supply, each line rounded to the penny.

A common mistake is to add 30% to the cost and call it a 30% margin. That is a 30% markup, which is only a 23.08% margin. Use the price-from-margin formula when your target is set as a margin.

Worked examples the calculator reproduces

CaseWorkingResult
Cost £120, target margin 40%, 20% VAT£120 ÷ 0.6 = £200; VAT £40Price £200.00, £240.00 with VAT, markup 66.67%
Cost £100, price £150, 10 units, 20% VAT£50 ÷ £150; £50 ÷ £100; £50 × 10Margin 33.33%, markup 50%, £180.00 with VAT, £500.00 gross profit
Cost £100, markup 25%, 5% VAT£100 × 1.25 = £125; VAT £6.25Price £125.00, margin 20%, £131.25 with VAT
Cost £50, target margin 100%£50 ÷ 0Not possible: a margin must be below 100%

Enter the same figures above and the results match line for line. The free workbook does the same for a whole product list: cost, price, VAT rate and units for each line, with margin, markup, price including VAT and total gross profit as live formulas.

VAT, turnover and prices shown to consumers

  • VAT-registered: work out the margin on prices excluding VAT. The output VAT you charge goes to HMRC and the input VAT on your costs is reclaimed, so neither is profit or cost.
  • Not VAT-registered: you charge no VAT but cannot reclaim the VAT you pay, so your cost includes that VAT. Choose "Not VAT-registered" in the calculator and enter costs including VAT.
  • Turnover in the accounts: section 474 of the Companies Act 2006 defines turnover as amounts from goods and services after trade discounts, VAT and other taxes on those amounts, which is why accounts margins are always net of VAT.
  • Shelf and website prices: the Price Marking Order 2004 requires traders to show consumers the selling price, which article 1 defines as the final price including VAT and all other taxes. A business-to-business price list can show prices excluding VAT.
  • Rates: 20% standard, 5% reduced and 0% zero rate. VAT is a UK-wide tax, so the rates are the same in England, Scotland, Wales and Northern Ireland.

Gross margin is not net profit

Gross margin covers only the cost of the goods or the direct cost of the service. Rent, wages that are not part of cost of sales, marketing and finance costs come out after gross profit, and corporation tax comes after that. In the statutory profit and loss format, gross profit is turnover less cost of sales, followed by distribution costs and administrative expenses. To see how many sales cover your overheads, use the break-even calculator; to lay out the whole year, use the profit and loss template.

Pricing by margin in Draivix

In Draivix the product catalogue and price lists can price each product by markup on purchase price or by margin; every time a product is saved, the derived prices and the tax-inclusive price from its tax class are recalculated. Each price list entry carries a VAT rate, a discount and a validity period, and quotes and sales orders carry items, discounts and additional costs from quote to order to invoice without retyping.

02Frequently Asked Questions

How do I calculate profit margin?

Take the selling price excluding VAT, subtract the cost, and divide the gross profit by the selling price. £200 price and £120 cost: £80 ÷ £200 = 40%.

What is the gross profit margin formula?

Gross profit margin = (revenue − cost of sales) ÷ revenue × 100. In accounts, revenue (turnover) excludes VAT and trade discounts.

What is the difference between margin and markup?

Margin divides gross profit by the price; markup divides it by the cost. A £50 profit on a £100 cost and £150 price is a 33.33% margin and a 50% markup.

How do I price a product for a 30% margin?

Divide the cost by 0.7. A £70 cost needs a £100 price excluding VAT; adding 30% to the cost would give £91, which is only a 23.08% margin.

Should I include VAT when calculating margin?

No, if you are VAT-registered: work on prices excluding VAT, because the VAT is collected for HMRC. If you are not registered, include the VAT you pay in your costs.

Can a profit margin be more than 100%?

No. A gross margin is a share of the price, so it stays below 100%. A markup can exceed 100%: selling for £300 something that cost £100 is a 200% markup and a 66.67% margin.

How do I work out gross profit?

Selling price minus cost of sales, per unit or for the period. For 10 units sold at £150 that cost £100 each, gross profit is £500.

Let’s start together

Tell us how your business works.

We will show you what a system that takes over part of that work could look like.

Book a consultation