uk-paye 0.1.0

2025/26 UK income tax (England/Wales/NI) bands, personal allowance taper, and National Insurance.
Documentation
  • Coverage
  • 38.46%
    5 out of 13 items documented1 out of 5 items with examples
  • Size
  • Source code size: 6.09 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 290.46 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • theluckystrike

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 uk_paye::take_home;
let (net, tax, ni) = take_home(50_000.0); // 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