Accuracy tests

Every time this site is built, the calculation engine is run against the cases below and the build fails if any of them is off by more than a cent. A larger suite (30 tests) runs in the engine's own test runner before any rate file is changed. Last build: 25 October 2026. Engine and rate tables last reviewed: 25 October 2026.

CaseExpectedEngineResult
US: $75,000 single, Texas gives $61,592.50 take-home (2026 brackets, std deduction $16,100, FICA)61,592.5061,592.50pass
US: $60,000 single, federal only gives federal tax $5,0205,020.005,020.00pass
US: $100,000 married filing jointly gives federal tax $7,6407,640.007,640.00pass
US: $250,000 single gives Social Security capped at $11,439 (wage base $184,500)11,439.0011,439.00pass
US: Illinois $60,000 gives state tax 4.95% of ($60,000 minus $2,925) = $2,825.212,825.212,825.21pass
US: California $75,000 single gives state tax $2,787.85 and SDI $9752,787.852,787.85pass
UK: £30,000 England 1257L gives £25,119.6025,119.6025,119.60pass
UK: £150,000 England gives income tax £53,703, NI £5,010.6053,703.0053,703.00pass
UK: £50,000 Scotland gives income tax £8,982.05 across four bands8,982.058,982.05pass
UK: Plan 2 loan at £35,000 gives £505.35505.35505.35pass
VAT: remove 20% from £100 gives £83.33 net83.3383.33pass
VAT: add 19% to €100 gives €119119.00119.00pass

What the tests cover

Known limits (and what is coming)

Found a discrepancy? Tell us with the inputs and the source you compared against. Confirmed corrections go into the changelog.