Money decisions

Prepay your loan or invest the money?

You have extra money. Should you use it to prepay your loan, or invest it? This tool compares both paths and shows which comes out ahead at the end of the loan term.

Also known as: Overpay mortgage or invest calculator.

  • Free, no sign-up
  • Formula shown
  • Runs on your device
  • Any currency
₹
The amount of the loan still to be repaid.
% a year
Your loan's annual interest rate. 0% to 50%.
years
1 to 50 years.
₹
The extra money you could use to prepay the loan.
% a year
The expected annual return if you invest the lump sum. 0% to 50%.
Investing ahead at the loan end
₹3,86,524

Under these assumptions, investing ends about ₹3,86,524 ahead of prepaying. Prepaying ends the loan 50 months earlier and saves ₹9,88,521 of interest.

Wealth and savings at the end of the loan
Prepay: wealth at end₹18,40,435
Invest: wealth at end₹22,26,960
Interest saved by prepaying₹9,88,521
Loan ends earlier by50 months
Investing ahead by₹3,86,524
Then change the inputs to compare two options side by side.
Illustrative estimate. Assumes end-of-month EMI payments, monthly compounding of investment returns, and that you actually invest the freed EMI. Tax treatment of loan interest and investment gains varies by country and investment type. Prepayment charges, inflation, and investment return variability are not included.

Net position by year

-25 lakh-12.5 lakh012.5 lakh25 lakh0246810121415
InvestPrepay
YearPrepay: net positionInvest: net positionDifference
1-₹23,52,329-₹23,44,168₹8,161
2-₹21,91,605-₹21,73,707₹17,898
3-₹20,16,674-₹19,87,234₹29,440
4-₹18,26,281-₹17,83,236₹43,045
5-₹16,19,059-₹15,60,055₹59,004
6-₹13,93,521-₹13,15,874₹77,647
7-₹11,48,047-₹10,48,703₹99,344
8-₹8,80,875-₹7,56,363₹1,24,512
9-₹5,90,088-₹4,36,467₹1,53,620
10-₹2,73,598-₹86,400₹1,87,197
11₹70,933₹2,96,704₹2,25,770
12₹4,49,575₹7,15,984₹2,66,409
13₹8,67,866₹11,74,880₹3,07,014
14₹13,29,957₹16,77,162₹3,47,205
15₹18,40,435₹22,26,960₹3,86,524

Calculators behind this question

What is a prepay loan vs invest comparison?

A prepay loan vs invest comparison evaluates whether allocating surplus funds toward debt principal reduction produces a stronger financial position than directing those funds into market investments. This calculator works out the total interest eliminated through debt prepayment alongside the alternative capital growth accumulated through continuous investing.

Beyond the numbers

The maths shows one side. These are the things only you can weigh.

  • Peace of mind and psychological safetyDebt can feel like a weight. Some people sleep better debt-free. Others feel secure knowing they have cash and can handle setbacks. Both are real; neither is wrong.
  • Liquidity and emergenciesCash in investments is available (though selling may take days and have tax implications). A loan obligation is fixed. If job loss or illness is a real risk, keeping cash is wise.
  • Job and income securityIf your income is stable and growing, investing may work well. If your work is uncertain, the security of lower debt might matter more than higher wealth on paper.
  • Your discipline to actually investThis calculator only works if you invest the freed EMI or upfront money. If you're likely to spend it instead, prepaying removes temptation by locking the money into forced debt repayment.
  • Prepayment charges and fine printSome loans have penalties for prepayment. Check your loan documents. A 2% prepayment charge, for example, can swing the math significantly.
  • Risk tolerance and market swingsInvestments go up and down month to month. A certain interest saving (from prepayment) can feel safer than returns that vary. Your comfort with volatility matters.
  • Family responsibilities and goalsChildren's education, a home purchase, or caring for parents might change which option fits. A flexible line of credit (if you prepay) can help with surprises.

Read the guide

  • Money decisions

    Mortgage overpayment vs investing

    Compare loan interest saved with an illustrative investment scenario, including liquidity, fees and risk. Try the prepay versus invest calculator.

How it's calculated

Each month: PREPAY reduces the balance and pays freed EMI to investments; INVEST grows the lump sum. Compare wealth at the original end date.

