This is the tax section of the formula verification report, which explains what each kind of case tests, how the counts are produced and what they do not prove; how to read the report walks through a single row. Rows run from the largest suite to the smallest; each row's address ends in the calculator's slug, so one calculator's evidence can be linked and cited on its own. The test file behind every row, and the per-kind numbers, are in the machine-readable report.
Every tax calculator, with its case mix
| Calculator | Cases | Case mix |
|---|---|---|
| Average Cost Basis Calculator | 6,730 | 68 independent · 19 golden · 18 boundary · 6,600 property · 25 structural |
| Indexation Calculator | 6,730 | 68 independent · 19 golden · 18 boundary · 6,600 property · 25 structural |
| Canada GST HST PST Calculator | 5,144 | 64 independent · 31 golden · 15 boundary · 5,000 property · 34 structural |
| Contractor TDS Calculator | 5,144 | 64 independent · 31 golden · 15 boundary · 5,000 property · 34 structural |
| India GST Calculator | 5,144 | 64 independent · 31 golden · 15 boundary · 5,000 property · 34 structural |
| Salary TDS Calculator | 5,144 | 64 independent · 31 golden · 15 boundary · 5,000 property · 34 structural |
| UK VAT Calculator | 5,144 | 64 independent · 31 golden · 15 boundary · 5,000 property · 34 structural |
| Salary & Take-Home Pay Calculator | 430 | 23 independent · 181 golden · 38 boundary · 150 property · 38 structural |
| Income Tax Calculator | 161 | 30 independent · 67 golden · 36 boundary · 16 property · 12 structural |
| VAT/GST Calculator | 151 | 6 independent · 35 golden · 53 boundary · 16 property · 41 structural |
| Bonus Tax Calculator | 81 | 6 independent · 21 golden · 9 boundary · 9 property · 36 structural |
| Estimated Tax Payment Calculator | 81 | 6 independent · 21 golden · 9 boundary · 9 property · 36 structural |
| Overtime Tax Calculator | 81 | 6 independent · 21 golden · 9 boundary · 9 property · 36 structural |
| Payroll Tax Calculator | 81 | 6 independent · 21 golden · 9 boundary · 9 property · 36 structural |
| Capital Gains Tax Calculator | 79 | 17 independent · 20 golden · 14 boundary · 12 property · 16 structural |
| Self-Employment Tax Calculator | 79 | 17 independent · 20 golden · 14 boundary · 12 property · 16 structural |
| Australian Income Tax Calculator | 77 | 43 independent · 12 golden · 11 boundary · 9 property · 2 structural |
| Tax Refund Calculator | 75 | 21 golden · 9 boundary · 9 property · 36 structural |
| India Income Tax Calculator | 53 | 23 independent · 8 golden · 13 boundary · 7 property · 2 structural |
| Corporate Tax Calculator | 51 | 5 independent · 11 golden · 5 boundary · 6 property · 24 structural |
| Quarterly Tax Calculator | 51 | 5 independent · 11 golden · 5 boundary · 6 property · 24 structural |
| Dividend Tax Calculator | 46 | 11 golden · 5 boundary · 6 property · 24 structural |
| UK Income Tax Calculator | 46 | 19 independent · 15 golden · 6 boundary · 3 property · 3 structural |
| Effective Tax Rate Calculator | 44 | 2 independent · 8 golden · 6 boundary · 4 property · 24 structural |
| Taxable Income Calculator | 44 | 2 independent · 8 golden · 6 boundary · 4 property · 24 structural |
| Sales Tax Calculator | 25 | 2 independent · 8 golden · 10 boundary · 3 property · 2 structural |
| Global Import Duty Calculator | 20 | 15 golden · 4 boundary · 1 structural |
| Canadian Income Tax Calculator | 19 | 4 independent · 6 golden · 2 boundary · 5 property · 2 structural |
What each suite checks
Counts say how much was checked; these say what. Each case below is quoted from its test file exactly as the runner recorded it, in the order the cases run, independent cross-checks first. Where a suite has more cases than fit, the count in brackets says how many of that kind exist in total. The 8 largest suites in this category are shown; the other 10 are in the machine-readable report.
Capital gains and cost basis engines (stock, mutual fund, indexation, cost basis, averaging, interest income)
6,730 passing cases behind Indexation Calculator and Average Cost Basis Calculator: 68 independent cross-check, 19 golden, 18 boundary, 6,600 property and 25 structural.
- Independent cross-check — Stock: 100 shares 500->800 gain recomputed
- Independent cross-check — Stock: 100 shares tax recomputed
- Independent cross-check — Stock: 100 shares proceeds recomputed
- Independent cross-check — Stock: 100 shares net gain is the gain less the tax
- Independent cross-check — Stock: 50 shares 1500->1200 gain recomputed
- Independent cross-check — Stock: 50 shares tax recomputed
6 of 68 independent cross-check cases shown. The test file is scripts/validate-capgains-basis-defs-engine.cjs.
Indirect tax and withholding engines (India GST, UK VAT, Canada GST/HST/PST, TDS variants)
5,144 passing cases behind India GST Calculator, UK VAT Calculator, Canada GST HST PST Calculator, Salary TDS Calculator and Contractor TDS Calculator: 64 independent cross-check, 31 golden, 15 boundary, 5,000 property and 34 structural.
- Independent cross-check — India GST: 1000 at 18% round-trips back to the base
- Independent cross-check — India GST: 1000 at 18% tax recomputed
- Independent cross-check — India GST: taking 18% of the gross overstates the tax
- Independent cross-check — India GST: 499.99 at 5% round-trips back to the base
- Independent cross-check — India GST: 499.99 at 5% tax recomputed
- Independent cross-check — India GST: taking 5% of the gross overstates the tax
6 of 64 independent cross-check cases shown. The test file is scripts/validate-indirect-tax-defs-engine.cjs.
Take-home-pay engine
430 passing cases behind Salary & Take-Home Pay Calculator: 23 independent cross-check, 181 golden, 38 boundary, 150 property and 38 structural.
- Independent cross-check — EPFO: 12% of ₹20,000 PF wages is ₹2,400 a month
- Independent cross-check — EPFO: the ₹25,000 ceiling is the config the engine applies
- Independent cross-check — EPFO: under the old ₹15,000 ceiling the same wage paid ₹1,800
- Independent cross-check — CRA: base CPP maximum $3,519.45
- Independent cross-check — CRA: first additional $711 + CPP2 $416 deducted from income
- Independent cross-check — CRA: EI maximum $1,123.07
6 of 23 independent cross-check cases shown. The test file is scripts/validate-take-home-pay-engine.cjs.
Income tax engine
161 passing cases behind Income Tax Calculator: 30 independent cross-check, 67 golden, 36 boundary, 16 property and 12 structural.
- Independent cross-check — IRS Schedule X (2026): taxable income $12,400 owes $1,240
- Independent cross-check — IRS Schedule X (2026): taxable income $50,400 owes $5,800
- Independent cross-check — IRS Schedule X (2026): taxable income $105,700 owes $17,966
- Independent cross-check — IRS Schedule X (2026): taxable income $201,775 owes $41,024
- Independent cross-check — IRS Schedule X (2026): taxable income $256,225 owes $58,448
- Independent cross-check — IRS Schedule X (2026): taxable income $640,600 owes $192,979.25
6 of 30 independent cross-check cases shown. The test file is scripts/validate-income-tax-engine.cjs.
VAT engine
151 passing cases behind VAT/GST Calculator: 6 independent cross-check, 35 golden, 53 boundary, 16 property and 41 structural.
- Independent cross-check — GOV.UK: a £60 chair plus 20% VAT is £72
- Independent cross-check — GOV.UK: a £200 car seat plus 5% VAT is £210
- Independent cross-check — GOV.UK: £180 including 20% VAT is £150 before VAT and £30 of VAT
- Independent cross-check — VAT Notice 700: the VAT in £2.40 at 20% is 40 pence
- Independent cross-check — VAT Notice 700: the VAT fraction at 20% is one-sixth
- Independent cross-check — VAT Notice 700: the VAT fraction at 5% is one twenty-first
6 of 6 independent cross-check cases shown. The test file is scripts/validate-vat-engine.cjs.
Planning & US tax engines (FIRE, depreciation, CGT, SE tax)
79 passing cases behind Capital Gains Tax Calculator and Self-Employment Tax Calculator: 17 independent cross-check, 20 golden, 14 boundary, 12 property and 16 structural.
- Independent cross-check — FIRE: the accumulation loop matches the closed-form solve
- Independent cross-check — CGT: 12 months qualifies as long-term
- Independent cross-check — CGT: 11 months does not
- Independent cross-check — CGT: single filer, short-term on 75,000 → the 22% band
- Independent cross-check — CGT: selling a month early costs more tax
- Independent cross-check — CGT: joint filers on 75,000 are in the 12% band, not 22%
6 of 17 independent cross-check cases shown. The test file is scripts/validate-planning-tax-defs-engine.cjs.
Australian income tax engine (2026-27 and 2025-26, residents and foreign residents)
77 passing cases behind Australian Income Tax Calculator: 43 independent cross-check, 12 golden, 11 boundary, 9 property and 2 structural.
- Independent cross-check — ATO 2026-27: $4,020 on $45,000
- Independent cross-check — ATO 2026-27: $31,020 on $135,000
- Independent cross-check — ATO 2026-27: $51,370 on $190,000
- Independent cross-check — ATO 2025-26: $4,288 on $45,000
- Independent cross-check — ATO 2025-26: $31,288 on $135,000
- Independent cross-check — ATO 2025-26: $51,638 on $190,000
6 of 43 independent cross-check cases shown. The test file is scripts/validate-australia-income-tax-engine.cjs.
Withholding and deduction engines
75 passing cases behind Estimated Tax Payment Calculator, Tax Refund Calculator, Bonus Tax Calculator, Overtime Tax Calculator and Payroll Tax Calculator: 21 golden, 9 boundary, 9 property and 36 structural.
- Golden — Itemised: the categories total 19,000
- Golden — Itemised: 19,000 beats the 16,100 standard deduction
- Golden — Itemised: the extra 2,900 saves 638 at 22%
- Golden — Estimated: 18% of 90,000 is 16,200 of tax
- Golden — Estimated: 10,200 remains after withholding
- Golden — Estimated: 2,550 a quarter
6 of 21 golden cases shown. The test file is scripts/validate-withholding-defs-engine.cjs.
