QuantCalc QuantCalc State tax engine docs

State tax docs / Verification

How the state tax engine is verified

What is tested, against what, and where the testing stops. The status of each state below is an audit of the test suite and the engine's cited sources as they stand, not a statement of confidence.

Golden scenarios

155 rows in the engine's golden-scenario file each carry an expected federal tax, state tax and Medicare surcharge computed by hand, independently of the engine, from the published rules. The suite runs the engine on every row and fails if any result is more than $1 away. When a row's derivation follows a state's own form or worksheet line by line, the row says so, and that is what the worksheet-tested class below counts.

Unit tests

The state-tax unit suite has tests for individual rules (a state's exclusion cap, its Social Security formula, its married-filing-separately schedule) and structural tests over every jurisdiction: each state resolves, every bracket table is contiguous with non-decreasing rates, no state uses a placeholder schedule, and calls without a spouse split give results identical to the pooled household calculation.

Status classes

Counts: worksheet-tested 18; statute and instructions cited 24; rate table only 0; no income tax 9.

Per-state status

JurisdictionStatusGolden rowsState-specific unit testsBasis
AlabamaWorksheet-tested77Golden rows follow the Form 40 federal-income-tax worksheet and Schedule RS (per-spouse line 10).
AlaskaNo income tax00No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
ArizonaStatute and instructions cited12Rate, deduction and the 25% long-term-gain subtraction cited to statute; one golden row.
ArkansasStatute and instructions cited16Exact tests of the $6,000 exemption, its IRA age gate and conversions, derived from the statute and the AR1000F booklet cited in the engine.
CaliforniaStatute and instructions cited615Brackets from the Franchise Tax Board's indexed schedule and the mental health services tax from statute; golden rows and unit tests pin them.
ColoradoWorksheet-tested411Golden and unit tests follow form DR 0104 line 1 (federal taxable income) and DR 0104AD line 4 (the pension and Social Security subtraction).
ConnecticutWorksheet-tested411Unit and golden tests follow the CT-1040 Tax Calculation Schedule (Tables C and D) and the Social Security benefit adjustment worksheet.
DelawareWorksheet-tested58Golden and unit tests follow the PIT-RES instructions, Line 6 pension exclusion worksheet (including the per-taxpayer columns).
District of ColumbiaWorksheet-tested33An engine 1.2.0 test follows the 2026 D-40ES head-of-household deduction; golden rows pin the schedule.
FloridaNo income tax11No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
GeorgiaStatute and instructions cited610Exclusion tiers and pooling cited to O.C.G.A. 48-7-27 and Form 500 Schedule 1; golden rows pin them.
HawaiiStatute and instructions cited52The employer-funded pension exemption and the capital-gains alternative tax cited to HRS; golden rows pin them.
IdahoStatute and instructions cited15Rate and the 0% band cited to Idaho Code 63-3024; one golden row.
IllinoisStatute and instructions cited27Full retirement exclusion and exemption cited to statute and IDOR; golden rows pin them.
IndianaStatute and instructions cited12Senior exemptions and the county tax cited to the Indiana Code and Departmental Notice #1; a golden row pins them.
IowaStatute and instructions cited23Full exclusion at 55 and the federal-taxable-income starting point cited to Iowa law and the IA 1040 instructions; golden rows pin them.
KansasStatute and instructions cited21Public-pension exemption and personal exemption cited to K.S.A.; golden rows pin them.
KentuckyWorksheet-tested01A unit test pins the $31,110 exclusion drawn by a Roth conversion, following Schedule P.
LouisianaWorksheet-tested45Golden rows follow the IT-540 instructions' Schedule E code 06E definition of retirement income, including per-spouse rows.
MaineWorksheet-tested36Golden rows follow the Form 1040ME instructions, including the Schedule 1S pension deduction and its conversion rule.
MarylandStatute and instructions cited48The pension exclusion, capital-gains surcharge and county tax cited to the Comptroller; golden rows pin them.
MassachusettsStatute and instructions cited02Flat rate and the 4% surtax cited to the Department of Revenue; unit tests pin them.
MichiganStatute and instructions cited02The retirement deduction is cited to Treasury guidance and pinned by an exact unit test.
MinnesotaStatute and instructions cited24Brackets, head-of-household schedule and the Social Security subtraction cited to the Department of Revenue; golden rows pin them.
MississippiStatute and instructions cited34Full exclusion, exemptions and the 0% band cited to the Mississippi Code and DOR; golden rows pin them.
MissouriWorksheet-tested913Golden and unit tests follow Form MO-A Part 3 Sections A, B and C line by line, including the per-spouse columns.
MontanaWorksheet-tested12A golden row follows Form 2 line 3 (federal taxable income less federal deductions).
NebraskaWorksheet-tested02Engine 1.2.0 tests follow the 2026 Form 1040N-ES rate schedules, including head of household.
NevadaNo income tax00No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
New HampshireNo income tax00No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
New JerseyWorksheet-tested24Engine 1.2.0 tests follow the NJ-1040 pension exclusion worksheet (band percentage of the whole pension) and Tables A and B.
New MexicoStatute and instructions cited44Social Security thresholds and the capital-gain deduction cited to NMSA; golden rows pin them.
New YorkWorksheet-tested811Engine 1.2.0 tests follow the 2026 IT-2105-I tax rate schedules and recapture worksheets, including the head-of-household schedule.
North CarolinaStatute and instructions cited10Rate and deductions cited to the NCDOR and statute; one golden row.
North DakotaWorksheet-tested14Engine 1.2.0 tests follow the 2026 ND-1ES rate schedules for single, joint and head of household.
OhioStatute and instructions cited14Rate schedule cited to the Revised Code; one golden row.
OklahomaWorksheet-tested48Golden and unit tests follow Schedule 511-A line 6, including the per-person exclusion.
OregonStatute and instructions cited22The capped federal-tax subtraction and exemption credit cited to ORS and Publication OR-17; golden rows pin them.
PennsylvaniaStatute and instructions cited24Full exclusion and the taxation of gains cited to the Pennsylvania Code and DOR answers; golden rows pin them.
Rhode IslandStatute and instructions cited65The pension modification and the Social Security test cited to the Division of Taxation's Retirement Income Guide; golden rows pin them.
South CarolinaStatute and instructions cited66The retirement and age-65 deductions cited to the SC Code and a revenue ruling; golden rows pin them.
South DakotaNo income tax00No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
TennesseeNo income tax00No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
TexasNo income tax331No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.
UtahStatute and instructions cited07The taxpayer credit and the Social Security credit cited to the Utah Code; exact unit tests pin them.
VermontStatute and instructions cited17The Social Security phase-out and the $5,000 gain exclusion cited to statute and the Department of Taxes; a golden row and unit tests pin them.
VirginiaWorksheet-tested35Golden and unit tests follow the Form 760 Age Deduction Worksheet (lines 9 to 15).
WashingtonNo income tax02No income tax. The capital-gains excise (RCW 82.87) is pinned by an exact unit test.
West VirginiaWorksheet-tested15A unit test follows the IT-140 Rate Schedule II for married filing separately.
WisconsinWorksheet-tested33Engine 1.2.0 tests follow the 2026 Form 1-ES standard-deduction table, including the head-of-household and MFS rows.
WyomingNo income tax00No broad personal income tax; the engine returns zero, and the golden scenarios include no-tax rows.

Gates

Recurring checks

Open differences between a source and the engine

StateRuleSource saysEngineNote
AZCapital gains25% subtraction only for assets acquired after December 31, 201175%The engine assumes gains are on assets bought after 2011 (75% taxed); it has no acquisition-date input, so gain on older assets is under-taxed by 2.5% of 25% of it.
NYIRA, 401(k) and private pensions59½age 59The engine's age test is a whole year (59); the statute's is 59½.
RIIRA, 401(k) and private pensions$133,500 (Pub 2026-01) vs $133,750 (ADV 2025-22)$133,750Rhode Island's own documents disagree ($133,500 in Pub 2026-01, $133,750 in ADV 2025-22); the engine uses the advisory figure.

Rules without an official source

StateRuleWhy
IDSocial SecurityNo official Idaho source could be fetched: tax.idaho.gov and legislature.idaho.gov (and every *.idaho.gov host tried) refuse connections from this host. No secondary source for Idaho's Social Security exemption was verified either.
IDIRA, 401(k) and private pensionsNo official page states in terms that Idaho has no general retirement exclusion; Idaho Code 63-3022A (see Public pensions and Military retirement pay) lists the only retirement benefits Idaho deducts.
IDRoth conversionsNo official Idaho source could be fetched: tax.idaho.gov and legislature.idaho.gov (and every *.idaho.gov host tried) refuse connections from this host.
IDCapital gainsNo official Idaho source could be fetched: tax.idaho.gov and legislature.idaho.gov (and every *.idaho.gov host tried) refuse connections from this host.
TXNo broad income taxNo official Texas source could be fetched from the checker host (DNS resolution fails for all Texas state domains); only the Tax Foundation 2026 table (secondary) is recorded. Re-run from a host with working DNS for texas.gov and add Tex. Const. art. 8, §24-a (statutes.capitol.texas.gov/Docs/CN/htm/CN.8.htm) as the official source.
WVDeductions, exemptions and creditsThe $2,000 personal exemption (W. Va. Code §11-21-16) could not be sourced: code.wvlegislature.gov and the www.wvlegislature.gov code viewer redirect this host to an unrelated page, and tax.wv.gov timed out on 2026-09-27; no fetched enrolled bill restates the exemption amount.

Sources on the state pages: 627 citations across 380 rule sections.