Free tool · VAT
VAT rounding checker: does line-by-line VAT match VAT on the total?
Two correct methods can differ by a halala, fils or baisa or two. Enter your invoice lines, pick your country and see whether adding VAT line by line and on the invoice total give the same figure.
Last updated:
Published:
Compare VAT per line with VAT on the invoice total
In shortThis free checker adds VAT to each invoice line and rounds it, then works out VAT once on the whole total, and shows the difference between the two. It offers Saudi Arabia, the UAE, Oman and Bahrain with their standard rates and exact 2- or 3-decimal rounding. It reports the gap; it does not decide which method is right.
United Arab Emirates: standard VAT 5%, in UAE dirham (AED). The tool shows both methods and does not decide which one is right.
Everything stays in your browser. Nothing is uploaded or saved.
Result
Enter the figures to see the result.
The two methods, and why they can differ
In shortLine by line, the VAT of each line is rounded to the smallest unit and the results are added. On the total, the lines are added first and the VAT is worked out and rounded once. When a line's VAT falls exactly half-way between two units, rounding each line can add up to a unit more than rounding the total.
line net = round_half_up(quantity * unit price)
per line = sum( round_half_up(line net * rate / 100) )
on total = round_half_up( sum(line net) * rate / 100 )
difference = per line - on totalWhy a half-way line matters
A line of AED 12.30 at 5% has VAT of exactly half a unit before rounding, so each line rounds up. Three such lines gain three halves, while the total, AED 36.90, loses only one half and rounds once. That is how the two methods end up one unit apart.
Line totals are exact first
Each line total is the quantity, up to three decimals, times the unit price in whole minor units, rounded half-up once. Only then is VAT worked out, so the two methods start from identical line totals and differ only in where the rounding happens.
Worked examples in each VAT country
In shortThree lines of AED 12.30 at 5% have VAT of AED 0.62 each when rounded line by line, AED 1.86 in all, but worked out once on the AED 36.90 total the VAT is AED 1.85. The difference is AED 0.01. Every figure comes from the checker's own functions.
Three half-way lines in four countries
| Country | Each line (rate) | VAT on one line | VAT line by line | VAT on the total | Difference |
|---|---|---|---|---|---|
| Saudi Arabia | SAR 12.30 (15%) | SAR 1.85 | SAR 5.55 | SAR 5.54 | SAR 0.01 |
| United Arab Emirates | AED 12.30 (5%) | AED 0.62 | AED 1.86 | AED 1.85 | AED 0.01 |
| Oman | OMR 12.310 (5%) | OMR 0.616 | OMR 1.848 | OMR 1.847 | OMR 0.001 |
| Bahrain | BHD 12.305 (10%) | BHD 1.231 | BHD 3.693 | BHD 3.692 | BHD 0.001 |
Three Omani lines
OMR 1.011 + OMR 2.011 + OMR 3.011 is OMR 6.033 before VAT. Rounded line by line the VAT adds up to OMR 0.303; worked out once on the total it is OMR 0.302. The difference is OMR 0.001, a single baisa, which is easy to miss when you reconcile.
Rates and decimals by country
In shortThe checker uses each country's standard VAT rate and currency decimals: 15% and 2 decimals in Saudi Arabia, 5% and 2 in the UAE, 5% and 3 in Oman, 10% and 3 in Bahrain. With 3 decimals a gap shows up as a single baisa or fils. Rates were reviewed on 20 November 2026; confirm them with the tax authority.
This site's regulatory notes for Oman say that totals must be exact to the baisa and that line-level and invoice-level rounding must be consistent, which is why a one-baisa gap is worth settling. Confirm what applies to you with the Oman Tax Authority. Details for the other countries: Saudi Arabia, UAE, Bahrain.
| Country | Currency and decimals | Standard VAT | Authority |
|---|---|---|---|
| Saudi Arabia | SAR, 2 decimals | 15% | ZATCA |
| United Arab Emirates | AED, 2 decimals | 5% | FTA / MoF |
| Oman | OMR, 3 decimals | 5% | OTA |
| Bahrain | BHD, 3 decimals | 10% | NBR |
What the result leaves out, and which method to use
In shortThe checker does not decide which method your business should use; that is for your accountant and the tax authority's guidance. It treats every line as taxed at the standard rate, with no discounts, zero-rated or exempt lines, and shows one invoice at a time. Check that your software applies the same method every time.
Agree one method
The tool shows both so you can see the difference. Which one your business uses is something to agree with your accountant, and to check against your tax authority's guidance. Then apply it every time.
Every line at the standard rate
Lines that are zero-rated or exempt, or invoices with a discount, need a different calculation. Enter only the taxed lines here, or ask your accountant how the invoice should be split.
Small gaps add up
A small difference on one invoice grows over a month, and it shows up when you reconcile your VAT summary with your invoices. Check a few invoices before the end of a period, not on filing day.
Your software must do the same
The desktop app keeps 2- and 3-decimal amounts exact and builds VAT return reports from your own data; see the accounting module and the GCC VAT setup guide, then download the app.
Basis of the figures
In shortAmounts are converted to whole minor units before any multiplication, and every rounding is half-up, to the currency's smallest unit. Rates come from this site's country data, reviewed on 20 November 2026. The checker quotes no regulator rule about which rounding method is required, only the standard rates, and your tax authority has the final say.
Browsers hold decimals as binary floating-point numbers, so a plain calculation can round a half-way amount the wrong way. Working in whole minor units with integer arithmetic keeps the result exact. For a single add-or-extract on one price, use the GCC VAT calculator.
Frequently asked questions
Which method is the right one?
The tool does not decide. It shows both so you can see the difference. The method your business uses is something to agree with your accountant and to check against your tax authority's guidance; the important part is to use the same method on every invoice.
How can two correct methods give different VAT?
Rounding happens in a different place. Line by line rounds each line's VAT and adds the results; on the total adds the lines first and rounds once. When a line's VAT is exactly half a unit, as with three lines of AED 12.30 at 5%, the two come out AED 0.01 apart.
Why does a baisa or fils matter?
A small difference on one invoice grows over a month, and it shows up when you reconcile your VAT summary with your invoices. With 3-decimal currencies such as OMR and BHD a single baisa or fils is visible in the totals, so it is worth settling one method.
What should I do if the two methods differ?
Ask your accountant which method your business uses, then check that your invoicing software does the same. Agree one method, apply it on every invoice, and check the tax authority's guidance for your country if you are unsure what it expects.
Which countries and rates does it use?
Saudi Arabia 15%, Bahrain 10%, the UAE 5% and Oman 5%, the standard rates in this site's country data reviewed on 20 November 2026. Qatar and Kuwait have no VAT in force and are not offered. Confirm rates with your tax authority before you file.
Is what I enter sent anywhere?
No. The calculation runs in your browser with no network request and nothing is stored. Closing or reloading the page clears what you typed. The only thing that can leave the page is a result you choose to copy or download.
Related pages
- GCC VAT calculatorFree GCC VAT calculator: add or extract VAT for Saudi Arabia (15%), Bahrain (10%), UAE (5%) and Oman (5%) with exact 2- and 3-decimal rounding.
- Credit note calculatorFree credit note calculator for Saudi Arabia, UAE, Oman and Bahrain: enter the invoice and the credit amount to see the VAT credited and what remains.
- GCC VAT setup guideSet up VAT in RaqamBooks by country: 15% Saudi Arabia, 10% Bahrain, 5% UAE and Oman, 0% Qatar and Kuwait, 2 or 3 decimals, item types and VAT returns.
- Accounting & VAT ReportsChart of accounts, trial balance, P&L, balance sheet and VAT return reports with exact 2-decimal (SAR, AED, QAR) and 3-decimal (KWD, BHD, OMR) amounts.
- GCC VAT accountingGCC VAT accounting guide: rates for Saudi Arabia, Bahrain, UAE and Oman, zero-rated vs exempt, 2 and 3 decimal rounding, reverse charge and VAT returns.
No install needed
Download RaqamBooks and run your business offline
Install it on your own computer, keep your data local and avoid per-user monthly cloud fees. Early version for Windows 10/11 and macOS 13 or later (Apple chip and Intel chip).
All downloads, checksums and install guideSee pricingTalk to us