India Income Tax explained: formula, worked example and common mistakes
Run a year of income through both regimes at once and see which is lower, with the house rent exemption, deductions, gains, surcharge and cess shown line by line. Free, no sign-up, numbers stay local.
Updated
What the India income tax calculator works out
Two ways of being taxed sit side by side. The new regime has lower rates, a higher first band and few deductions. The old regime has higher rates and many exemptions and deductions. The calculator runs one year of income through both from the same inputs, shows each step, and reports which is lower and by how much.
You type gross salary, basic pay, the house rent allowance and the rent you paid, and the deductions you can claim. Under More options you can add gratuity, house property, business profit, other income and gains.
The formula
salary income = gross salary + taxable gratuity − exemptions (old regime only) − standard deduction
slab income = salary + house property + business + other sources − deductions
tax = slab tax − rebate + tax on gains at special rates + surcharge (after relief)
payable = tax × (1 + cess)
Slab tax runs band by band: each band’s rate applies only to the part of income inside it. The rebate comes off the slab tax only, never off tax at special rates. The surcharge is a percentage by total-income tier, with marginal relief just above a tier.
A worked example
The page opens on this run: gross salary 1,500,000, basic pay 600,000, house rent allowance 240,000 against rent of 240,000 in a metro city, 150,000 under 80C and 25,000 of health premium, under 60.
new regime
salary income = 1,500,000 − 75,000 = 1,425,000
slab tax = 0 + 20,000 + 40,000 + 33,750 = 93,750
with cess = 93,750 × 1.04 = 97,500
old regime
house rent exempt = least of 240,000, 180,000 and 300,000 = 180,000
slab income = 1,500,000 − 180,000 − 50,000 − 175,000 = 1,095,000
slab tax = 0 + 12,500 + 100,000 + 28,500 = 141,000
with cess = 141,000 × 1.04 = 146,640
The headline reads: tax is 97,500 under the new regime and 146,640 under the old regime, and the new regime is lower by 49,140 a year. The table below it lists every line for both regimes, so you can see where each figure comes from.
What changes the answer
- Deductions. The old regime takes 80C, health premium, extra pension contributions and the rest off before the bands run. The more you can claim, the closer the old regime gets to the new one.
- The house rent exemption. It is the least of three figures, so raising the allowance or the rent helps only until the smallest of the three becomes another one.
- Age. It moves the old regime’s first band and the savings-interest deduction. If you edit the old-regime bands, your bands are used exactly as typed.
- Gains. They are taxed apart from slab income, at their own rates, and the rebate does not reduce that tax.
- The assumptions. Each band, the rebate, the surcharge tiers and the standard deduction are dated defaults you can overwrite.
When to use it, and when not to
Use it to compare the two regimes on one set of figures, to see what a deduction is worth, or to check where a rebate or a surcharge tier starts to bite.
It is an estimate. It does not apply the basic-exemption shortfall against gains at special rates, the age-based limits on health insurance, presumptive schemes, advance tax or tax already deducted. Gains are typed as net figures, and losses are not carried forward. The return filed on the department’s own portal decides the final figure.
Common mistakes people make
1. Typing the gratuity inside gross salary. Put it in the gratuity boxes instead; the page works out the exempt part and taxes the rest as salary in both regimes.
2. Typing an amount above a cap and expecting it to count. The 80C line is cut at its cap, so 200,000 invested deducts only the cap.
3. Expecting the rent exemption in the new regime. It is an old-regime claim, so the new-regime column does not use it.
4. Reading the average rate as the next-unit rate. The next unit is taxed at the top band you have reached, with surcharge and cess, which is usually higher than the average.
5. Forgetting that the figures are dated defaults. Rates change by law. Check the note under the answer and type the figure that applies if it differs.
6. Treating the result as a filed return. It is an estimate on the inputs you typed, before tax already deducted and advance tax paid.
Frequently asked questions
Why does the page run both regimes instead of picking one?
Which regime is lower depends on how much you can claim, and only the numbers decide it. Running both from the same inputs shows each tax and the gap. At the default run the new regime comes to 97,500 and the old to 146,640, so the new is lower by 49,140.
Why is the house rent exemption only in the old regime?
It is one of the claims the new regime leaves out, so the page applies it to the old regime only. In the default run it is the least of 240,000 received, 180,000 (rent less a tenth of basic pay) and 300,000 (half of basic pay), which is 180,000.
What is the difference between the average rate and the next-unit rate?
The average rate is tax divided by total income. The next-unit rate is what one more unit of income would be taxed at, with surcharge and cess. The two differ because the bands step up, so the next unit is usually taxed higher than the average.
What does marginal relief do?
Just over a surcharge tier, or just over the rebate limit in the new regime, tax would otherwise jump by more than the extra income. Marginal relief caps the jump so the tax rises by no more than the income above the line. The page shows it as its own row.
How are gains taxed here?
Short-term and long-term equity gains, long-term property gains, digital asset gains and lottery winnings are taxed at their own rates, apart from slab income. The rate boxes are read from the capital gains calculator, so the two pages agree. The rebate never reduces tax at those rates.
What if my figures differ from the stored ones?
Type yours. Every band, the standard deduction, the rebate, the surcharge tiers, the cess and the gain rates are boxes under the assumptions, pre-filled with dated defaults. The note under the answer links the department and a search so the current figures can be checked.
This tool shows math, not advice.
Cite this page
Copy this line into a reference list, a report or a spreadsheet note.
Investment Math Calculator. “India Income Tax Calculator”. Updated 2026-11-16. https://investmentmathcalculator.com/guides/india-income-tax-calculator/
Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.