The 2025 federal income tax of an unmarried individual, transcribed from the IRS rate table
- Inputs
- taxable (0 to 100,000,000,000 USDc)
- Outputs
- tax (-23174950 to 37,018,876,975 USDc)
- Source
sources/us-tax-rate-tables-2025.md
| Name | What it is | Try it, or read its code |
|---|---|---|
| us_income_tax_2025 | The 2025 federal income tax of an unmarried individual, transcribed from the IRS rate table | TryCode |
| us_income_tax_2026 | The 2026 federal income tax of an unmarried individual, transcribed from the IRS rate table | TryCode |
The federal income tax of an unmarried individual in the United States, as rules of rulec, for a module of ritsu to use: a rule for each taxable year. Each reads the rate table of the Internal Revenue Service, kept beside it and pinned by its SHA-256.
| File | Rule | Taxable years beginning in | Table |
|---|---|---|---|
us_income_tax_2026.rule | us_income_tax_2026 | 2026 | Rev. Proc. 2025-32, section 4.01, Table 3 |
us_income_tax_2025.rule | us_income_tax_2025 | 2025 | Rev. Proc. 2024-40, section 3.01, Table 3 |
The tables are of Section 1(j)(2)(C): unmarried individuals, other than surviving spouses and heads of households. A rule takes the taxable income, in cents, and gives the tax. Working out the taxable income is not in it. The rules transcribe the tables, to be read against them. They are not tax advice.
Add the module, add the line that checks its signature to your ritsu.mod, and fetch it:
$ ritsu mod add us_income_tax ghcr.io/i2y/ritsu-us-income-tax@1.0.1
signature "ghcr.io/i2y/ritsu-us-income-tax" by matching "^https://github[.]com/i2y/ritsu/" issuer "https://token.actions.githubusercontent.com"
$ ritsu mod fetch
Then read it from your own code of kaname or dandori:
use rule tax from "@us_income_tax/us_income_tax_2026.rule"
THIRD_PARTY_NOTICES.md lists the copies under sources/.
The rules are under the MIT License or the Apache License, version 2.0, at your option, as ritsu is.
A version that adds the rule of a new taxable year raises the minor version. A version that renames a file or removes one, or changes the inputs or outputs of a rule, raises the major version. A version that changes only the words of this README raises the patch version.
Each page is drawn by its language from the file at this version.
The 2025 federal income tax of an unmarried individual, transcribed from the IRS rate table
sources/us-tax-rate-tables-2025.mdThe 2026 federal income tax of an unmarried individual, transcribed from the IRS rate table
sources/us-tax-rate-tables-2026.mdritsu compares every input, or says it cannot decide. It does not sample.
ritsu mod diff --format markdown writes it| Change | File |
|---|---|
| changed | README.ja.md |
| changed | README.md |
| changed | ritsu.mod |
us_income_tax_2025.rule (rulec): the same answersus_income_tax_2026.rule (rulec): the same answersREADME.ja.md (digest): its bytes changedREADME.md (digest): its bytes changedNo difference in behavior or in an interface.
| us_income_tax_2025.rule | 2,384 B |
| us_income_tax_2026.rule | 2,381 B |
| README.ja.md | 2,091 B |
| README.md | 1,815 B |
| THIRD_PARTY_NOTICES.md | 728 B |
| ritsu.mod | 440 B |