uk-paye
2025/26 UK income tax (England, Wales, Northern Ireland) and National Insurance (Class 1 employee) — the core of a take-home calculation. Pure Rust, no deps.
Same figures behind the UKMoneyCalc calculator suite.
use take_home;
let = take_home; // GBP gross
Figures: personal allowance £12,570 (tapered above £100,000), basic 20% to £50,270, higher 40% to £125,140, additional 45% above. NI 8% between £12,570 and £50,270, 2% above. Scotland and pre-tax deductions (pension, student loan) are out of scope here.
License: MIT