India Tax Regime Calculator
Compare Section 115BAC New Tax Regime against Old Regime with 80C, 80D, HRA, and standard deduction optimization.
Unlike conventional calculator sites that send your financial numbers, payload data, or code snippets across remote web servers, Affi-Chain processes all mathematical derivations, algorithms, and data parsing 100% locally within your browser sandbox. No tracking cookies, no server-side retention, and zero transmission lag.
Legislative Foundations of Indian Income Taxation
The India Tax Regime Calculator models individual income tax liabilities under the Income-tax Act, 1961, providing an exact side-by-side comparative analysis between the New Tax Regime (Section 115BAC) and the Old Tax Regime for Indian resident taxpayers across Financial Year 2024–25 (Assessment Year 2025–26) and subsequent union budget revisions.
+---------------------------------------------------------------------------------------------------+
| INDIAN TAX POLICY DUAL REGIME DIVERGENCE |
+---------------------------------------------------------------------------------------------------+
| NEW TAX REGIME (Default u/s 115BAC) OLD TAX REGIME (Optional Opt-In) |
| - Concessional progressive tax slabs - Steeper progressive tax rates |
| - Standard Deduction: ₹75,000 (Salaried) - Standard Deduction: ₹50,000 |
| - Section 87A Rebate: Zero tax up to ₹7.0 Lakhs Net Income - Full deductions allowed: |
| - Foregoes 70+ exemptions (80C, 80D, HRA, Sec 24b) * Section 80C (EPF/PPF/ELSS: ₹1.5L)|
| - Frictionless, zero-documentation filing * Section 80D (Health: ₹25k-₹50k) |
| * Section 24b (Home Loan: ₹2.0L) |
| * HRA Exemption (Section 10(13A)) |
+---------------------------------------------------------------------------------------------------+
The Structural Shift: Exemption-Heavy vs. Concessional Slabs
Historically, Indian taxpayers relied on aggressive itemized deductions under Chapter VI-A to suppress taxable income. The Finance Act transformed this paradigm:
- The Old Regime: Encouraged long-term savings in specific tax-advantaged financial instruments (PPF, ELSS mutual funds, life insurance, home purchase mortgages). However, it burdened taxpayers with complex documentation and high peak rates kicking in at relatively low income thresholds (20% above ₹5 Lakhs, 30% above ₹10 Lakhs).
- The New Regime (Section 115BAC): Designed as the default tax regime, it offers significantly wider tax slabs and lower marginal rates in exchange for eliminating exemptions. For the vast majority of salaried employees who do not service large housing loans or claim significant House Rent Allowance (HRA), the New Regime universally yields superior post-tax cash flows.
Detailed Tax Slabs & Rebate Formulations
TAX COMPUTATION FORMULAS MATRIX
GROSS TOTAL INCOME (GTI): GTI = Salary + Business + Capital Gains + Other Sources
NET TAXABLE INCOME (NTI): NTI = GTI - Standard Deduction - Eligible Exemptions
BASIC INCOME TAX: Tax_basic = Σ ( Slabs(NTI) )
SECTION 87A FULL REBATE: If NTI ≤ Threshold: Tax_rebate = min(Tax_basic, Limit)
HEALTH & EDUCATION CESS: Total Tax = ( Tax_basic - Rebate + Surcharge ) · 1.04
+---------------------------------------------------------------------------------------------------+
| INCOME TAX SLAB COMPARISON (FY 2024-25) |
+---------------------------------------------------------------------------------------------------+
| Income Slab Range (₹) New Regime Rate (Section 115BAC) Old Regime Rate (General) |
| ----------------------------- ----------------------------------- --------------------------- |
| ₹0 to ₹2,50,000 **Nil** **Nil** |
| ₹2,50,001 to ₹3,00,000 **Nil** 5% |
| ₹3,00,001 to ₹5,00,000 5% 5% |
| ₹5,00,001 to ₹7,00,000 5% **20%** |
| ₹7,00,001 to ₹10,00,000 **10%** **20%** |
| ₹10,00,001 to ₹12,00,000 **15%** **30%** |
| ₹12,00,001 to ₹15,00,000 **20%** **30%** |
| Above ₹15,00,000 **30%** **30%** |
+---------------------------------------------------------------------------------------------------+
The Section 87A Rebate & Marginal Relief Mechanism
- New Regime: Section 87A grants a full tax rebate of up to ₹25,000 for resident individuals with Net Taxable Income up to ₹7,00,000. Factoring in the enhanced salaried standard deduction of ₹75,000, a salaried employee earning gross income up to ₹7,75,000 pays zero income tax.
- Old Regime: Section 87A rebate is capped at ₹12,500 for taxable income up to ₹5,00,000 (effective zero tax up to ₹5,50,000 for salaried individuals).
Production Code Implementation
Python: Comprehensive FY 2024-25 Income Tax Comparison Engine
#!/usr/bin/env python3
"""
Production Indian Income Tax Engine (FY 2024-25 / AY 2025-26).
Computes exact tax liabilities across New (Sec 115BAC) and Old Regimes,
evaluates Section 87A rebates, 4% Health & Education Cess, and determines
the exact breakeven deduction threshold.
"""
from decimal import Decimal, ROUND_HALF_UP
from typing import Dict
from dataclasses import dataclass
@dataclass
class TaxpayerDeductions:
gross_salary: Decimal
other_income: Decimal = Decimal("0.00")
sec_80c_investment: Decimal = Decimal("0.00") # Max ₹1,50,000
sec_80d_health_insurance: Decimal = Decimal("0.00")# Max ₹25,000 (Self) / ₹50,000 (Seniors)
sec_24b_home_loan_interest: Decimal = Decimal("0.00") # Max ₹2,00,000 (SOP)
hra_exemption: Decimal = Decimal("0.00") # Sec 10(13A)
other_chapter_via: Decimal = Decimal("0.00") # NPS 80CCD(1B), 80E, etc.
class IndiaTaxCalculator:
CESS_RATE = Decimal("0.04") # 4% Health and Education Cess
@classmethod
def compute_new_regime(cls, gross_income: Decimal, is_salaried: bool = True) -> Dict[str, Decimal]:
"""Calculates tax liability under Section 115BAC (New Regime)."""
std_deduction = Decimal("75000.00") if is_salaried else Decimal("0.00")
taxable_income = max(Decimal("0.00"), gross_income - std_deduction)
# New Regime Slabs
tax = Decimal("0.00")
ti = taxable_income
if ti > Decimal("1500000"):
tax += (ti - Decimal("1500000")) * Decimal("0.30")
ti = Decimal("1500000")
if ti > Decimal("1200000"):
tax += (ti - Decimal("1200000")) * Decimal("0.20")
ti = Decimal("1200000")
if ti > Decimal("1000000"):
tax += (ti - Decimal("1000000")) * Decimal("0.15")
ti = Decimal("1000000")
if ti > Decimal("700000"):
tax += (ti - Decimal("700000")) * Decimal("0.10")
ti = Decimal("700000")
if ti > Decimal("300000"):
tax += (ti - Decimal("300000")) * Decimal("0.05")
# Section 87A Rebate: Zero tax if taxable income <= 7,00,000
rebate_87a = Decimal("0.00")
if taxable_income <= Decimal("700000.00"):
rebate_87a = min(tax, Decimal("25000.00"))
# Marginal Relief for income slightly above 7,00,000: Tax cannot exceed (Income - 7,00,000)
elif taxable_income > Decimal("700000.00"):
excess_income = taxable_income - Decimal("700000.00")
if tax > excess_income:
rebate_87a = tax - excess_income
tax_after_rebate = max(Decimal("0.00"), tax - rebate_87a)
cess = tax_after_rebate * cls.CESS_RATE
total_liability = tax_after_rebate + cess
return {
"gross_income": gross_income,
"standard_deduction": std_deduction,
"net_taxable_income": taxable_income,
"basic_tax": tax,
"section_87a_rebate": rebate_87a,
"cess_amount": cess.quantize(Decimal("1.0"), rounding=ROUND_HALF_UP),
"total_tax_payable": total_liability.quantize(Decimal("1.0"), rounding=ROUND_HALF_UP),
}
@classmethod
def compute_old_regime(cls, d: TaxpayerDeductions, is_salaried: bool = True) -> Dict[str, Decimal]:
"""Calculates tax liability under traditional Old Tax Regime."""
gross_total = d.gross_salary + d.other_income
std_deduction = Decimal("50000.00") if is_salaried else Decimal("0.00")
# Cap individual statutory deductions
capped_80c = min(d.sec_80c_investment, Decimal("150000.00"))
capped_80d = min(d.sec_80d_health_insurance, Decimal("75000.00"))
capped_24b = min(d.sec_24b_home_loan_interest, Decimal("200000.00"))
total_exemptions = (
std_deduction
+ capped_80c
+ capped_80d
+ capped_24b
+ d.hra_exemption
+ d.other_chapter_via
)
taxable_income = max(Decimal("0.00"), gross_total - total_exemptions)
# Old Regime Slabs (General Individual < 60 yrs)
tax = Decimal("0.00")
ti = taxable_income
if ti > Decimal("1000000"):
tax += (ti - Decimal("1000000")) * Decimal("0.30")
ti = Decimal("1000000")
if ti > Decimal("500000"):
tax += (ti - Decimal("500000")) * Decimal("0.20")
ti = Decimal("500000")
if ti > Decimal("250000"):
tax += (ti - Decimal("250000")) * Decimal("0.05")
# Section 87A Rebate: Zero tax if taxable income <= 5,00,000
rebate_87a = Decimal("0.00")
if taxable_income <= Decimal("500000.00"):
rebate_87a = min(tax, Decimal("12500.00"))
tax_after_rebate = max(Decimal("0.00"), tax - rebate_87a)
cess = tax_after_rebate * cls.CESS_RATE
total_liability = tax_after_rebate + cess
return {
"gross_income": gross_total,
"total_deductions_claimed": total_exemptions,
"net_taxable_income": taxable_income,
"basic_tax": tax,
"section_87a_rebate": rebate_87a,
"cess_amount": cess.quantize(Decimal("1.0"), rounding=ROUND_HALF_UP),
"total_tax_payable": total_liability.quantize(Decimal("1.0"), rounding=ROUND_HALF_UP),
}
# Demonstration
if __name__ == "__main__":
salary = Decimal("1500000.00") # ₹15 Lakhs Gross Salary
deductions = TaxpayerDeductions(
gross_salary=salary,
sec_80c_investment=Decimal("150000.00"),
sec_80d_health_insurance=Decimal("25000.00"),
sec_24b_home_loan_interest=Decimal("200000.00"),
hra_exemption=Decimal("50000.00"),
)
new_tax = IndiaTaxCalculator.compute_new_regime(salary, is_salaried=True)
old_tax = IndiaTaxCalculator.compute_old_regime(deductions, is_salaried=True)
print("--- INCOME TAX COMPARISON REPORT (FY 2024-25) ---")
print(f"Gross Annual CTC: ₹{salary:,.2f}")
print("\n[ NEW TAX REGIME ]")
print(f"Standard Deduction: ₹{new_tax['standard_deduction']:,.2f}")
print(f"Net Taxable Income: ₹{new_tax['net_taxable_income']:,.2f}")
print(f"Total Tax Payable (Cess): ₹{new_tax['total_tax_payable']:,.2f}")
print("\n[ OLD TAX REGIME ]")
print(f"Total Deductions Claimed: ₹{old_tax['total_deductions_claimed']:,.2f}")
print(f"Net Taxable Income: ₹{old_tax['net_taxable_income']:,.2f}")
print(f"Total Tax Payable (Cess): ₹{old_tax['total_tax_payable']:,.2f}")
diff = old_tax["total_tax_payable"] - new_tax["total_tax_payable"]
winner = "NEW REGIME" if diff > 0 else "OLD REGIME"
print(f"\nOptimal Filing Path: {winner} (Saves ₹{abs(diff):,.2f})")
TypeScript: Microservice Income Tax Simulator Module
export interface TaxComparison {
newRegimeTax: number;
oldRegimeTax: number;
taxSavings: number;
recommendedRegime: "NEW" | "OLD";
}
export function compareIndiaTaxRegimes(
grossSalary: number,
totalDeductions: number // 80C + 80D + HRA + Home loan
): TaxComparison {
// New Regime: Flat 75k Standard deduction
const newNet = Math.max(0, grossSalary - 75000);
let newTax = 0;
if (newNet > 1500000) newTax += (newNet - 1500000) * 0.3 + 30000 + 30000 + 40000 + 20000;
else if (newNet > 1200000) newTax += (newNet - 1200000) * 0.2 + 30000 + 40000 + 20000;
else if (newNet > 1000000) newTax += (newNet - 1000000) * 0.15 + 40000 + 20000;
else if (newNet > 700000) newTax += (newNet - 700000) * 0.1 + 20000;
else if (newNet > 300000) newTax += (newNet - 300000) * 0.05;
if (newNet <= 700000) newTax = 0; // 87A rebate
newTax = Math.round(newTax * 1.04); // 4% cess
// Old Regime: 50k standard + itemized deductions
const oldNet = Math.max(0, grossSalary - (50000 + totalDeductions));
let oldTax = 0;
if (oldNet > 1000000) oldTax += (oldNet - 1000000) * 0.3 + 100000 + 12500;
else if (oldNet > 500000) oldTax += (oldNet - 500000) * 0.2 + 12500;
else if (oldNet > 250000) oldTax += (oldNet - 250000) * 0.05;
if (oldNet <= 500000) oldTax = 0; // 87A rebate
oldTax = Math.round(oldTax * 1.04);
const diff = oldTax - newTax;
return {
newRegimeTax: newTax,
oldRegimeTax: oldTax,
taxSavings: Math.abs(diff),
recommendedRegime: diff >= 0 ? "NEW" : "OLD",
};
}
Old vs. New Tax Regime Structural Comparison Matrix
| Regulatory Attribute | New Tax Regime (Section 115BAC) | Old Tax Regime (Traditional) |
|---|---|---|
| Default Legal Status | Default Regime across all returns | Requires explicit annual opt-in Form 10-IEA |
| Salaried Standard Deduction | ₹75,000 (Enhanced in Budget 2024) | ₹50,000 |
| Section 87A Full Rebate Limit | Up to ₹7,00,000 Net Taxable Income | Up to ₹5,00,000 Net Taxable Income |
| Max Slab Threshold (30% Rate) | Above ₹15,00,000 | Above ₹10,00,000 |
| Chapter VI-A Deductions Allowed | None (Except employer NPS u/s 80CCD(2)) | Full (80C, 80D, 80E, 80G, 80TTA) |
| Housing Loan Interest Deduction | Zero on self-occupied property | Up to ₹2,00,000 u/s 24(b) |
| HRA Exemption u/s 10(13A) | Disallowed | Allowed based on actual rent paid |
| Documentary Compliance Burden | Zero proof submission needed | Heavy receipt audit & verification |
Critical Tax Traps, Section 87A Marginal Relief & Salaried Blindspots
1. The Breakeven Deduction Threshold Rule
For a taxpayer earning ₹15 Lakhs gross CTC:
- In the New Regime, total tax payable is ₹1,48,200.
- In the Old Regime, to reach an identical ₹1,48,200 tax liability, the taxpayer must accumulate ₹4,25,000 in combined deductions (₹50k standard + ₹1.5L 80C + ₹2.0L Section 24b + ₹25k 80D).
- If your verifiable deductions are less than ₹4.25 Lakhs, the New Regime is mathematically guaranteed to save money.
2. The Section 87A Marginal Relief Cliff
Before the introduction of marginal relief, a taxpayer earning ₹7,00,000 in taxable income paid ₹0 tax, while earning ₹7,05,000 triggered a tax liability of over ₹26,000 on just ₹5,000 of incremental income.
- The Income Tax Department implemented Section 87A Marginal Relief: the tax payable cannot exceed the amount of income earned above ₹7,00,000. Tax software must implement this cap to avoid calculating punitive tax jumps.
3. Business Income Switching Restrictions (Form 10-IEA)
Salaried employees have the legal right to switch between the Old and New regimes every single year at the time of filing their ITR-1 or ITR-2 return.
- However, individuals with Business or Professional Income (filing ITR-3 or ITR-4) can opt out of the New Regime only once in their lifetime. Once they opt back into the New Regime, they are permanently locked in and can never return to the Old Regime again.