United Kingdom version. Uses pounds and the UK 20% standard VAT rate: shelf prices to consumers include VAT, so the tool strips it out before working the margin. US version

Margin and Markup Calculator (UK, with VAT)

Work out margin and markup in pounds on the price before VAT. Enter a VAT-inclusive shelf price, take out 20% VAT and see the real margin you keep.

The interactive tool loads here when JavaScript runs.

About this tool

What is the Margin and Markup Calculator?

UK shop prices include VAT. The Price Marking Order requires prices shown to consumers to be VAT-inclusive, so the £30 on the label is not what a VAT-registered seller keeps: £5 of it belongs to HMRC at the 20% standard rate. Margin has to be worked on the £25 net price; dividing by the label price is the easy mistake.

Take an item that costs you £15 before VAT and sells for £30 on the shelf. Dividing the £15 profit by the £30 label suggests a 50% margin. Strip the VAT first and the real gross margin is £10 on £25, or 40%, with a 66.67% markup. This version starts with that example: VAT at 20% and the switch for VAT-inclusive prices turned on.

Set the rate to 5% for reduced-rate goods such as children's car seats or home energy, or 0% for zero-rated items such as most food and children's clothes. If you sell only to other businesses, prices can be quoted before VAT, so turn the switch off and type net prices.

  • Solves any valid pair of cost, price, margin, markup and profit
  • Margin to markup conversion table with prices at your cost
  • Shows the margin-as-markup pricing mistake and its cost per unit
  • Optional unit count for batch totals
  • Optional sales tax or VAT rate, with prices entered before or including tax
  • Currency selector, copy and shareable links
Read the guide: Margin, Markup and Break-Even: The Arithmetic of Pricing

Updated

How to use the Margin and Markup Calculator

  1. Choose what you know from the "I know the" menu, for example Cost and target margin.
  2. Type the two values. Margin and markup are entered as percentages, cost and price as money.
  3. Optionally enter the number of units sold to see total revenue and total profit.
  4. Read the margin, markup, profit, price and cost cards. The calculation panel shows each formula with your numbers.
  5. Check the "classic pricing mistake" panel to see what would happen if the margin were applied as a markup, then copy the results or share a link.

Worked examples

Real margin behind a £30 shelf price

Input

Cost £15 (ex VAT), shelf price £30 including 20% VAT

Output

Price before VAT £25; profit £10; gross margin 40%; markup 66.67%; VAT £5 per unit

Working the margin on the £30 label gives 50%, which overstates it by ten points. The £5 VAT is collected for HMRC, not kept.

Pricing for a 35% margin

Input

Cost £8, target margin 35%, VAT 20%

Output

Net price £12.31; shelf price £14.77 including £2.46 VAT; markup 53.85%

Price = £8 / (1 - 0.35) = £12.31, then x 1.2 for VAT. Adding 35% to cost would give £10.80 net, only a 25.93% margin, which is the classic margin-versus-markup slip.

Background and insight

The two ratios convert with simple formulas. Markup = margin / (1 - margin), and margin = markup / (1 + markup). A 25% margin needs a 33.33% markup, a 50% margin needs a 100% markup, and a 75% margin needs a 300% markup. Margin can never reach 100% while the item costs anything, because profit can never be the whole price. Markup has no upper limit.

Retailers have historically quoted markup because it is easy to apply on the shop floor: multiply cost by 1.5 and you are done. Finance teams and investors talk about gross margin because it lines up with the income statement, where gross profit is shown as a percentage of revenue. Mixing the two vocabularies in one conversation is where most pricing errors start.

This tool deals in gross margin per item: selling price less the direct cost of the item. It does not subtract rent, salaries, marketing or tax, so it is not net profit margin. For the volume you need to cover those overheads, use the break-even calculator.

Common use cases

  • Setting a retail price

    Start from landed cost and the gross margin your category needs, and let the tool give the shelf price instead of guessing a multiplier.

  • Checking a wholesaler's terms

    A supplier quotes a suggested retail price and a "keystone" markup. Enter price and markup to see the margin you actually keep.

  • Quoting services

    Freelancers and agencies with a cost per hour can find the rate that leaves a target margin after subcontractor or tool costs.

  • Explaining pricing to a team

    Use the conversion table to show sales staff why "50% off cost" and "50% margin" are very different prices.

Tips and limitations

  • Enter your cost before VAT if you are VAT-registered and reclaim input VAT; if you are not registered, your cost includes the VAT you paid and your whole shelf price is yours.
  • You must register for VAT once taxable turnover over the last 12 months goes above £90,000, so a margin plan for a growing business should test both cases.
  • Round shelf prices after adding VAT, then let the calculator work back to the net price, so the margin you see is the one you will actually earn.

Sources and further reading

  1. VAT rates, GOV.UK. Standard 20%, reduced 5%, zero rate, with examples.
  2. How VAT works: registration, GOV.UK. The £90,000 registration threshold over the last 12 months.
  3. Price marking of goods for retail sale, Business Companion (Chartered Trading Standards Institute). Consumer prices must include VAT.

Frequently asked questions

Do I work out margin before or after VAT?

Before. VAT is a tax you collect for HMRC, so it is neither revenue nor profit. Divide the label price by 1.2 at the standard rate to get the net price, then work margin on that. Turn on "The price I enter includes VAT" and the tool does it for you.

Do UK shop prices have to include VAT?

Yes, for goods sold to consumers. Trading Standards guidance on the Price Marking Order says all price indications that consumers can see must include VAT and any other compulsory charges. Prices for sales only to businesses can be shown without VAT.

How do I take VAT off a price?

Divide by 1 plus the rate: £30 / 1.2 = £25 at 20%, or £21 / 1.05 = £20 at 5%. The VAT in a £30 price is therefore £5, which is one sixth, not 20% of £30.

What VAT rate should I use?

The standard rate of 20% covers most goods and services. The reduced 5% rate applies to some items such as children's car seats and home energy, and zero-rated items include most food and children's clothes. Check HMRC guidance for your product.

I am not VAT-registered. How do I use this?

Leave the VAT rate blank. Enter your cost including the VAT you paid on it, because you cannot reclaim it, and enter your selling price as charged. The margin is then on the full price.

Is there an in-depth guide to the Margin and Markup Calculator?

Yes. “Margin, Markup and Break-Even: The Arithmetic of Pricing” covers the background, how it works, common pitfalls and worked examples. Read the full guide.