Invoice VAT Breakdown, Explained
After reading this you can split any invoice line into net, VAT and gross amounts, starting from either the pre-tax or the with-tax figure, at any VAT rate, and you will know why the two directions can disagree by a cent.
What a VAT breakdown is
A VAT breakdown separates an invoice line into three numbers. The net is the price before tax. The VAT is the tax charged on that net. The gross is what the customer actually pays, net plus VAT.
Here is the hook. You sell a consulting hour at a net price of 100 and the VAT rate is 27%. The VAT is 27, so the customer pays 127. Simple enough when you start from net. The tricky case is the reverse: a shop shelf shows 127 including tax, and you want to know how much of that is the government's share. The answer is still 27, but you cannot get it by taking 27% of 127. That would give 34.29, which is wrong. The rest of this article shows why, and how to do both directions correctly.
When to use it, and when not
Use a VAT breakdown whenever you issue or check an invoice and need the three lines to agree. Freelancers quoting a day rate need to know whether their number is net or gross before a client agrees to it. Shops that display tax-inclusive prices need the net line for their accounts. Anyone reconciling a receipt against a bank statement needs to confirm the VAT portion.
Do not use it to decide your selling price in the first place. VAT is a pass-through tax: you collect it and hand it on, so it does not affect your profit on a normal sale. To set a price from cost and target profit, use the Markup Calculator or the Margin Calculator. VAT sits on top of whatever price those tools produce.
The rate depends on the good or service and the country. In Hungary the standard rate is 27%, with reduced rates of 18% and 5%. Always apply the rate that the law assigns to the item, not a single default.
The formula and the intuition
Write the VAT rate as a fraction. A rate of 27% means r = 0.27. The relationship between the three amounts is fixed:
Here \text{net} is the pre-tax amount, r is the rate as a decimal, and \text{gross} is the with-tax amount. The VAT itself is the difference, \text{net} \times r.
If you already know the gross and want the net, rearrange the same equation by dividing:
This is the step people get wrong. The VAT is a percentage of the net, not of the gross. When you only have the gross, you must divide by 1 + r to recover the net first, then take the difference for the VAT.
The intuition: the gross is 127% of the net when the rate is 27%. Going forward you multiply by 1.27. Going backward you divide by 1.27. Taking 27% of the gross would treat the gross as if it were the net, which double-counts the tax base.
Never compute VAT as rate × gross. At 27% that overstates the tax. On a gross of 127 it gives 34.29 instead of the correct 27, an error of over 27%.
Where quantity fits in
Quantity scales all three lines by the same factor, so the structure does not change. Compute the unit net, unit VAT and unit gross, then multiply each by the quantity. Order matters only for rounding, which the next section covers. For a line of q units at unit net n:
where q is quantity, n is the unit net amount, and r is the rate. Rounding to the currency's smallest unit should happen on the totals you actually print, not silently at every intermediate step, or the printed numbers may not add up.
Worked example: net 100 at 27%, quantity 1
These are the tool's demo defaults. Enter net mode, a unit amount of 100, a rate of 27, and a quantity of 1.
- Convert the rate to a decimal: r = 27 / 100 = 0.27.
- Unit VAT is
100 × 0.27 = 27. - Unit gross is
100 + 27 = 127, which matches100 × 1.27. - Multiply each line by the quantity
1: net100, VAT27, gross127.
Now check the reverse direction. Suppose you had entered gross mode with the same 127. The net is 127 / 1.27 = 100, the VAT is 127 - 100 = 27. Same three numbers, because the inputs were exact. The two directions agree here. They do not always agree, as the next section shows.
Why the two directions can differ by a cent
Rounding is the reason invoices must state which direction was authoritative. Take a gross of 100.00 at 27%. The net is 100 / 1.27 = 78.7401..., which rounds to 78.74. The VAT is 100 - 78.74 = 21.26. Check it forward: 78.74 × 1.27 = 99.9998, which rounds back to 100.00. Consistent.
But start from a net of 78.74 instead. Forward, the gross is 78.74 × 1.27 = 99.9998, rounding to 100.00, and VAT 21.26. That happens to agree. Other amounts do not. Take net 0.10 at 27%: gross is 0.127, rounding to 0.13, VAT 0.03. Start from gross 0.13: net is 0.13 / 1.27 = 0.1024, rounding to 0.10, VAT 0.03. Agrees again at this scale, but push through many lines and the accumulated rounding on a net-first invoice can land one cent away from the same lines computed gross-first.
The fix is a rule, not a cleverer formula: pick one direction as authoritative for the whole invoice and round consistently. Tax authorities generally expect the net to be the tax base, so net-first is the common choice.
Reading the results
Three checks confirm a breakdown is right. First, net plus VAT equals gross to the cent. Second, VAT divided by net equals the rate: 27 / 100 = 0.27. Third, the effective share of tax in the gross is r / (1 + r), which at 27% is 0.27 / 1.27 = 0.2126, so VAT is about 21.26% of the gross. That last number is the one to use if you ever must estimate tax inside a total: multiply the gross by 0.2126, not by 0.27.
Common mistakes
The single biggest error is taking the rate off the gross, covered above. Three more come up often.
- Mixing directions on one invoice. Some lines net-first, some gross-first, and the totals no longer reconcile. Choose one direction for the document.
- Rounding too early. Rounding the unit VAT to a cent and then multiplying by a quantity of 50 magnifies the error to half a cent times fifty. Round the line total, not the unit.
- Applying one rate to mixed items. A single invoice can carry lines at 27%, 18% and 5%. Break out a VAT subtotal per rate, because the tax return reports each rate separately.
Related tools
VAT sits on top of your price, so it does not change the profitability calculations. Set the pre-tax price with the Margin Calculator or the Markup Calculator. To find how many units cover your costs, use the Break-Even Calculator, and to see the profit each extra sale contributes, the Contribution Margin Calculator. If you pay sellers a cut of the net, the Sales Commission Calculator works on the pre-tax figure. For cash questions rather than pricing, the Burn Rate & Runway Calculator and the Payback Period Calculator apply.
Frequently asked questions
How do I remove VAT from a total price?
Divide the gross by 1 + r. At 27% that is dividing by 1.27. A gross of 127 gives a net of 100, and the VAT is the difference, 27.
Why is the VAT not 27% of the price I paid?
Because 27% is charged on the net, not the gross. As a share of the gross the tax is r / (1 + r), which is 0.2126 or about 21.26% at a 27% rate.
Does VAT affect my profit?
On a standard sale, no. You collect VAT from the customer and pay it to the tax authority, so it passes through. Your profit is based on the net price against your net costs.
Which amount should I treat as authoritative, net or gross?
Pick one for the whole invoice. Tax authorities usually treat the net as the tax base, so net-first is common. State the choice so the reader can reproduce your rounding.
Can one invoice have more than one VAT rate?
Yes. Group the lines by rate and show a VAT subtotal for each, because each rate is reported separately on the return.