Understanding Net and Gross Costs
When you purchase inventory, you encounter two price points: the net cost (before tax) and the gross cost (after tax). If you buy stock for £100 ex-VAT and VAT is 20%, the gross cost becomes £120. You pay the supplier the gross amount, but you can typically reclaim the VAT portion if you're VAT-registered, which brings your actual cost back to the net figure.
This distinction matters because profit margin calculations must use the net cost as the base. The VAT you pay on purchases and charge on sales should offset each other, leaving the margin calculation pure—reflecting only your true profit relative to the product's cost.
Core Pricing Formulas
The relationships between cost, price, margin, VAT, and profit follow straightforward algebraic rules. Below are the key equations that drive the calculator.
Gross Cost = Net Cost + (Net Cost × VAT Rate)
Gross Revenue = Net Revenue + (Net Revenue × VAT Rate)
Net Revenue = Net Cost + (Net Cost × Markup)
Gross Revenue = Gross Cost + (Gross Cost × Markup)
Profit = Net Revenue − Net Cost
Markup = 1 ÷ (1 − Margin) − 1
Net Cost— The purchase price of goods before any tax is appliedGross Cost— The amount you actually pay, including VAT recoveryVAT Rate— The percentage tax applied by your jurisdiction (e.g., 0.20 for 20%)Net Revenue— Your selling price before taxGross Revenue— The price the customer pays, including VATMargin— Profit as a percentage of net revenue (0.40 = 40%)Markup— Profit as a percentage of cost (1.67 = 167%)Profit— Absolute money earned per unit sold
Margin Versus Markup: Why They Differ
A common source of confusion in retail is conflating margin with markup. If you buy an item for £100 and want a 50% margin, you cannot mark it up by 50%. Here's why:
- Markup is calculated on cost: a 100% markup on £100 cost means £200 selling price.
- Margin is calculated on revenue: a 50% margin on £200 revenue means £100 profit, and the cost was £100.
To convert a target margin into the required markup, use the formula: Markup = Margin ÷ (1 − Margin). A 40% margin requires a 66.7% markup on cost. This relationship grows steeper as margin increases; a 50% margin needs a 100% markup, and an 80% margin requires a 400% markup. The calculator automatically handles this conversion for you.
Working Backwards: From Selling Price to Cost
Real-world pricing often starts with a constraint: 'I need to sell this for £140 and maintain my 40% margin.' The calculator lets you input the gross revenue you want to achieve and solves for the maximum net cost you can afford.
This reversal is invaluable when competitors set the market price or when you're bound by price points. By fixing gross revenue and margin, the tool calculates the highest net cost compatible with your profit target. Similarly, if you know your markup ratio and the tax rate, you can work out what you should be spending on inventory to hit your price ceiling.
Common Pitfalls and Expert Tips
Avoid these frequent mistakes when calculating margins, markups, and VAT-inclusive pricing.
- Don't confuse VAT recoverability with margin impact — If you're VAT-registered, the VAT you pay on purchases and collect on sales should net out. Never include VAT as a cost when computing margin; use only the net cost. Unregistered traders, however, cannot reclaim VAT, so they must include it in their cost base and adjust margins accordingly.
- Remember that margin percentages are not invertible — A 50% margin does not imply you can halve a price to recover your cost. Because margin is a ratio of profit to revenue (not cost), the math is asymmetric. Always use the formulas provided rather than rough mental arithmetic, especially for high-margin products.
- Check your VAT jurisdiction and rate — VAT is not uniform globally. The UK uses 20% on most goods, but some items are zero-rated or exempt. The EU ranges from 17% to 27% depending on the country. Confirm your exact rate before running calculations, as even a 1–2% difference compounds across large order volumes.
- Validate with a test case — Before rolling out a new pricing model, pick a real product and manually verify the calculated price against your expectations. A quick sense check—does the gross price look reasonable for this cost and margin?—catches formula errors or rate input mistakes before they affect your inventory or invoicing.