Start free

Home › Calculators › Prepay loan or invest calculator

Prepay your home loan or invest? See which ends ahead, after tax.

You have some money spare every month. Put it into the loan and it closes early with less interest; invest it and it may grow faster than the loan costs. Compare both on the same date, after tax. No sign-up needed.

An assumption, not a forecast. Try a lower figure too.

Investing the extra ends ahead by₹5.7 lakh

Prepaying: loan closes6 years 9 months early
Prepaying: interest saved₹16.1 lakh
Prepaying, then investing EMI + extra: worth₹53.0 lakh
Investing the extra: worth₹58.7 lakh
At an 8% return instead, prepaying ends ahead by₹4.5 lakh

Upload your CAS to see your real fund mix, how each fund ranks in its category, and which of your goals your money is covering.

See this with your real portfolio: sign up free →

The method

How it is worked out

  1. Path 1: prepay

    The extra goes into the loan every month, so it closes early and you pay less interest. From then on, the EMI plus the extra is invested every month.

  2. Path 2: invest

    The loan runs to its end as planned, and the extra goes into an equity fund every month at the return you enter.

  3. Same date, after tax

    Both paths spend the same each month and are compared on the loan's original end date, after 12.5% gains tax plus cess above ₹1.25 lakh.

FAQ

Questions

Should I prepay my home loan or invest in mutual funds?

Prepaying earns exactly your loan's interest rate, with no risk. Investing only comes out ahead if the investments return more than that after tax, which is likely but never certain. On a ₹40 lakh loan at 8.5% with 18 years left, putting ₹10,000 a month extra into the loan closes it 6 years 9 months early and saves about ₹16.1 lakh of interest; investing the same ₹10,000 at an assumed 11% ends about ₹5.7 lakh ahead after tax, but at 8% prepaying ends about ₹4.5 lakh ahead.

Does the calculator include the home loan tax deduction?

No. Interest on a home loan you live in is deductible only under the old tax regime, so the answer depends on your regime and slab. If you claim it, the loan effectively costs you less, which makes investing a little more attractive.

How is tax on the investments counted?

As equity mutual fund gains sold in one financial year: 12.5% long-term capital gains tax plus 4% cess on gains above ₹1.25 lakh (FY 2026-27 rules). Selling in parts over several years would use the ₹1.25 lakh exemption more than once and lower the tax.

Is the comparison fair to prepaying?

Yes: both paths spend the same money every month. Once prepaying closes the loan, the EMI plus the extra amount is invested every month until the loan's original end date, and both are compared on that date.

More free calculators

Try another one

Retirement corpus calculator

The corpus your expenses need, and the monthly SIP that builds it.

Open the calculator →

Now run it on your real portfolio

Upload your CAS once: every fund ranked in its category, your mix checked against your age and risk, and a plan for each goal. Free for up to 3 family members.

Sign up free →