🧾 Margin and VAT Calculator

Price with profit margin, then add VAT on top.

-

Final price including VAT

Estimates for planning only, not financial advice.

Pricing with VAT takes two steps in a fixed order: set the margin price first, then add VAT on top. An $80 cost at 40 percent margin prices at $133.33 excluding VAT; 20 percent VAT adds $26.67 for a $160.00 shelf price. This calculator runs both steps, shows the VAT amount separately for invoicing, and reports the true margin on the ex-VAT price.

Order matters because VAT applies to the selling price, not the cost. Sellers who add VAT to cost and then apply margin undercharge the tax and donate part of their margin to the treasury. At volume, that sequencing error is a quiet profit leak.

How to Use This Calculator

Enter the unit cost, the target profit margin percentage, and the VAT rate. The calculator shows the ex-VAT price, profit per unit, VAT amount, and final inclusive price.

1

Enter the unit cost excluding VAT. Strip VAT out of supplier quotes first.

2

Enter the target margin percent and the VAT rate for the product category.

3

Read the final price and the true margin. For US sales tax instead of VAT, our margin and sales tax calculator runs the same logic.

The Formula

Ex-VAT price = cost / (1 - margin) VAT amount = ex-VAT price x VAT rate Final price = ex-VAT price x (1 + VAT rate)

The margin formula inverts the margin definition: since margin = (price - cost) / price, solving for price gives cost / (1 - margin). Businesses that mistakenly use cost x (1 + margin) are applying markup, which always underprices. At 40 percent the gap is $21.33 per unit on an $80 cost.

Worked Example

With the defaults: $80 cost, 40 percent margin, 20 percent VAT. The ex-VAT price is 80 / (1 - 0.40) = $133.33. Profit per unit is $53.33. The VAT amount is 133.33 x 0.20 = $26.67. The final price is $160.00. The true margin measured correctly on the ex-VAT price is (133.33 - 80) / 133.33 = 40.0 percent; measured wrongly on the final price it would read 50.0 percent, flattering but false.

Quoting and Invoicing

AudienceQuote thisWhy
Business buyersEx-VAT + VAT lineThey reclaim VAT, compare ex-VAT
ConsumersVAT-inclusive totalThey pay it, decide on the final
InvoicesBoth, itemizedTax compliance requires the split

The audience rule prevents the two classic errors: consumers shocked at checkout by added tax, and business buyers unable to compare your ex-VAT price against competitors. For the margin algebra behind any single unknown, our margin calculator solves for price, cost, margin, or markup.

Common Mistakes

Three to avoid. First, margin on the VAT-inclusive price, which overstates profitability and leads to underpricing the next product. Second, VAT-inclusive supplier costs treated as the cost base, which bakes reclaimable tax into your margin math. Third, using one VAT rate for a catalog spanning standard and reduced-rate categories, which misprices entire lines.

My rule: keep two price columns in every spreadsheet, ex-VAT for decisions and inclusive for customers, and never let a formula touch the wrong one. The businesses that get this right treat VAT as plumbing; the ones that get it wrong treat it as profit until the audit.

VAT Pitfalls for Cross-Border Sellers

VAT gets treacherous across borders. Selling digital goods into the EU means charging the customer's local VAT rate, not yours, with thresholds long gone. Post-Brexit UK sales need separate UK VAT handling. US sellers often discover VAT only when a marketplace starts withholding it under deemed-supplier rules. Each regime has its own registration thresholds, filing cadence, and invoice requirements.

The margin interaction is what hurts: a 20 percent VAT on a product with a 15 percent margin means the tax flow through your accounts exceeds your profit, so cash management matters as much as pricing. Price VAT-inclusively where consumers expect it, quote VAT-exclusively to business buyers who reclaim it, and never let a marketplace's VAT collection lull you into thinking your own filings are covered. For US domestic sales tax, which works differently, our margin with sales tax calculator handles the American version.

Margin Schemes for Second-Hand Goods

The EU and UK offer a special margin scheme for used goods, antiques, and art: VAT applies only to your profit margin, not the full selling price. A dealer buying a painting for 1,000 and selling for 1,500 pays VAT on the 500 margin only. This prevents double taxation of goods that already bore VAT when new.

Qualifying is strict: you must buy from a non-taxable person, keep margin-scheme stock separate in your records, and issue invoices without showing VAT separately. You cannot reclaim input VAT on scheme purchases, so run the comparison before opting in. The scheme is optional per transaction, which lets dealers use it where it helps and standard VAT where it does not. Get professional advice before your first scheme sale; the record-keeping rules are unforgiving.

Estimates for planning only, not financial advice.

Frequently Asked Questions

How do you add margin and VAT to a cost?

In two steps, in this order: first divide cost by one minus the margin to get the ex-VAT price, then multiply by one plus the VAT rate. An $80 cost at 40 percent margin gives $133.33 ex-VAT; 20 percent VAT adds $26.67 for a $160.00 final price. Margin first, tax second, because VAT applies to the selling price, not the cost.

Should VAT be added before or after margin?

After. VAT is charged on the selling price, so compute your margin price first and apply VAT to it. Adding VAT to cost and then applying margin understates the tax and quietly eats your margin. The order matters by the VAT amount times the margin, real money at scale.

What is the formula for price with margin and VAT?

Final price = cost / (1 - margin) x (1 + VAT rate). With $80 cost, 40 percent margin, and 20 percent VAT: 80 / 0.60 x 1.20 = $160.00. The single formula does both steps, but running them separately, as this calculator shows, keeps the VAT amount visible for invoicing.

What margin do I actually keep after VAT?

Your margin is measured on the ex-VAT price, since VAT passes through to the tax authority. At $160 final price with $80 cost, the naive margin looks like 50 percent, but the true margin is (133.33 - 80) / 133.33 = 40 percent. Never compute margin on the VAT-inclusive price.

Can I reclaim the VAT I charge?

Businesses generally reclaim input VAT paid on purchases and remit output VAT charged on sales, paying only the difference. That is why pricing math uses ex-VAT figures internally: the VAT is not your money. Final consumers cannot reclaim it, which is why shelf prices include it.

What VAT rate should I use?

Your country's standard rate for the product category: 20 percent in the UK, 19 percent in Germany, 25 percent in Sweden, with reduced rates for food, books, and other categories in many countries. US sellers use sales tax instead, handled by our margin and sales tax calculator.

How does margin differ from markup in this calculation?

Margin divides profit by the selling price; markup divides by cost. A 40 percent margin on $80 cost means a $133.33 price, while a 40 percent markup means $112. Using markup when you meant margin underprices by $21.33 per unit here, a painful and common error.

Do I apply VAT to the profit or the full price?

The full ex-VAT selling price. VAT is a consumption tax on the transaction value, not on your profit. The $26.67 VAT in the example is 20 percent of $133.33, the whole price, and you remit it regardless of your margin.

What if my supplier quotes include VAT?

Strip it out first: ex-VAT cost = inclusive price / (1 + VAT rate). Then run the margin math on the ex-VAT cost. Starting from a VAT-inclusive cost silently inflates your cost base and shrinks the real margin.

How do I quote prices to business customers?

Quote ex-VAT with the VAT shown separately, since business buyers reclaim it and compare on ex-VAT prices. Quote VAT-inclusive to consumers, who cannot reclaim and decide on the final number. Mixing the two in one price list confuses both audiences.