Margin and VAT Calculator

Enter the VAT rate, your net cost and the margin you want to get the gross price, net price, profit, markup and VAT.

Updated

Enter to calculate Esc to clear

Margin and VAT Calculator

Our Margin and VAT Calculator works backwards from the margin you want. Enter the VAT rate, what an item costs you before VAT and your target margin, and it shows the gross price to charge, the net price before VAT, your profit, the matching markup, the VAT on the sale and your cost including VAT. It suits VAT-registered shops, online sellers and accountants pricing goods in the UK, EU and other VAT countries.

Quick answer

Net price is net cost ÷ (1 − margin) and gross price is net price × (1 + VAT). A 300 net cost at a 25% margin sells for 300 ÷ 0.75 = 400 before VAT, and 400 × 1.20 = 480 with 20% VAT.

  • Profit: net price − net cost, here 100.
  • Markup: profit ÷ net cost, 100 ÷ 300 ≈ 33.33%.
  • VAT on the sale: 400 × 20% = 80.
  • Margin base: the net price, never the gross price.

Margin and VAT Formulas

Net price = cost ÷ (1 − m)
Profit = net − cost
Markup = profit ÷ cost
  × 100
VAT = net × v
Gross = net + VAT
  • Cost: what you pay the supplier, excluding VAT.
  • m: the target margin as a decimal, such as 0.25.
  • v: the VAT rate as a decimal, such as 0.20.

How to Price an Item for a Margin With VAT

A shop buys a phone for 300 before VAT, wants a 25% margin and charges 20% VAT:

  1. Net price. 300 ÷ (1 − 0.25) = 400.
  2. Profit. 400 − 300 = 100, which is 25% of 400.
  3. Markup. 100 ÷ 300 × 100 ≈ 33.33%.
  4. VAT. 400 × 0.20 = 80.
  5. Gross price. 400 + 80 = 480.
Gross price 480 Net cost 300 100 Net price 400 (margin base) Profit VAT 80
A 25% margin on a 300 net cost gives a 400 net price; 20% VAT adds 80 for a 480 gross price.

Prices for a Net Cost of 200 at 20% VAT

MarginMarkupGross price
10%11.11%266.67
20%25%300
25%33.33%320
30%42.86%342.86
40%66.67%400
50%100%480

Why VAT Is Left Out of the Margin

A VAT-registered business reclaims the VAT it pays on purchases and passes on the VAT it charges on sales. On the phone, the supplier invoice is 300 + 60 VAT = 360 (the gross cost), and the sale collects 80 VAT. You pay the tax office 80 − 60 = 20, which is 20% of your 100 profit. Since neither VAT amount is yours to keep, margin and markup are worked out on net figures.

If you are not VAT registered you cannot reclaim input VAT, so the gross cost (360 here) is your real cost and should go in the net cost field.

Taking VAT Out of a Gross Price

Divide the gross price by one plus the VAT rate: 480 ÷ 1.20 = 400 net. At 20% VAT the VAT share of any gross price is 20 ÷ 120, one sixth, so 480 ÷ 6 = 80. For US-style sales tax on top of a markup, use our Margin and Sales Tax Calculator; with no tax at all, the Margin and Markup Calculator is simpler.

Another Example: 17% VAT

A product with a net cost of 150, a 20% margin and 17% VAT: net price 150 ÷ 0.80 = 187.50, profit 37.50, markup 25%, VAT 187.50 × 0.17 = 31.875 (about 31.88) and a gross price of about 219.38.

Key Terms

Net cost
Supplier price before VAT.
Gross cost
Net cost plus input VAT.
Net price
Selling price before VAT.
Gross price
Net price plus output VAT.
Margin
Profit ÷ net price × 100.

How to Use the Margin and VAT Calculator

  1. Enter the VAT rate. Type the VAT percentage, such as 20.
  2. Enter the net cost. Type what the item costs you before VAT, such as 300.
  3. Enter the target margin. Type the margin you want, such as 25. The gross price, net price, profit, markup, VAT and gross cost appear as you type.

Example: a 300 net cost at a 25% margin is a 400 net price; 20% VAT adds 80, so the gross price is 480 and the markup is about 33.33%.

Who Can Use This Calculator?

Shop ownersSet VAT-inclusive prices
Online sellersPrice for UK and EU buyers
AccountantsCheck client pricing
StudentsLearn margin and VAT

Frequently Asked Questions (FAQs)

How do I add a margin and VAT to a cost?

Divide the net cost by one minus the margin to get the net price, then multiply by one plus the VAT rate. 300 at a 25% margin and 20% VAT gives 400 net and 480 gross.

Is margin calculated before or after VAT?

Before. Margin is profit divided by the net price, because the VAT you charge is passed on to the tax office.

What markup gives a 25% margin?

About 33.33%. Markup equals margin ÷ (100 − margin) × 100.

How do I remove VAT from a gross price?

Divide by one plus the VAT rate. 480 at 20% VAT is 480 ÷ 1.20 = 400 before VAT.

What is gross cost?

Your net cost plus the VAT on the supplier invoice. At 20% VAT, a 300 net cost has a gross cost of 360.

What if I am not VAT registered?

You cannot reclaim the VAT on purchases, so enter your VAT-inclusive cost as the net cost and use 0% VAT if you do not charge VAT on sales.

Can I use a 0% VAT rate?

Yes. The gross price then equals the net price.

Is the Margin and VAT Calculator free?

Yes. It is free to use, with no sign-up and no limit on how many times you use it.

Sources

Try our Margin and VAT Calculator to price any item for your target margin with VAT.