Methodology · Tested 2026-11-20
How we test our 2026 tax calculators
Saying a formula was “checked against the IRS” isn't proof. So here is every test case the 2026 federal tax engine has to pass: the inputs, the answer worked out separately from the IRS sources, what our calculator returns, and whether they match. This page runs the cases against the live code each time the site is built, so it can't drift from what you use.
- Cases passing (within $1)
- 25/25Cases passing (within $1)
- Also worked by hand below
- 8Also worked by hand below
- Tax year tested
- 2026Tax year tested
What these tests cover
One tax engine powers the W-4 Withholding Calculator and the Tax Refund Calculator, so both are covered by the same cases. They include every filing status the calculators offer, all seven brackets, the standard and itemized deductions, the extra deduction at 65, the new 2025–2028 deductions (senior, tips, overtime, car loan interest), the charity deduction for people who don't itemize, the child tax credit with its phase-out and refundable part, qualified dividends and long-term gains at 0%, 15% and 20%, the $3,000 capital loss limit, and the 3.8% net investment income tax.
Where the expected answers come from
They are not produced by the calculator. They come from a separate reference program written straight from the primary sources: IRS Revenue Procedure 2025-32 (2026 brackets, standard deduction, capital gain thresholds), the Qualified Dividends and Capital Gain Tax Worksheet in the Form 1040 instructions, the One, Big, Beautiful Bill Act deductions as described in IRS Fact Sheet 2025-03, and the Internal Revenue Code sections for the child tax credit (§24), capital losses (§1211) and the net investment income tax (§1411). A case passes only if every figure (income, taxable income, tax, credits, investment income tax and the refundable credit) matches to within $1.
What they don't prove
- Situations the calculators don't model aren't tested: the Earned Income Tax Credit, education credits, self-employment tax, AMT and state tax.
- We use exact bracket math. The IRS Tax Table for incomes under $100,000 works in $50 bands, so a return filed with the table can differ from our figure by a few dollars.
- Matching the law doesn't make a result right for you if an input is off. Your pay stub and last year's return are the best inputs.
All 25 cases
| Case | Filing | Taxable income | Expected tax | Our calculator | Result |
|---|---|---|---|---|---|
| Single, $65,000 wages | Single | $48,900 | $5,620 | $5,620 | Pass |
| Single, no income | Single | $0 | $0 | $0 | Pass |
| Single, wages equal to the standard deduction | Single | $0 | $0 | $0 | Pass |
| Single, $50,000 wages | Single | $33,900 | $3,820 | $3,820 | Pass |
| Single, $700,000 wages (37% bracket) | Single | $683,900 | $209,000.25 | $209,000.25 | Pass |
| Married jointly, $120,000, two children | Married jointly | $87,800 | $5,640 | $5,640 | Pass |
| Head of household, $55,000, one child | Head of household | $30,850 | $1,148 | $1,148 | Pass |
| Head of household, $30,000, two children (refundable ACTC)Refundable child credit: $3,400 | Head of household | $5,850 | $0 | $0 | Pass |
| Single, $250,000, one child (credit fully phased out) | Single | $233,900 | $51,304 | $51,304 | Pass |
| Married jointly, $450,000, two children (partial phase-out) | Married jointly | $417,800 | $84,708 | $84,708 | Pass |
| Married jointly, $90,000, one child and one other dependent | Married jointly | $57,800 | $3,740 | $3,740 | Pass |
| Single, age 65+, $60,000 | Single | $35,850 | $4,054 | $4,054 | Pass |
| Married jointly, both 65+, $180,000 (senior deduction phasing out) | Married jointly | $136,100 | $19,366 | $19,366 | Pass |
| Single, $45,000 wages including $10,000 qualified tips | Single | $18,900 | $2,020 | $2,020 | Pass |
| Married jointly, $160,000 with $20,000 qualified overtime premium | Married jointly | $107,800 | $13,140 | $13,140 | Pass |
| Single, $120,000 with $8,000 new-car loan interest (phasing out) | Single | $99,900 | $16,690 | $16,690 | Pass |
| Single, $100,000, $30,000 itemized deductions | Single | $70,000 | $10,112 | $10,112 | Pass |
| Married jointly, $85,000, $2,500 cash to charity, standard deduction | Married jointly | $50,800 | $5,600 | $5,600 | Pass |
| Single, $70,000 with $7,000 deductible IRA | Single | $46,900 | $5,380 | $5,380 | Pass |
| Single, $40,000 wages + $10,000 qualified dividends (0% rate) | Single | $33,900 | $2,620 | $2,620 | Pass |
| Single, $50,000 wages + $30,000 long-term gain (straddles 0% and 15%) | Single | $63,900 | $5,987.5 | $5,987.5 | Pass |
| Single, $80,000 wages + $20,000 long-term gain (15% rate) | Single | $83,900 | $11,770 | $11,770 | Pass |
| Married jointly, $300,000 wages + $100,000 gain + $20,000 qualified dividends (NIIT)Includes investment income tax of $4,560 | Married jointly | $387,800 | $72,028 | $72,028 | Pass |
| Single, $600,000 wages + $200,000 long-term gain (20% rate + NIIT)Includes investment income tax of $7,600 | Single | $783,900 | $220,734.25 | $220,734.25 | Pass |
| Single, $60,000 wages, $10,000 net capital loss ($3,000 limit) | Single | $40,900 | $4,660 | $4,660 | Pass |
“Tax” is federal income tax after non-refundable credits, plus the net investment income tax where it applies.
Cases worked by hand
- Single, $65,000 wages
- $65,000 − $16,100 = $48,900; 10% × $12,400 + 12% × $36,500 = $5,620.
- Married jointly, $120,000, two children
- $120,000 − $32,200 = $87,800; $2,480 + 12% × $63,000 = $10,040; minus 2 × $2,200 = $5,640.
- Head of household, $30,000, two children (refundable ACTC)
- Taxable $5,850 × 10% = $585, wiped out by the credit; refundable part = lesser of $4,400 − $585, 2 × $1,700, 15% × ($30,000 − $2,500) = $3,400.
- Married jointly, both 65+, $180,000 (senior deduction phasing out)
- Senior deduction $6,000 − 6% × ($180,000 − $150,000) = $4,200 each; $180,000 − ($32,200 + 2 × $1,650) − $8,400 = $136,100.
- Single, $120,000 with $8,000 new-car loan interest (phasing out)
- $8,000 cut by $200 × 20 = $4,000 (income $20,000 over $100,000); $120,000 − $16,100 − $4,000 = $99,900.
- Single, $50,000 wages + $30,000 long-term gain (straddles 0% and 15%)
- Ordinary $33,900 → $3,820; 0% band fills to $49,450, so $15,550 of the gain is at 0% and $14,450 at 15% = $2,167.50; total $5,987.50.
- Married jointly, $300,000 wages + $100,000 gain + $20,000 qualified dividends (NIIT)
- NIIT 3.8% × lesser of $120,000 investment income and $420,000 − $250,000 = $4,560.
- Single, $60,000 wages, $10,000 net capital loss ($3,000 limit)
- Only $3,000 of the $10,000 loss counts this year: $57,000 − $16,100 = $40,900.
When the law or a figure changes
The same cases run before every change to the code. If a new figure (for example, the 2027 brackets) is added, it gets its own set of cases here before it goes live, and the change is recorded on the changelog. If you think a result is wrong, send us the inputs and we'll check it against the primary source.