Rule japan_income_tax v1

The quick-calculation table of income tax. It multiplies the taxable income by the rate, subtracts the deduction, and adds the special income tax for reconstruction

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[JPY]1000JPY to 10_000_000_000JPYThe amount after dropping the fraction below 1,000 yen. The table starts at 1,000 yen

Outputs

NameTypeRoundingNotes
taxmoney[JPY]down(1JPY) (rounded down to 1JPY)Taxable income is in units of 1,000 yen and the rates are whole percents, so no fraction arises
surtaxmoney[JPY]down(1JPY) (rounded down to 1JPY)2.1% of the base income tax amount. The page says nothing about a fraction below one yen, so round down is a placeholder

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
taxDefinitiontaxable * rate - deduction
surtaxDefinitiontax * 2.1%Source: the same page, "2.1 percent of the base income tax amount"

Table brackets (policy unique)

Source: National Tax Agency, Tax Answer No. 2260, Income tax rates (laws and regulations as of 1 April 2026)

ColumnSource
taxableInput
→ rate(this table only)
→ deduction(this table only)
#taxable→ rate (rate)→ deduction (money[JPY])
1<1_950_000JPY (less than 1_950_000JPY)5%0JPY
2>=1_950_000JPY <3_300_000JPY (1_950_000JPY or more and less than 3_300_000JPY)10%97_500JPY
3>=3_300_000JPY <6_950_000JPY (3_300_000JPY or more and less than 6_950_000JPY)20%427_500JPY
4>=6_950_000JPY <9_000_000JPY (6_950_000JPY or more and less than 9_000_000JPY)23%636_000JPY
5>=9_000_000JPY <18_000_000JPY (9_000_000JPY or more and less than 18_000_000JPY)33%1_536_000JPY
6>=18_000_000JPY <40_000_000JPY (18_000_000JPY or more and less than 40_000_000JPY)40%2_796_000JPY
7>=40_000_000JPY (40_000_000JPY or more)45%4_796_000JPY

What rulec check verified

Examples (verified)

taxable→ taxsurtaxNotes
7_000_000JPY974_000JPY20_454JPYThe same page's worked example: 7,000,000 yen * 0.23 - 636,000 yen = 974,000 yen
1_949_000JPY97_450JPY2046JPYThe top of the 5% band. 2,046.45 yen, rounded down (a placeholder)
1_950_000JPY97_500JPY2047JPYThe bottom of the 10% band. Thanks to the deduction it differs from the row above by only 50 yen

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