WorkingFigures

How the numbers are made

  1. 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.

  2. 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.

  3. 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.

  4. 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.

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.