The EMI (equal monthly payment) is calculated for the original loan using the formula (P × r × (1+r)^n) / ((1+r)^n − 1), where r is the monthly rate. For prepayment, the freed EMI is invested at the assumed return rate. For investing, the lump sum grows at the return rate. Both strategies grow money until the original loan end date.

Assumptions

  • The loan has a fixed interest rate and fixed end date.
  • You keep paying the same EMI if you prepay; the loan ends early instead.
  • You actually invest the money freed by early prepayment.
  • Investment returns compound monthly at one-twelfth of the annual rate.
  • Loan and investment rates remain constant over the period.
  • No prepayment charges, taxes, inflation or investment variability are included.

Worked example

A 30 lakh rupee loan at 8.5% with 15 years left has an EMI of about 29,542 rupees. Prepaying 5 lakh rupees ends the loan 50 months early and saves about 9.89 lakh rupees of interest. Investing the 5 lakh at 10% instead ends about 3.87 lakh rupees ahead at the original end date; at a return equal to the loan rate, the two are the same.

Prepay or invest: how the investment return changes the result

A ₹30,00,000 loan at an assumed 8.5% with 15 years left, and ₹5,00,000 to use now. Prepaying then investing the freed EMI is compared with investing the lump sum, at the original end date. Only the yearly investment return changes. The result depends on these assumptions.

Investment return a yearPrepaying, then investing the EMIInvesting the lump sumGapResult
6%₹16,88,066₹12,27,047₹4,61,019Prepaying ahead
7%₹17,24,605₹14,24,473₹3,00,132Prepaying ahead
8.5%₹17,81,327₹17,81,327₹0About equal
10%₹18,40,435₹22,26,960₹3,86,524Investing ahead
12%₹19,23,151₹29,97,901₹10,74,750Investing ahead

Download this table as CSV

Common scenarios

Illustrative worked scenarios in rupees. Rates and growth are assumptions; actual outcomes can differ.

  • With a ₹7,50,000 loan balance, 15 years left, ₹1,25,000 available now, an assumed 6.5% yearly loan rate and 8% yearly investment return, the model compares ending wealth. Prepaying then investing is ₹3,40,075, lower than investing immediately at ₹4,13,365 under these assumptions. Try these inputs

  • With a ₹30,00,000 loan balance, 15 years left, ₹5,00,000 available now, an assumed 8.5% yearly loan rate and 10% yearly investment return, the model compares ending wealth. Prepaying then investing is ₹18,40,435, lower than investing immediately at ₹22,26,960 under these assumptions. Try these inputs

  • With a ₹60,00,000 loan balance, 15 years left, ₹10,00,000 available now, an assumed 9.5% yearly loan rate and 11% yearly investment return, the model compares ending wealth. Prepaying then investing is ₹42,81,443, lower than investing immediately at ₹51,67,988 under these assumptions. Try these inputs

  • With a ₹1,50,00,000 loan balance, 15 years left, ₹25,00,000 available now, an assumed 10.5% yearly loan rate and 12% yearly investment return, the model compares ending wealth. Prepaying then investing is ₹1,24,49,924, lower than investing immediately at ₹1,49,89,505 under these assumptions. Try these inputs

Questions

Which option is "right" for me?

This calculator shows the numbers, but both have non-financial benefits. Prepaying gives peace of mind and removes the obligation sooner. Investing keeps liquidity for emergencies. Your choice depends on your job security, risk tolerance, and personal values.

When does prepaying a loan beat investing the money?

In this model, when the return you can earn on the investment is lower than the loan rate. At a return equal to the loan rate the two end at the same point, a higher return favours investing and a lower one favours prepaying. The interest saved is certain, while the investment return is not, so allow for risk and tax before relying on a small gap.

What if I can't actually invest the freed EMI?

If you don't invest the freed payment after prepayment, prepaying is usually better: you've paid off debt and saved interest. This calculator assumes you do invest it, so your numbers matter only under that assumption.

What happens if investment returns are negative or vary?

This calculator assumes a fixed return every year. Real markets vary. Try running the calculation with different return rates (e.g., 5%, 10%, 15%) to see how sensitive the outcome is to your return assumption.

Does this account for taxes on investment gains or tax relief on loan interest?

No. Tax treatment of loan interest and investment returns varies by country, investment type, and your income. Talk to a tax adviser about how your situation works.

Sources

Add it to your site

Show this calculator on your own website or blog, free. It keeps working as we update it.

Add ?theme=light to the address for a light background. Change the height to fit your page.

Reviewed