indiaemi.com No signup·No login·No phone number·No spam all calculations run in your browser
Prepay vs Invest Calculator

Prepay the loan or invest the surplus?

You have money that you do not use at this time. You have two alternatives. You can give it to the bank (prepay), or you can invest it (mutual funds, FD, equity). After tax, which alternative gives you more money? This calculator does the mathematics.

01Your numbers
Remaining loan ₹
₹5L₹50L₹1Cr₹2Cr
Necessary to calculate the ₹2L Sec 24(b) cap — the cap is a rupee limit, not a rate.
Remaining tenure yrs
1102030
Surplus you have to deploy ₹
₹50k₹10L₹25L₹50L
Loan interest rate %
6%10%14%20%
Possible return on the investment (before tax) %
4%8%12%20%
Equity MF: ~12% long-term · PPF: 7.1% · FD: 6-7% · ELSS: ~12-14%
Your tax slab %
0%5%20%30%
The calculator adds 4% health & education cess automatically (30% → 31.2%).
Which tax regime are you on?
On the new regime, Sec 24(b) on a self-occupied home is zero — the loan costs you the full rate.
Is this a home loan?
Home loan interest gets Section 24(b) deduction. This lowers the "effective" loan rate.
Investment type
02The verdict
live
Better alternative
—
More wealth at the end
—
enter values to see
Loan cost after tax 0%
Investment return after tax 0%
Interest that Sec 24(b) lets you deduct —
Minimum equity return to be better than prepayment —
Money at the end of the period — prepay —
Money at the end of the period — invest —
The result (with the risk) —

How this calculator thinks about the decision

The decision "prepay or invest?" compares two rates:

  • The cost of your loan after tax deductions. For a home loan, this cost is much lower than the loan rate. For a car loan or a personal loan, it is the loan rate.
  • The return on your investment after tax on gains. Equity LTCG is 12.5%, and the first ₹1.25 lakh of gains each year has no tax. Debt funds pay tax at your slab rate. PPF has no tax.

If the investment return after tax is higher, investment is better. If the loan cost after tax is higher, prepayment is better.

For home loan borrowers in 30% slab

Example: a loan of ₹50L at 8.5% for 20 years, in the 30% slab, in the old regime. The ₹2 lakh Section 24(b) cap lets you deduct only 64% of the total interest (only 47% in year 1). Thus, the loan rate after tax is 6.79%. It is not 5.95%, the result of the formula rate × (1 − slab). Equity at 12% before tax gives 10.5% after 12.5% LTCG. Investment is better, but only by ~0.9% each year, not by 4%.

The same loan in the new regime: the Section 24(b) deduction is zero. Thus, the loan costs the full 8.5%. At 12%, investment is also better. But equity must give 9.38% before tax to be equal to prepayment. In the old regime, this number is 8.33%. If equity gives less than approximately 9%, prepayment is better.

For car or personal loan borrowers in 30% slab

A personal loan at 14% gives no Section 24(b) deduction. Thus, the loan rate after tax is the full 14%. Equity at 12% before tax gives ~10.5% after LTCG. Prepayment is much better. Prepayment also has no risk, and equity has risk. Pay back loans with high rates before you invest.

The mathematics is only one part of the decision

If investment is better in the mathematics, prepayment also gives you these good results:

  • Less stress — with no debt, your stress is less when markets are not stable
  • A known return — prepayment gives a known decrease in interest. An investment can give less than the possible return that you use.
  • More money each month — a lower EMI gives you money for other uses
  • Less risk — with less debt, you can continue to pay if your income stops (loss of a job, a disease)

Many advisers recommend a mixed method. Prepay to make your tenure shorter (for example, 15 years and not 25). Then invest the remaining money. This method gives some of the gain that the numbers show and some decrease in stress.

When investment is not the correct decision

  • If you have credit card debt (pay it first, because its rate is usually much higher than your home loan rate)
  • If you have personal loan debt above 15% (usually pay this off before investing)
  • If you do not have an emergency fund for 6 months of costs (make this fund first)
  • If your retirement is near and safety is more important to you

Sources & standards

This table gives the name of each regulated value on this page, the value, and its primary source. Two Acts apply at this time. The Income-tax Act, 1961 applies to FY 2025-26 — the return that you file at this time. The Income-tax Act, 2025 applies to FY 2026-27 and after. The values are the same. Only the section numbers changed.

WhatCurrent valueSourceVerified
Interest deduction cap — self-occupied property₹2,00,000/yrIncome-tax Act, 1961 — s.24(b) (FY 2025-26 & before)
Income-tax Act, 2025 — s.22(1)(b) & (c); cap in s.22(2) (applies from 1 Apr 2026)
2026-07
Principal repayment deduction cap (shared with EPF, PPF, ELSS, insurance)₹1,50,000/yrIncome-tax Act, 1961 — s.80C (FY 2025-26 & before)
Income-tax Act, 2025 — s.123, read with Schedule XV (applies from 1 Apr 2026)
2026-07
Default tax regime — disallows s.24(b) self-occupied, 80C and HRAstandard deduction ₹75,000
7 slabs, highest rate 30%
Income-tax Act, 1961 — s.115BAC (FY 2025-26 & before)
Income-tax Act, 2025 — s.202 (applies from 1 Apr 2026)
2026-07
Optional regime — retains deductions at higher slab ratesstandard deduction ₹50,000
4 slabs, highest rate 30%
2026-07
Long-term capital gains — listed equity12.5%
first ₹1,25,000/yr exempt
Finance (No.2) Act, 20242026-07
Health & education cess on income tax4%2026-07

This is not tax or legal advice. See all the standards that this site uses →