How the numbers are made
- 01
Constants are sourced and dated
Tax brackets, contribution bases and deductions come from the official publisher wherever one exists: IRS and SSA in the US, BOE, AEAT and Seguridad Social in Spain, GOV.UK in the UK. Each constant carries its tax year in the code and on the page. Where we lean on a secondary compilation, the source list below says so.
- 02
Formulas are unit-tested
Every calculator's engine is a pure function with automated tests against hand-worked examples. The engine that renders on the page is the same one under test.
- 03
Your data never leaves the page
Calculators run entirely in your browser. There is no server receiving your income, no analytics event carrying your inputs.
- 04
Corrections are public
When a number is wrong and gets fixed, the fix goes into the dated corrections log below. Silent edits are for typos, not math.
Sources
The documents our constants are checked against, with the date each one was last read. The Spain calculators also show their own list under the result.
Spain
- Orden PJC/297/2026, cotización 2026 (BOE), art. 18: RETA bases and rates Last read
- Seguridad Social: RETA 2026 contribution bases by income bracket Last read
- Seguridad Social, Import@ss: self-employed guide (7% and 3% generic deduction, tarifa plana) Last read
- Ley 35/2006 del IRPF, consolidated text (BOE): arts. 57 and 63 Last read
- Real Decreto 439/2007, IRPF Regulation (BOE): art. 30.2ª, 5% hard-to-justify expenses capped at €2,000 Last read
- Real Decreto 439/2007, IRPF Regulation (BOE): arts. 109 and 110, quarterly prepayments and the low-income reduction Last read
- Agencia Tributaria: modelo 130 instructions, casillas 01 to 19 and deadlines Last read
- AEAT, Renta practical manual: state IRPF scale Last read
- AEAT, Renta practical manual: personal allowance (mínimo del contribuyente) Last read
- AEAT, Renta practical manual: 5% hard-to-justify expenses in estimación directa simplificada Last read
- guiafiscal.es: regional IRPF scales by comunidad (secondary compilation of each regional law) Last read
United States
United Kingdom
Corrections log
- Modelo 130 calculator: the low-income reduction came off the first quarter correctly but was clawed back in later ones, because earlier payments were taken after the reduction. Casilla 05 takes them before it (art. 110.1.a of the IRPF regulation), so it now comes off every quarter, and any part that does not fit carries to the next. For farming activities, the 2% and the withholding now work per quarter, as on the form.
- Spain autónomo calculators (net pay, annual Renta, autónomo or SL): net profit in estimación directa simplificada now subtracts the 5% allowance for hard-to-justify expenses, capped at €2,000 a year (art. 30.2ª of the IRPF Regulation). Before the fix, IRPF was computed without it and came out too high.
Spotted a number that looks wrong? Write to team@myappdesk.dev.