Rule us_income_tax_2026 v1

The 2026 federal income tax of an unmarried individual, transcribed from the IRS rate table

Try a case

Enter the inputs: the rows that match light up and the outputs appear. What runs is the generated code itself, and the line it would write to a log is shown as it is.


Inputs

NameTypeRangeNotes
taxablemoney[USDc]0USDc to 100_000_000_000USDcup to a billion dollars, in cents

Outputs

NameTypeRoundingNotes
taxmoney[USDc]down(1USDc) (rounded down to 1USDc)

Derived Values and Definitions

Intermediate values that can be placed in a table column. The expressions are as written in the source file, and the ranges are the declared ones.

NameKindExpressionRangeNotes
excessDefinitiontaxable − floor
taxDefinitionbase + excess × rate

Table brackets (policy unique)

ColumnSource
taxableInput
→ base(this table only)
→ rate(this table only)
→ floor(this table only)
#taxable→ base (money[USDc])→ rate (rate)→ floor (money[USDc])Notes
1<=1240000USDc (1240000USDc or less)0USDc10%0USDc
2>1240000USDc <=5040000USDc (more than 1240000USDc and 5040000USDc or less)124000USDc12%1240000USDcSource: irs table1
3>5040000USDc <=10570000USDc (more than 5040000USDc and 10570000USDc or less)580000USDc22%5040000USDcSource: irs table1
4>10570000USDc <=20177500USDc (more than 10570000USDc and 20177500USDc or less)1796600USDc24%10570000USDcSource: irs table1
5>20177500USDc <=25622500USDc (more than 20177500USDc and 25622500USDc or less)4102400USDc32%20177500USDcSource: irs table1
6>25622500USDc <=64060000USDc (more than 25622500USDc and 64060000USDc or less)5844800USDc35%25622500USDcSource: irs table1
7>64060000USDc (more than 64060000USDc)19297925USDc37%64060000USDcSource: irs table1

What rulec check verified

Examples (verified)

taxable→ taxNotes
1000000USDc100000USDc$10,000, all of it in the first bracket
1240000USDc124000USDcthe top of the first bracket, which is the second one's base
6000000USDc791200USDc$60,000: $5,800 + 22% of $9,600
100000000USDc32595725USDc$1,000,000: $192,979.25 + 37% of $359,400

rulec check ran these 4 examples through the reference evaluator, and every one produced the declared values (E107). The examples are an executable specification.