Guide
Rounding and precision
How amounts and the Nexus ratio are calculated and rounded, and what to check yourself.
This page explains how the app rounds, where it does not round at all, and what you should check yourself. The short version: the calculation is exact, and each amount is rounded once, to the grosz, at the very end.
What is calculated exactly
Every amount is stored as a whole number of grosze, so there are no fractions of a grosz anywhere and no floating-point numbers. Sums and products are done in integers of any size, so amounts of billions of PLN do not lose a digit.
The Nexus ratio is stored as an exact fraction (for example 13/15), never as a rounded percentage. The percentage shown, such as 86.6667%, is only a label for that fraction.
- A single amount can be at most 9,007,199,254.74 PLN.
- Documented A–D totals, losses and deductions in the tax settings: at most 1,000,000,000.00 PLN each.
Rounded once, at the end
A calculated amount is rounded once, to the grosz, after the whole calculation has been done exactly. The rule is the standard arithmetic one: below half a grosz rounds down, half a grosz or more rounds up (away from zero for a negative amount, as Excel's ROUND does).
Example: 7,000.00 PLN of profit times Nexus 13/15 is exactly 6,066.666… PLN, which becomes 6,066.67 PLN. Rounding the ratio to 86.67% first would have given 6,066.90 PLN.
Splitting an amount between lines
When one amount has to be divided (an invoice between IP rights by share, a cost between the invoices of a month), each part is rounded to the grosz and the parts are arranged so that they add up to the whole exactly. No grosz is lost or invented.
Lines, monthly totals and the annex
The qualified profit of the lines of one IP right is rounded together: the exact running total is rounded once at each line, and the line takes the difference. So the lines of a right add up exactly to the right's whole, and any running total is within one grosz of the exact figure, however many lines there are.
The price is that one line can be a grosz away from its own multiplication (income minus cost, times the ratio), because a grosz is carried to the next line. The PIT/IP annex works from the exact sums and rounds once per IP right. Before losses and B+R deductions, its figure for a right equals the sum of that right's lines.
Whole zloty on the tax return
Return fields that the form asks for in whole zloty are rounded at the end: amounts under 50 groszy are dropped and 50 groszy or more is rounded up to the next zloty (the rule of art. 63 § 1 of the Tax Ordinance; check the current text). Nothing earlier in the calculation is rounded to whole zloty.
The app prepares workings. Confirm the return with your tax adviser.
What you type
A percentage you type, such as a revenue share or a Nexus value on a line, is kept to two decimals (0.01%); further decimals are rounded when you save. After saving you see exactly what the calculation uses. If you mean one third, 33.33% is 0.0033% short: on a 100,000 PLN invoice that is 3.33 PLN. Decide the share you want and check the value shown.
Amounts can be typed with at most two decimals; more are refused, not silently rounded. Do not use a comma or a dot as a thousands separator: 1,500 is read as 1.50. Write 1500.00 (a space such as 1 500,00 is ignored).
Spreadsheets and your own checks
Excel cells hold numbers, and Excel shows them in the cell's format. The Nexus cell shows four decimals but holds the ratio with more digits, and carries a note with the exact fraction (for example 13/15). When you check by hand, multiply by the fraction in the note, not by the displayed four decimals.
If you round every row in your own spreadsheet, its total can differ by a grosz from the app's, which rounds once at the end.
Reports made before exact ratios
Reports created before the ratio was calculated exactly keep the ratios rounded to 0.01% that were applied then, and their amounts do not change. A note at the top of the report says so. To calculate exactly, regenerate the report or, if it is pinned, generate a new draft. A pinned report never changes.
See also
Was this page helpful?
Thank you!