Skip to main content

Loan Prepayment vs Invest Calculator

Got a surplus sitting idle? See whether prepaying your loan or investing the money leaves you richer.

With the default inputs, ₹30,00,000 outstanding at 9% with 15 years left, ₹5,00,000 to put in and an expected 12% from investing:

Current EMI
₹30,428
Prepay, then invest the freed EMIs
₹20,25,190
Invest the surplus
₹27,36,783

How the calculator compares prepaying with investing

You have one lump sum and two uses for it. The calculator follows both to the same date, the day your loan was due to end, and tells you which leaves you with more. Here's how.

First, it works out your current EMI. Then it takes the surplus off the outstanding balance, keeps the EMI the same, and solves for how many months the smaller loan now needs:

n₂ = -ln(1 - P₂ × r / EMI) / ln(1 + r)

n₂
the months left after prepaying, with the EMI unchanged
P₂
the outstanding loan minus the surplus you prepay
r
the monthly loan rate: the annual rate ÷ 12 ÷ 100
EMI
your current instalment, calculated from the loan, rate and remaining tenure

That's half of the prepay route. Once the loan closes, the EMI you were paying is free. The calculator invests it every month at your expected return until the original end date, along with whatever the last, smaller instalment didn't need. The invest route is simpler. The surplus goes into the same investment on day one and compounds to the same date. Whichever pile is bigger wins.

Both routes earn the same return, compounded the same way. Your expected return is a yearly rate, so money invested monthly grows at the monthly rate that compounds to it. The interest you save is shown as well, but it doesn't decide anything. It's money you don't pay, spread over the years the loan no longer runs, so on its own it can't be set against what an investment is worth.

Keeping the EMI fixed and cutting the tenure saves more interest than keeping the tenure and cutting the EMI. That's why the calculator assumes it.

Worked example: ₹5,00,000 against a ₹30,00,000 loan

Here's the calculator's default loan: ₹30,00,000 outstanding at 9% with 15 years to go, and a ₹5,00,000 surplus. The EMI is ₹30,428. Prepay the surplus and the loan closes 52 months early, saving ₹10,77,211 of interest. Here's what each route is worth in 15 years at five expected returns, each row from the calculator's own function:

₹30,00,000 at 9%, 180 months left, ₹5,00,000 surplus. Values in 15 years, when the loan was due to end. Before tax. Investment returns are assumptions, not guarantees.
Return if investedPrepay, then invest the EMIsInvest the surplusVerdict
7% a year₹18,26,712₹13,79,516Prepay by ₹4,47,196
8% a year₹18,65,009₹15,86,085Prepay by ₹2,78,924
9% a year₹19,03,996₹18,21,241Prepay by ₹82,755
10% a year₹19,43,683₹20,88,624Invest by ₹1,44,941
12% a year₹20,25,190₹27,36,783Invest by ₹7,11,593

Both columns rise with the return, because the freed EMIs earn it too. The prepay column rises more slowly, though. Its money is only invested for the last 52 months, while the surplus compounds for all 15 years.

So where does the verdict flip? The function says investing wins from about 9.4% a year, a touch above the loan's 9%. At exactly 9%, prepaying still wins by ₹82,755. That's not a rounding quirk. EMIs compound monthly, so a 9% loan costs 9.38% a year in effective terms, and that's the return an investment has to beat.

What the comparison leaves out

Both routes are valued on the same date at the same return, but a few things sit outside the maths. They decide close calls.

  • It assumes you'd really invest the freed EMI. The prepay route only comes out where it does if, once the loan closes, the ₹30,428 a month goes into investments and not into spending.
  • The saving is certain, the return isn't. Prepaying earns exactly your loan rate with no risk. An equity fund's return over 15 years could land well above or below what you enter.
  • Tax isn't in it. Equity fund gains above ₹1.25 lakh a year are taxed at 12.5% as long-term capital gains under the FY 2026-27 rules, which shrinks the investing side. If you claim home loan interest under the old regime, your effective loan rate is lower, which shrinks the prepaying side.
  • Prepayment charges aren't deducted. RBI rules have barred prepayment charges on floating-rate term loans to individuals since 2012 for banks and 2014 for NBFCs, and the Pre-payment Charges on Loans Directions, 2025 carry that forward for non-business loans sanctioned or renewed from 1 January 2026. A fixed-rate loan may charge you.
  • Money you prepay is gone. You can't get it back from the bank in an emergency, so keep your emergency fund whole before you prepay anything.

Making the call

If investing wins by a wide margin at a return you'd honestly expect, invest. If it's close, or your loan rate is high, prepay. Splitting the surplus between the two is a perfectly sound answer too.

Frequently Asked Questions

Should I prepay my home loan or invest the money?

It depends on two numbers. If your loan rate is higher than what you can reliably earn after tax, prepaying usually wins. If your expected investment return beats the loan rate by a clear margin, investing comes out ahead. This calculator follows both routes to the date your loan was due to end. Prepaying frees your EMI early, and that EMI gets invested too. It then tells you which route leaves you with more, and by how much.

Does prepaying a loan really save that much interest?

Yes, more than most people expect. When you prepay and keep the same EMI, the surplus knocks straight off the principal. That shortens the tenure and cuts years of interest. The earlier you do it in the loan, the bigger the saving, since early EMIs are mostly interest.

Why does the calculator keep my EMI the same after prepaying?

Keeping the EMI fixed and reducing the tenure saves far more interest than lowering the EMI over the same period. So that's the assumption here. You pay the same amount each month, you just finish the loan sooner.

Does this account for tax benefits on home loan interest?

No, both routes are compared before tax. If you claim a deduction on your home loan interest, or your investment return is taxed, adjust the rates a little before you decide. The verdict here is a strong starting point, not the final word.

At what return does investing beat prepaying?

Just above your loan's effective rate. EMIs compound monthly, so a 9% loan really costs about 9.38% a year, and that's the return an investment has to beat once both routes are measured on the same date. Below it, prepaying wins. Above it, investing wins, but only if you'd stay invested through the ups and downs.