Margin and VAT Calculator
Use this tool to calculate selling prices, gross margin, markup, and VAT in seconds.
Enter your cost, desired margin, and VAT rate to calculate the net and gross selling price.
What this margin and VAT calculator helps you do
If you run a business, sell products online, or quote client work, pricing mistakes can quietly eat your profits. This calculator helps you quickly answer practical questions like:
- What selling price should I charge to hit a target gross margin?
- If I know cost and selling price, what are my margin and markup?
- How much of my VAT-inclusive price is actual revenue versus VAT?
Margin vs markup vs VAT (quick refresher)
1) Gross margin
Gross margin is profit as a percentage of the selling price (excluding VAT). Formula:
Margin % = (Selling Price ex VAT − Cost) / Selling Price ex VAT × 100
2) Markup
Markup is profit as a percentage of cost.
Markup % = (Selling Price ex VAT − Cost) / Cost × 100
3) VAT
VAT is usually added on top of net selling price. You collect VAT from the customer and pass it to the tax authority. For pricing analysis, businesses usually evaluate margin using prices excluding VAT.
How to use each calculator mode
Mode A: Cost + Target Margin + VAT → Selling Price
Use this when you know your unit cost and your desired margin. The calculator returns: selling price ex VAT, VAT amount, selling price incl VAT, gross profit, and markup.
Mode B: Cost + Selling Price + VAT → Margin & Markup
Use this for a margin check. Great for validating current price lists and seeing whether products are underpriced.
Mode C: VAT-Inclusive Price + Margin → Cost & Profit
Useful when the market sets gross prices (for example, advertised retail prices). It strips VAT out first, then estimates your allowable cost for a target margin.
Practical pricing example
Suppose your product cost is 100.00, target margin is 40%, and VAT is 20%. The required net selling price becomes 166.67, VAT is 33.33, and gross selling price is 200.00. Your gross profit is 66.67. That looks very different from simply adding a 40% markup, which would produce only 140.00 net and a lower margin.
Common pricing mistakes to avoid
- Confusing margin and markup (they are not interchangeable).
- Calculating margin from VAT-inclusive prices.
- Forgetting payment fees, refunds, and discounts in effective cost.
- Using one margin target for all products regardless of risk and demand.
- Never revisiting price after supplier or tax changes.
Tips for stronger pricing decisions
- Set minimum margin thresholds by product category.
- Track realized margin monthly, not just list-price margin.
- Review prices whenever costs move by more than 3–5%.
- Model scenarios: base case, competitor pressure case, and premium case.
Final thoughts
A simple calculator can prevent expensive pricing errors. Use this tool before publishing prices, quoting projects, or approving discount campaigns. Consistent margin discipline, combined with clear VAT handling, is one of the fastest ways to improve business cash flow and long-term profitability.