State tax docs / States / Montana
Montana state income tax: engine rules, 2026
How the QuantCalc engine computes Montana tax for tax year 2026, rule by rule, with the official source for each rule. Verification status: Worksheet-tested (what this means).
On this page: How the tax is computed · Rate schedule · Deductions, exemptions and credits · Age 65+ subtractions and credits · Social Security · IRA, 401(k) and private pensions · Public pensions · Military retirement pay · Roth conversions · Capital gains · Interaction with the federal return · Worked examples · Not calculated ·
Verification. Machine-readable: this state's entry in the
engine config and the provenance file
(key MT).
How the tax is computed
Every step the engine takes for Montana, in the order it takes them. Steps marked with a filing status or household type apply only there. Each step links the section below that carries Montana's figures and the official sources for it; the calculation order page describes every step for all jurisdictions.
What each filing status gets, read back from the engine for a household with $1 of income (so below every phase-out and income test):
| Single | Married filing jointly | Married filing separately | Head of household | |
|---|---|---|---|---|
| Rate schedule used | single schedule | joint schedule | joint schedule, thresholds halved | head-of-household schedule |
| Top rate | 5.65% from $47,500 | 5.65% from $95,000 | 5.65% from $47,500 | 5.65% from $71,250 |
| Standard deduction, under 65 | $16,100 | $32,200 | $16,100 | $24,150 |
| Standard deduction at 70 (joint: both 70) | $16,100 | $32,200 | $16,100 | $24,150 |
| Personal exemption | none | none | none | none |
| Age subtractions at 70 (joint: both 70) | $5,660 | $11,320 | $5,660 | $5,660 |
- Per-person mode joint returns with the spouse's age given On a joint return with the spouse's age given, every age test the state applies per taxpayer is evaluated for each spouse at their own age. Without it one household age applies to both.
engine step (compute_state_tax_detail). Engine convention, no external source: The engine cannot know the second spouse's age unless told. - Rate schedule and standard deduction by filing status Single uses the single schedule and deduction; married filing jointly the joint ones. Head of household and married filing separately follow the two steps below.
Montana's values · engine step (select_brackets). Sources (Rate schedule): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture of revenue.mt.gov, 2026-09-09) (checked 2026-09-27); Montana tax simplification resource hub (checked 2026-09-27); Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill (checked 2026-09-27) - Married filing separately Where the state publishes its own separate schedule, that one (with half the joint deduction unless a separate deduction is set). Where one schedule applies to every status, that schedule unscaled with the single deduction. Otherwise the joint schedule with every threshold and the deduction halved (computed as the joint tax on twice the income, halved).
Montana's values · engine step (select_brackets). Sources (Rate schedule): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture of revenue.mt.gov, 2026-09-09) (checked 2026-09-27); Montana tax simplification resource hub (checked 2026-09-27); Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill (checked 2026-09-27) - Head of household The state's head-of-household schedule where it has one, else the single schedule; the head-of-household deduction where set, else the single deduction.
Montana's values · engine step (select_brackets). Sources (Rate schedule): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture of revenue.mt.gov, 2026-09-09) (checked 2026-09-27); Montana tax simplification resource hub (checked 2026-09-27); Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill (checked 2026-09-27) - The income total every income test uses Other ordinary income + retirement distributions (before any exclusion) + conversion + federally taxable Social Security + long-term gains. It stands in for federal adjusted gross income in every threshold, cliff and phase-out below; state subtractions do not reduce it.
engine step (compute_state_tax_detail). Engine convention, no external source: The inputs are the federal AGI components, so their sum is federal AGI for these income types. - Attributing income to each spouse joint returns with each spouse's own amounts given With a caller's split (the API's
spouseobject), each spouse's own distributions, pension, public pension, conversion, wages and military pay; spouse 2's shares are clamped into the household totals and spouse 1 gets the rest. Without a split, in per-person mode, every item is divided 50/50. Social Security, other ordinary income and gains are always divided 50/50 where a rule needs a per-person amount. The split is used only where a state's rule is per taxpayer; household totals stay authoritative for the base and the income tests.
engine step (compute_state_tax_detail). Engine convention, no external source: Equal attribution is the neutral split when the owner of a dollar is not known. - Keeping the per-spouse shares inside the household joint returns with each spouse's own amounts given After the public-pension and employer-pension carve-outs, if the two spouses' remaining shares add up to more than the household's exclusion-eligible distributions (an inconsistent split), spouse 1's share is reduced so they do not.
engine step (compute_state_tax_detail). Engine convention, no external source: Input normalisation. - Military retirement pay The state's military rule runs first, on military pay alone, per taxpayer: each spouse's own pay at their own age when attributed, otherwise half each at the household age on a joint return. Exempt dollars leave the base; the rest become pension dollars for the general retirement rules.
Montana's values · engine step (compute_state_tax_detail). Sources (Military retirement pay): Wmre (checked 2026-09-27); Working military retirement exemption (checked 2026-09-27) - Which Social Security threshold applies Joint returns use the joint threshold; head of household uses it too where the state says so, otherwise the single one; married filing separately uses its own threshold where set, else the single one. Benefits are tested against the income total above.
Montana's values · engine step (ss_amount_in_state_base). Sources (Social Security): Montana Tax Simplification Resource Hub (Wayback Machine capture of revenue.mt.gov, 2026-05-14) (checked 2026-09-27) - Social Security: the federal amount The federally taxable amount enters the base as it is.
Montana's values · engine step (ss_amount_in_state_base). Sources (Social Security): Montana Tax Simplification Resource Hub (Wayback Machine capture of revenue.mt.gov, 2026-05-14) (checked 2026-09-27) - Retirement exclusion (household) The distributions eligible for the exclusion go through the exclusion below. Taxable public-pension dollars left by a cap are not eligible; below the IRA age only employer-plan dollars are.
Montana's values · engine step (compute_state_tax_detail). Sources (IRA, 401(k) and private pensions): Montana Tax Simplification Resource Hub (Wayback Machine capture of revenue.mt.gov, 2026-05-14) (checked 2026-09-27); 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture of revenuefiles.mt.gov, 2026-01-05) (checked 2026-09-27) - Conversion taxed or exempt In full-exclusion states a conversion is exempt at the qualifying age (at any age where the state says so). Elsewhere, unless pooled above, it is ordinary income taxed in full.
Montana's values · engine step (compute_state_tax_detail). Sources (Roth conversions): MCA 15-30-2120 Adjustments to federal taxable income to determine Montana taxable income (Wayback Machine capture, 2026-06-11) (checked 2026-09-27) - Long-term gains in the base Where gains are taxed as ordinary income: net long-term gain less the flat exclusion (never below zero), times the inclusion share. Elsewhere none enters.
Montana's values · engine step (compute_state_tax_detail). Sources (Capital gains): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Wayback Machine capture, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture, 2026-09-09) (checked 2026-09-27) - Age subtraction At or above the age: the single amount, or the joint amount on a joint return (both spouses at the household age). In per-person mode, half the joint amount (or the single amount) per qualifying spouse. Plus the low-income amount below the income test; less the military exclusion where the statute says so; limited to the spouse's own income where the statute says so.
Montana's values · engine step (compute_state_tax_detail). Sources (Age 65+ subtractions and credits): 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture, 2026-01-05) (checked 2026-09-27); MCA 15-30-2120 (Wayback Machine capture, 2026-06-11) (checked 2026-09-27) - State taxable income Other ordinary income + Social Security, retirement income, conversion and gains left in the base − standard deduction − personal exemption − age subtractions.
engine step (compute_state_tax_detail). Engine convention, no external source: The order of subtraction follows the state forms; each amount is sourced at its own step. - Starting from federal taxable income only when the caller supplies federal taxable income (the planner; not the API) When the caller supplies federal taxable income (the planner does; the API does not), the base starts from it, adds the gains in it (less the state's gain subtraction), and subtracts the state's own exclusions and subtractions; the state's deduction is not subtracted again.
Montana's values · engine step (compute_state_tax_detail). Sources (Interaction with the federal return): MCA 15-30-2120 Adjustments to federal taxable income to determine Montana taxable income (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-06-11) (checked 2026-09-27); 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture of revenuefiles.mt.gov, 2026-01-05) (checked 2026-09-27) - No tax at or below zero State taxable income at or below zero returns a tax of 0 (credits are not refundable and nothing below applies).
engine step (compute_state_tax_detail). Engine convention, no external source: Every credit the engine carries is nonrefundable, so nothing below can make a zero tax negative; each credit is sourced at its own step. - Separate-return scaling married filing separately For the halved-joint rule, taxable income is doubled before the schedule and the result halved.
Montana's values · engine step (compute_state_tax_detail). Sources (Rate schedule): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture of revenue.mt.gov, 2026-09-09) (checked 2026-09-27); Montana tax simplification resource hub (checked 2026-09-27); Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill (checked 2026-09-27) - The rate schedule Each bracket's rate on the part of taxable income inside it, summed. No rounding: the result is carried in full precision.
Montana's values · engine step (apply_state_brackets). Sources (Rate schedule): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture of revenue.mt.gov, 2026-09-09) (checked 2026-09-27); Montana tax simplification resource hub (checked 2026-09-27); Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill (checked 2026-09-27) - Own schedule for long-term gains The gain in the base (at most the taxable income) is taken out of the schedule and taxed at the lower gains rate up to the first ordinary bracket's top, stacked on the ordinary income, and at the upper rate above; this replaces the schedule tax.
Montana's values · engine step (compute_state_tax_detail). Sources (Capital gains): MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Wayback Machine capture, 2026-05-12) (checked 2026-09-27); HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture, 2026-09-09) (checked 2026-09-27) - Credits cannot make the tax negative The credits are subtracted and the result floored at zero.
engine step (compute_state_tax_detail). Engine convention, no external source: Every credit the engine carries is nonrefundable; each credit is sourced at its own step.
Rate schedule
Single
| Taxable income from | to | Rate |
|---|---|---|
| $0 | $47,500 | 4.7% |
| $47,500 | and up | 5.65% |
Married filing jointly
| Taxable income from | to | Rate |
|---|---|---|
| $0 | $95,000 | 4.7% |
| $95,000 | and up | 5.65% |
Head of household
| Taxable income from | to | Rate |
|---|---|---|
| $0 | $71,250 | 4.7% |
| $71,250 | and up | 5.65% |
Married filing separately: the engine computes the MFJ tax on twice the income and halves it, which is the same as halving every MFJ threshold and the MFJ deduction.
- MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-05-12), Montana Legislature. Montana taxes ordinary taxable income at 4.7% up to $47,500 single, $95,000 joint or $71,250 head of household, and 5.65% above. Checked 2026-09-27.
- HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture of revenue.mt.gov, 2026-09-09), Montana Department of Revenue. For tax year 2026 Montana's rates are 4.7% on taxable income up to $47,500 single/MFS, $71,250 head of household and $95,000 joint, and 5.65% above; long-term gains keep their 3.0%/4.1% rates. Checked 2026-09-27.
- Montana tax simplification resource hub, Montana Department of Revenue (archived copy). Montana Department of Revenue: "This means that if you take the federal standard deduction, it will be used to figure your Montana taxable income." Checked 2026-09-27.
- Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill, irs.gov. irs.gov: "for heads of households, the standard deduction will be $24,150" Checked 2026-09-27.
Deductions, exemptions and credits
- Standard deduction (or the exemption the engine carries in its place): $16,100 single, $32,200 married filing jointly, $24,150 head of household.
Source review notes (what the sources do not state outright, or what the engine does not carry):
- The engine's $16,100/$32,200 are the 2026 federal standard deduction amounts; no Montana page states them, and no IRS page was fetched for them.
- Montana Tax Simplification Resource Hub (Wayback Machine capture of revenue.mt.gov, 2026-05-14), Montana Department of Revenue. Montana has no standard deduction of its own; taxable income starts from federal taxable income, so the federal standard (or itemized) deduction applies. Checked 2026-09-27.
- 0150 0300 0210 0030, mca.legmt.gov (archived copy). mca.legmt.gov: "(b) for every head of household: (i) on the first $71,250 of Montana taxable income or any part of that income, 4.7%" Checked 2026-09-27.
- Irs releases tax inflation adjustments for tax year 2026 including amendments from the one big beautiful bill, irs.gov. irs.gov: "for heads of households, the standard deduction will be $24,150" Checked 2026-09-27.
Age 65+ subtractions and credits
- At age 65 or older: $5,660 is subtracted from the base ($11,320 for a married couple filing jointly when both qualify), against any income. With the spouse's age given, each spouse qualifies on their own age.
Source review notes (what the sources do not state outright, or what the engine does not carry):
- The 2026 indexed senior subtraction (due by November 1, 2025 under MCA 15-30-2120(7)) was not found on any fetchable page; the engine uses the 2025 $5,660.
- 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture, 2026-01-05), Montana Department of Revenue. Each taxpayer 65+ subtracts $5,660 from federal taxable income for 2025 ($11,320 when both joint filers are 65+). Checked 2026-09-27.
- MCA 15-30-2120 (Wayback Machine capture, 2026-06-11), Montana Legislature. The age-65 subtraction is a $5,500 base per taxpayer, multiplied by the inflation factor by November 1 each year and rounded to the nearest $10. Checked 2026-09-27.
IRA, 401(k) and private pensions
- No exclusion: pension, annuity and IRA/401(k) distributions are taxed as ordinary income.
- Montana Tax Simplification Resource Hub (Wayback Machine capture of revenue.mt.gov, 2026-05-14), Montana Department of Revenue. Montana repealed its partial pension, annuity and IRA deduction starting 2024, so private retirement distributions are taxed as they are in federal taxable income. Checked 2026-09-27.
- 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture of revenuefiles.mt.gov, 2026-01-05), Montana Department of Revenue. Schedule I subtractions include no pension, annuity or IRA line; only Railroad Retirement Tier I/II benefits and certain military retirement pay of working retirees are subtracted. Checked 2026-09-27.
Public pensions
No separate treatment: public pensions follow the rules for other retirement income above.
Source review notes (what the sources do not state outright, or what the engine does not carry):
- No official page states in words that civilian government pensions are fully taxable; it follows from the federal-taxable-income base and the Schedule I list.
- 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture of revenuefiles.mt.gov, 2026-01-05), Montana Department of Revenue. Government pensions have no Schedule I subtraction (apart from Railroad Retirement and the working-military-retiree subtraction) and are taxed like other pensions through federal taxable income. Checked 2026-09-27.
Military retirement pay
- No military-specific rule: military retirement pay is pension income under the general retirement rules above.
- Rules are applied per taxpayer at that person's own age when the spouse's age is given. API value:
rules.militaryRetirement.treatment: "taxable_as_pension".
- Wmre, Montana Department of Revenue (archived copy). Montana's working military retirement exemption depends on residency and earned income over a five-year window, which the engine does not model; military pay is taxed as a pension. Checked 2026-09-27.
- Working military retirement exemption, Montana Department of Revenue (archived copy). Montana's working military retirement exemption depends on residency and earned income over a five-year window, which the engine does not model; military pay is taxed as a pension. Checked 2026-09-27.
Roth conversions
A conversion is taxed as ordinary income in full. It does not draw any retirement-income exclusion.
- MCA 15-30-2120 Adjustments to federal taxable income to determine Montana taxable income (Wayback Machine capture, 2026-06-11), Montana Legislature. Montana starts from federal taxable income and has no conversion subtraction, so a Roth conversion's federally taxable amount is Montana ordinary income. Checked 2026-09-27.
Capital gains
- Net long-term gain is taxed as ordinary income.
- Gains are taxed on their own schedule, stacked on top of ordinary income: 3% up to the first ordinary bracket threshold, 4.1% above it.
- Short-term gains are ordinary income.
- MCA 15-30-2103 Rate of tax -- net long-term capital gains -- definitions (Wayback Machine capture, 2026-05-12), Montana Legislature. Net long-term capital gains are taxed at 3.0% on the part that, stacked on nonqualified (ordinary) taxable income, stays within the first ordinary bracket ($95,000 joint, $71,250 HOH, $47,500 single) and at 4.1% above it. Checked 2026-09-27.
- HB 337: 2026-2027 Montana Individual Income Tax Changes (Wayback Machine capture, 2026-09-09), Montana Department of Revenue. HB 337 keeps the 3.0% and 4.1% long-term capital gains rates and moves their breakpoints to the new ordinary brackets. Checked 2026-09-27.
Interaction with the federal return
- The state base starts from federal taxable income when the caller supplies it (engine input
fed_taxable_ordinary, used by the planner; the API does not take it), so the real federal deductions carry through; otherwise the engine rebuilds the base from income components minus the deduction shown above.
- MCA 15-30-2120 Adjustments to federal taxable income to determine Montana taxable income (Montana Code Annotated 2025; Wayback Machine capture of mca.legmt.gov, 2026-06-11), Montana Legislature. Montana taxable income is federal taxable income plus the listed additions and minus the listed subtractions. Checked 2026-09-27.
- 2025 Montana Form 2 Individual Income Tax Return (Wayback Machine capture of revenuefiles.mt.gov, 2026-01-05), Montana Department of Revenue. Form 2 line 3 is federal AGI minus the federal standard/itemized deduction (Form 1040 lines 12e and 13b), before Montana additions and subtractions. Checked 2026-09-27.
Worked examples
Computed by the engine for the fixed households below (the same ones for every state, so states compare directly). Federal tax is not supplied, so a federal-tax deduction is not taken; the income tests use the sum of the components as income.
| Household (engine inputs) | State tax |
|---|---|
| Single, 67: $30,000 private pension, $20,000 IRA, $10,000 interest, $24,000 Social Security ($17,000 federally taxable), $5,000 long-term gain | $2,874.81 |
| Married filing jointly, 70: $40,000 public pension, $40,000 IRA, $20,000 interest, $40,000 Social Security ($34,000 federally taxable), $10,000 long-term gain | $4,612.84 |
| Single, 60: $60,000 other ordinary income and a $50,000 Roth conversion | $4,854.10 |
| Married filing jointly, 66: $30,000 IRA, a $40,000 Roth conversion, $30,000 Social Security ($25,500 federally taxable) | $2,443.06 |
| Single, 58: $36,000 military retirement pay and $30,000 wages | $2,368.10 |
| Married filing jointly, ages 67 and 61: $50,000 IRA, $10,000 interest, $30,000 Social Security ($25,500 federally taxable), each spouse's age given | $2,239.08 |
Line by line
The intermediate lines the engine records while it computes each example (its detail record, printed as it comes out; lines that are zero are left out). The engine's documentation build checks that the lines add up to the taxable income and the tax, for every state, filing status and a grid of households. Each line links the engine step that produces it.
Single, 67: $30,000 private pension, $20,000 IRA, $10,000 interest, $24,000 Social Security ($17,000 federally taxable), $5,000 long-term gain: $2,874.81
| Line | Amount |
|---|---|
| Income total used by the income tests | $82,000 |
| + Other ordinary income in the base | $10,000 |
| + Social Security in the base | $17,000 |
| + Retirement income in the base | $50,000 |
| + Long-term gain in the base | $5,000 |
| − Standard deduction | $16,100 |
| − Age subtractions and deductions | $5,660 |
| = State taxable income | $60,240 |
| Tax from the rate schedule | $2,952.31 |
| ± Own gains schedule (replaces the schedule tax on the gain) | −$77.50 |
| = Tax before credits | $2,874.81 |
| = Tax | $2,874.81 |
Married filing jointly, 70: $40,000 public pension, $40,000 IRA, $20,000 interest, $40,000 Social Security ($34,000 federally taxable), $10,000 long-term gain: $4,612.84
| Line | Amount |
|---|---|
| Income total used by the income tests | $144,000 |
| + Other ordinary income in the base | $20,000 |
| + Social Security in the base | $34,000 |
| + Retirement income in the base | $80,000 |
| + Long-term gain in the base | $10,000 |
| − Standard deduction | $32,200 |
| − Age subtractions and deductions | $11,320 |
| = State taxable income | $100,480 |
| Tax from the rate schedule | $4,774.62 |
| ± Own gains schedule (replaces the schedule tax on the gain) | −$161.78 |
| = Tax before credits | $4,612.84 |
| = Tax | $4,612.84 |
Single, 60: $60,000 other ordinary income and a $50,000 Roth conversion: $4,854.10
| Line | Amount |
|---|---|
| Income total used by the income tests | $110,000 |
| + Other ordinary income in the base | $60,000 |
| + Roth conversion in the base | $50,000 |
| − Standard deduction | $16,100 |
| = State taxable income | $93,900 |
| Tax from the rate schedule | $4,854.10 |
| = Tax before credits | $4,854.10 |
| = Tax | $4,854.10 |
Married filing jointly, 66: $30,000 IRA, a $40,000 Roth conversion, $30,000 Social Security ($25,500 federally taxable): $2,443.06
| Line | Amount |
|---|---|
| Income total used by the income tests | $95,500 |
| + Social Security in the base | $25,500 |
| + Retirement income in the base | $30,000 |
| + Roth conversion in the base | $40,000 |
| − Standard deduction | $32,200 |
| − Age subtractions and deductions | $11,320 |
| = State taxable income | $51,980 |
| Tax from the rate schedule | $2,443.06 |
| = Tax before credits | $2,443.06 |
| = Tax | $2,443.06 |
Single, 58: $36,000 military retirement pay and $30,000 wages: $2,368.10
| Line | Amount |
|---|---|
| Income total used by the income tests | $66,000 |
| + Other ordinary income in the base | $30,000 |
| + Retirement income in the base | $36,000 |
| − Standard deduction | $16,100 |
| = State taxable income | $49,900 |
| Tax from the rate schedule | $2,368.10 |
| = Tax before credits | $2,368.10 |
| = Tax | $2,368.10 |
Married filing jointly, ages 67 and 61: $50,000 IRA, $10,000 interest, $30,000 Social Security ($25,500 federally taxable), each spouse's age given: $2,239.08
| Line | Amount |
|---|---|
| Income total used by the income tests | $85,500 |
| + Other ordinary income in the base | $10,000 |
| + Social Security in the base | $25,500 |
| + Retirement income in the base | $50,000 |
| − Standard deduction | $32,200 |
| − Age subtractions and deductions | $5,660 |
| = State taxable income | $47,640 |
| Tax from the rate schedule | $2,239.08 |
| = Tax before credits | $2,239.08 |
| = Tax | $2,239.08 |
What the engine does not calculate, and known approximations
- The senior subtraction is the 2025 indexed amount ($5,660), used for 2026 until the 2026 figure is published.
- The working military retirement exemption (the lesser of half the military retirement pay or qualifying Montana income, for up to five consecutive years) is not calculated: it depends on residency and work history the inputs do not carry. Sources: Wmre (checked 2026-09-27); Working military retirement exemption (checked 2026-09-27).
What the engine does not calculate for any state (itemized deductions, credits beyond those listed, part-year residents, dependents, blindness and disability, and more) is listed on the calculation order page.
Verification
Worksheet-tested A golden row follows Form 2 line 3 (federal taxable income less federal deductions).
- Golden scenarios (hand-computed expected tax, asserted to within $1):
M10. - State-specific unit tests:
test_mt_reduced_ltcg_rates,test_hoh_federal_deduction_states. - Structural tests covering every state: 3.
- State forms and worksheets followed in the test derivations: Form 2 line 3.
Social Security
The federally taxable amount is taxed as it is, with no state threshold.
API value:
socialSecurityRule: "federal_conformity". The engine's input is the federally taxable amount; income tests use the sum of the income components as the adjusted-gross-income proxy.