Compare old vs new tax regime
compare_regimesCalculate tax under both old and new regimes for the same income, compare results side by side, and see the recommended regime with the amount saved.
Instructions
Compute tax under BOTH regimes for the same income and return a side-by-side comparison with the recommended regime and the savings amount. Pass the old-regime deductions you could actually claim; the new regime ignores them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fy | No | Fiscal year, e.g. '2025-26' (AY 2026-27) | 2025-26 |
| ageBand | No | Age band: below60, senior (60-79), superSenior (80+). Affects old-regime exemption only. | below60 |
| ltcg112A | No | Long-term capital gains under section 112A in INR, BEFORE the 1.25L exemption | |
| stcg111A | No | Short-term capital gains under section 111A (listed equity, STT paid) in INR | |
| deductions | No | Old regime only: total Chapter VI-A deductions (80C, 80D, ...) in INR. Ignored under the new regime. | |
| otherIncome | No | Other normal-rate income in INR (interest, net rent, etc.) | |
| salaryIncome | No | Gross salary income in INR, before standard deduction |