Margin and VAT Calculator
Use the Margin and VAT Calculator when the price you show a customer must include VAT, but the profit target belongs to the net price before VAT. The calculator asks for net cost, target margin, and VAT rate. It returns the customer price including VAT as the main result, then breaks that total into net selling price, VAT amount, gross profit before VAT, equivalent markup, and VAT rate.
That separation is the point of this calculator. VAT-inclusive pricing can hide the difference between money the business keeps and tax collected for remittance. A shop may advertise one shelf price, a contractor may quote one invoice total, and an agency may need one final number for a proposal. Internally, however, the seller still needs the net selling price to check margin. If VAT is treated as revenue or profit, the apparent margin looks better than the economics of the sale.
What the calculator does
The calculation method follows a strict order. First it converts the target margin into a net selling price by dividing cost by one minus the margin rate. Then it calculates VAT as a percentage of that net price. Finally it adds the VAT amount to the net price to produce the gross price the customer pays. Profit is simply net selling price minus cost. The markup line is derived from that same profit divided by cost.
This page is deliberately different from the general margin calculator, which focuses on margin before tax, and from the markup calculator, which starts with cost-plus pricing. It also differs from the vat calculator, which calculates VAT on a known price rather than first solving for a margin-based net price. If your business uses US tax language, see the sales tax calculator or the companion margin-and-tax page instead.
Formula
The margin input is a percentage of the net selling price, not the VAT-inclusive price:
VAT is then applied to the net price:
The customer price is:
The profit and equivalent markup shown in the breakdown are:
Checking a margin and vat scenario
Suppose the net cost is $50, the target margin is 30%, and the VAT rate is 20%. The calculator treats the cost as 70% of the required net selling price because a 30% margin means profit is 30% of net revenue.
Net price:
VAT amount:
Gross customer price:
The gross profit before VAT is $21.43, because $71.43 net selling price minus $50 cost leaves that amount. The equivalent markup is 42.86%, calculated as $21.43 divided by $50. The main result is $85.71, matching the “Customer price including VAT” label.
When this pricing view is useful
Use this tool when you must promise a tax-inclusive price but manage the business by net revenue. Retailers often need shelf prices that already include VAT. Service firms may quote a final invoice total to a consumer while still reviewing whether the net fee covers labor and materials. Wholesalers may show a VAT-inclusive total for cash-flow planning but expect VAT-registered customers to care most about the net price.
It is also useful for discount checks. If you discount the VAT-inclusive price, the net price falls too, and the realized margin may be lower than planned. Run the calculator again with the reduced gross target converted back to net terms before approving a promotion. The same caution applies to shipping, payment processing fees, import costs, or packaging: include direct costs in the cost input if they must be recovered by the product price.
Caveats and practical notes
VAT rules depend on jurisdiction, product type, customer type, and registration status. Some goods are zero-rated or exempt, and some businesses use special schemes that affect reporting. This calculator does not decide whether VAT applies or whether a buyer can reclaim it. It only performs the pricing arithmetic after you choose a VAT rate.
Rounding also matters. The calculator displays currency rounded to cents, but invoices may round line-by-line or at the total level depending on local practice and accounting software. For a single item, the difference is usually tiny. Across many units, confirm that your point-of-sale or invoicing system uses the same rounding method you quote from.
Finally, avoid using the VAT-inclusive price as the denominator for margin. If the example above used $85.71 as revenue, the margin would appear to be only 25%, even though the business actually earns a 30% margin on the $71.43 net price. The calculator prevents that confusion by showing the tax, net price, profit, and markup as separate lines.
Method scope and source version
Jurisdiction-neutral arithmetic; accounting, contractual, market, or institutional conventions may vary. Evergreen method only; defaults/examples must not be represented as current market, legal, tax, or institutional data. The sources below support the stated method and definitions; they do not supply a live rate, quote, legal conclusion, lender offer, or institution-specific policy.
Sources
- GOV.UK, VAT rates on different goods and services — official VAT rate categories and UK guidance.
- European Commission, VAT rules and rates — overview of value-added tax in the European Union.
- Corporate Finance Institute, Markup — cost-based markup definition and pricing context.