Back

24 September 2026 · 6 min read

Tax & VAT

How to Calculate VAT on an Invoice

The arithmetic of VAT is simple right up to the moment it is not: an inclusive price needs the tax taken out backwards, a discount changes which number you multiply, and a cent can land in two different places depending on where you round. This is the arithmetic, worked slowly, with the traps marked.

Two questions before any calculation

Before a single number is multiplied, two answers decide everything that follows. Getting them the wrong way round is the source of most VAT arithmetic errors — not the multiplication itself.

  • Is this price exclusive or inclusive of VAT? An exclusive price needs tax added; an inclusive price already contains it and needs it extracted backwards.
  • Who is doing the arithmetic? A VAT-registered vendor adds the tax as a visible line. A business that is not registered does not add it at all — the invoice just shows the price.

The standard rate used below is 15%, which is where the South African rate sits as of the 2026 tax year (SARS's VAT pages are the source to check if that ever moves).

Adding VAT: the easy direction

For an exclusive price, multiply by 0.15 to get the tax, and add it for the total. Three plain examples:

Net (excl. VAT)VAT at 15%Total (incl. VAT)
R500R75R575
R2,400R360R2,760
R12,000R1,800R13,800

On the invoice, the net amounts sit in the line items and the tax gets its own labelled line above the total. The client's eye should never have to reconstruct which portion of a number is tax.

Removing VAT: divide, do not subtract

Now the direction that catches people. A quote says R13,800 inclusive of VAT, and you need the net and the tax inside it. Subtracting 15% of R13,800 looks obvious and is wrong: R13,800 − R2,070 = R11,730, which is not the original net price.

The reason is that the 15% was calculated on the smaller number, not on the final one. To undo it, divide the inclusive total by 1.15: R13,800 ÷ 1.15 = R12,000. The tax component is what remains — R1,800. Equivalently, the tax is the inclusive amount multiplied by 15/115 (R13,800 × 0.1304… ≈ R1,800).

The size of the mistake scales with the amount: on R13,800 the naive subtraction is off by R270, and it is always off in the same direction — it overstates the tax and understates your net. If you remember one line from this article, make it the division by 1.15.

Discounts: the order of operations

When a discount applies, it comes off first and the tax multiplies the discounted amount. The tax is calculated on what the client actually pays for the supply, so the discount reduces the base before VAT touches it.

Work an example: a R10,000 project with a R1,500 discount. The net after discount is R8,500; VAT at 15% is R1,275; the invoice total reads R9,775. Applying VAT to the pre-discount figure instead would overstate the tax by R225 — and it is the kind of quiet inconsistency that makes a client's accounts team ask questions.

Rounding, and where the cent goes

Rounding is where two honest methods drift apart. Round each line to the cent and add the rounded taxes, or sum the net first, round that, and calculate one tax for the invoice. The difference is small, but it exists:

Three lines of R100.03 give a net of R300.09. Per line, 15% is R15.0045, which rounds to R15.00 each — R45.00 in tax. Invoice-wide, R300.09 × 15% = R45.0135, which rounds to R45.01. One cent, two perfectly reasonable answers.

The fix is not a better formula; it is a convention. Choose the method your accounting records will use, apply it everywhere, and make sure the visible lines reconcile — a client who adds your columns should arrive at your total, cent for cent.

Mixed rates on one invoice

Invoices sometimes carry both standard-rated and zero-rated supplies. The arithmetic part is straightforward: zero-rated lines contribute nothing to the tax, and only the standard-rated values are multiplied by 15%. The harder part is classification — which of your supplies qualify for 0% or exemption is a tax question, not a calculation, and it is covered in the VAT invoice requirements guide. The calculator can only multiply what you have decided.

The editor does this arithmetic for you

FreeInvoices stores your standard rate once in Settings and applies it per document — VAT, exempt, or none — so the tax line is always a calculation rather than a copy-paste. Line discounts and a document-level discount reduce the base first, the totals recompute as you type, and the guide walks through where each control lives. Checking the arithmetic by hand before you send is still a good habit; the point is that the document and your check should never disagree.

This article is about arithmetic, not tax advice — which supplies carry which rate is a question for SARS's guidance or a registered tax practitioner.

Frequently asked questions

Is VAT calculated before or after a discount?

After. The tax applies to the discounted amount the client actually pays, so the sequence is: line amounts, then discount, then VAT on the result. Reversing the order inflates the tax and the invoice total along with it.

Why is taking VAT off not the same as subtracting 15%?

Because the percentage was charged on the smaller, exclusive amount — subtracting it from the final price removes too much. Dividing the inclusive total by 1.15 restores the original base, and the difference between the two answers is exactly the amount people over-claim by mistake.

Where should the VAT amount appear on the invoice?

As its own line between the net subtotal and the final total, with the rate named next to it — for example "VAT (15%)" — so the client can verify the tax without recalculating your lines.

Sources

Set your VAT rate once, choose the treatment per document, and let the editor keep the tax line and totals consistent — then export the finished invoice as an A4 PDF.

Calculate an invoice in the editor