us-paycheck-tax 0.1.0

2025 US federal income tax (progressive brackets + standard deduction) and FICA take-home math.
Documentation
  • Coverage
  • 53.33%
    8 out of 15 items documented1 out of 7 items with examples
  • Size
  • Source code size: 6.67 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 356.52 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • theluckystrike

us-paycheck-tax

2025 US federal income tax (progressive brackets + standard deduction) and FICA (Social Security + Medicare) — the core of a paycheck / take-home calculation. Pure Rust, no deps.

Same figures behind the StateWage paycheck calculator — see take-home pay by state.

use us_paycheck_tax::{take_home, FilingStatus};
let (net, fed, fica) = take_home(75_000.0, FilingStatus::Single);

Figures: 2025 IRS brackets, standard deduction $15,000 (single) / $30,000 (married), FICA 6.2% Social Security (wage base $176,100) + 1.45% Medicare (+0.9% additional above $200k/$250k). State/local tax and pre-tax deductions are out of scope here.

License: MIT