Calculate Margin With VAT, GST or Sales Tax
Separate tax collected from revenue, account for eligible purchase tax recovery and estimate the selling price for a target margin. All calculations run in your browser.
| Metric | Estimated amount |
|---|
The required customer price rounds up to the next cent in the selected currency. The tax difference considers only the modeled sale and product purchase, not a complete tax liability. Prices and tax are calculated before invoice-level rounding.
VAT and GST are generally not revenue when collected on behalf of a tax authority. A profit margin calculator with VAT or GST should remove output tax from the selling price, subtract effective product cost after eligible purchase credits, then account for fees and other costs. Use the main margin calculator for simpler tax-exclusive figures.
VAT and GST profit margin formulas
Net selling price = tax-inclusive price ÷ (1 + sales tax rate). Effective product cost = purchase cost excluding tax + nonrecoverable purchase tax. Gross profit = net selling price − effective product cost. Adjusted profit = gross profit − shipping − payment fees − other direct costs. Adjusted margin = adjusted profit ÷ net selling price × 100.
For target adjusted margin, required tax-exclusive price = (effective cost + shipping + fixed fee + other costs) ÷ (1 − target margin − effective percentage fee rate). If fees are charged on the customer price including tax, multiply the percentage fee rate by (1 + sales tax rate) before solving. Convert the required net price to a tax-inclusive customer price and round up.
Worked example: UK VAT
Assume a £120 VAT-inclusive selling price at 20%, a £60 VAT-inclusive purchase cost at 20%, and full eligibility to recover £10 purchase VAT. The net selling price is £100 and effective product cost is £50. With £5 shipping and an illustrative payment fee of 3% of the £120 customer price plus £0.30, the fee is £3.90.
| Item | Amount |
|---|---|
| Revenue excluding VAT | £100.00 |
| Effective product cost | £50.00 |
| Gross margin | 50.00% |
| Shipping and payment fee | £8.90 |
| Adjusted profit | £41.10 |
| Adjusted margin | 41.10% |
| Required customer price for 40% adjusted margin | £117.66 |
With no purchase tax recovery the effective cost would be £60 and adjusted profit £31.10, assuming the same output tax. Eligibility for credits depends on your tax status and transaction.
Regional tax settings and official sources
United Kingdom (GBP)
HMRC lists a standard VAT rate of 20%, with reduced and zero rates for qualifying supplies. Confirm your transaction rate at GOV.UK VAT rates and review VAT Notice 700 for reclaim conditions.
Australia (AUD)
The ATO describes GST as 10% on most goods and services. GST credits depend on eligibility. See How GST works and its guidance on claiming credits.
Canada (CAD)
GST/HST depends on the place and type of supply. Provincial sales taxes may also apply and may have different recovery rules. Enter your verified rates and use the CRA rates and calculator. This model uses one combined sales tax rate and one purchase tax rate, not a province-specific tax engine.
European Union (EUR)
VAT rates vary by member state and supply. Consult the EU VAT rules and rates. Enter the relevant rate rather than using a single EU rate.
India (INR)
GST depends on the applicable goods or services classification, notifications and supply treatment. Verify the applicable rate and eligibility for input tax credit using the GST Council rate notifications and CBIC goods and services rates. This model uses a combined rate and does not determine CGST, SGST or IGST liability.
United States (USD)
Enter the applicable state and local sales tax rate if charged. Sales tax rules and resale exemptions vary. Do not assume purchase sales tax is recoverable; confirm your specific treatment.
Common mistakes
Do not calculate margin on a tax-inclusive selling price when the tax is owed to an authority. Do not assume all purchase tax is recoverable. Check whether your payment processor charges on the amount paid by the customer or on net revenue. This tool does not determine tax registration, taxability, exemptions, special schemes or filing obligations.
Use the product pricing calculator for other pricing scenarios, the sensitivity calculator for changes in costs, or our free spreadsheet templates for offline planning.
Frequently asked questions
Is VAT included in profit margin?
Tax collected for the authorities is normally excluded from sales revenue. Nonrecoverable purchase tax can be part of product cost.
What if I cannot recover purchase tax?
Set purchase tax recovery to zero. The calculator includes the full entered purchase tax in effective cost.
Can I calculate a target margin including GST?
Yes. Enter the target adjusted margin and verified sales and purchase rates; the tool calculates the required tax-inclusive customer price.
Does the calculator look up marketplace fees?
No. Enter the fee that applies to your seller account and transaction. No default marketplace fee is assumed.
Does it calculate tax payable on a return?
No. The displayed tax difference only compares the modeled output tax and eligible purchase tax. Other credits, timing, adjustments and tax schemes are excluded.
Tax source check and formula review: December 1, 2026. Educational estimates only, not personalized accounting, tax or financial advice. See our editorial policy.