Loan Prepayment vs Investment Calculator

Interest saved by prepaying—
Post-tax gain from investing—
Difference (investing minus prepaying)—
Better option—

How Loan Prepayment vs Investment Calculator is calculated: Interest saved = spare cash × loan rate × years; investment gain = cash × ((1 + post-tax return)^years − 1), where post-tax return = return × (1 − tax slab)

Should I prepay my loan or invest the money?

It is one of the most common money questions: you have a lakh rupees spare, and you must choose between prepaying your home loan and investing it. Prepaying saves the interest you would have paid on that lakh for the rest of the loan, which is a guaranteed, risk-free return equal to the loan rate. Investing can earn more, but the return is not guaranteed, and the gains are taxed, which cuts the real return.

This calculator compares the two options in rupees. Enter the spare cash, the loan rate, the expected investment return, the years left on the loan and the tax slab on the investment gains, and it shows the interest saved by prepaying, the post-tax gain from investing, the difference between them and which option wins. The answer is an estimate, because the investment return is an assumption, not a promise.

Everything on this page runs in your browser. No income figure, loan amount or personal detail is uploaded to a server, and there is no account to create before you can use the calculator. You can change the numbers as many times as you like and the results update straight away, so it costs nothing to try a few what-if scenarios before you decide anything.

Every return on this page is an assumption you type in, not a promise from the market. A 12 percent return looks neat in a table, but real funds move up and down, and a bad year early on changes the ending more than a good year late. Run the same plan at a lower return too, and make sure you can live with that outcome.

How the comparison is worked out

The prepayment side is simple: the interest saved is the spare cash times the loan rate times the years remaining, which is the interest that lakh would have attracted if it had stayed in the loan. On 1 lakh rupees at 9 percent for 5 years, the interest saved is 45,000 rupees, and it is guaranteed, because the loan rate is fixed and the saving is certain.

The formula behind this page is simple to state: the interest saved equals the spare cash times the loan rate times the years, and the investment gain equals the cash grown at the post-tax return for the same years minus the cash, where the post-tax return is the return times one minus the tax slab. That is the whole method. There are no hidden steps and no tables to look up, which is why the result appears the moment you change a number.

The investment side is the same cash grown at the post-tax return for the same years, minus the original cash. The post-tax return is the expected return reduced by the tax slab: a 12 percent return at a 30 percent slab becomes 8.4 percent after tax. On 1 lakh rupees at 8.4 percent for 5 years, the gain is about 49,700 rupees, which beats the 45,000 rupees saved by prepaying, but only just, and only if the 12 percent return actually happens.

The post-tax return, explained

The post-tax return is the number that decides the comparison, and it is the one people get wrong most often. A 12 percent return sounds far better than a 9 percent loan rate, but after a 30 percent tax on the gains, the return is only 8.4 percent, which is worse than the 9 percent saved by prepaying. The same 12 percent return at the 12.5 percent equity LTCG rate becomes 10.5 percent after tax, which beats the loan rate comfortably.

The tax rate depends on the investment. Equity funds held for over a year pay 12.5 percent on gains above 1.25 lakh rupees, fixed deposits pay tax at the slab rate, and some investments, such as PPF, pay no tax at all. Enter the slab that matches your investment, not the highest one, because the wrong tax rate flips the answer. The calculator uses the slab you pick, so the result is only as honest as that input.

Before you act on a result, run it twice: once with the numbers you expect, and once with the worst case. A small change in a rate or a tenure can move the answer by thousands of rupees, and seeing both ends of the range keeps you from being surprised later. The calculator makes that second run free, so use it.

A worked example: 1 lakh rupees, 9% loan, 12% return

Take ₹1,00,000 of spare cash, a loan at 9 percent, an expected investment return of 12 percent, 5 years remaining, and a 30 percent tax slab. Prepaying saves ₹45,000 of interest, investing gains ₹49,674 after tax, the difference is ₹4,674, and the verdict is Investing wins.

The difference is small, only about 4,700 rupees over five years, which shows how close the two options usually are. A slightly lower investment return, or a slightly higher tax rate, would flip the answer to prepaying. That is the real lesson of this calculator: the two options are usually close, so the decision should be made on risk and peace of mind, not on a small difference in the maths.

Before you act on a result, run it twice: once with the numbers you expect, and once with the worst case. A small change in a rate or a tenure can move the answer by thousands of rupees, and seeing both ends of the range keeps you from being surprised later. The calculator makes that second run free, so use it.

Treat every figure on this page as an estimate, not a promise. The rules, rates and limits behind it come from the sources named in this article, and they can change with a budget or a notification. Before you sign a loan document, file a return or claim a subsidy, check the current rule with the bank, the scheme portal or a tax professional.

Who faces the prepay or invest choice

The main users are home loan borrowers with a bonus, a maturity payout or a lump sum, who must decide what to do with it. The loan is usually the biggest debt they have, and the investment is usually a mutual fund or a fixed deposit. The calculator gives them a number to decide with, instead of a gut feeling, and it shows how sensitive the answer is to the return assumption.

It is also used by people with a personal loan or a car loan at a high rate, where the answer is usually clearer: a personal loan at 14 percent beats almost any safe investment, so prepaying wins by a large margin. The calculator is most useful when the loan rate and the investment return are close, which is the case for most home loans, where the decision is genuinely hard.

Past returns never guarantee future returns, and no calculator can change that. What a calculator can do is show you how much of the final corpus comes from your own contributions and how much comes from growth, so you can see how hard your money has to work for the plan to succeed.

Closely related calculations are the home loan EMI calculator, SIP calculator and the EMI calculator, which cover the next numbers most people need after this one.

Prepaying vs investing: the risk difference

The two options differ in risk as much as in return. Prepaying a loan is risk-free: the interest saved is guaranteed, because the loan rate is fixed and the saving is certain. Investing is risky: the return is an assumption, and a bad year can wipe out the advantage. That is why the comparison should not be made on the expected return alone, but on the return you would accept as a safe bet.

A fair comparison is to compare prepaying with a fixed deposit, not with an equity fund, because the fixed deposit is the only investment with a guaranteed return. Use an FD calculator to work out the post-tax return on a fixed deposit at today's rates, and compare that with the loan rate. If the FD return is lower than the loan rate, prepaying wins, and the only reason to invest instead is the hope of a higher equity return, which is a risk, not a certainty.

Neither tool replaces the other. Run the FD calculator first when you need the headline number, then come back here when you need the detail this page gives. Used in that order, the two together answer most questions people actually ask about prepayment vs investment.

Common mistakes in the prepay vs invest choice

The first mistake is the simplest one: comparing the pre-tax investment return with the loan rate, when the gains are taxed and the post-tax return is the only fair comparison.

The second mistake is about the inputs: assuming the expected return is guaranteed, when equity returns vary widely and a bad year can make investing the worse choice. And the third is about reading the answer: prepaying the loan and leaving no emergency fund, when the cash is locked in the loan and cannot be withdrawn if a crisis comes.

The fourth mistake is forgetting the limits: ignoring the tax deduction on home loan interest, which reduces the effective cost of the loan and makes prepaying less attractive than it looks.

Start with the biggest number first, because that is the one that moves the answer most. Then adjust the smaller inputs one at a time and watch which one matters. If a result looks wrong, check the units: a yearly rate typed as a monthly rate, or a price in lakhs typed as rupees, is the most common reason for a strange answer.

How to use this prepayment vs investment calculator

Using this calculator takes less than a minute. Enter the spare cash, the interest rate on the loan, the investment return you expect, the years remaining on the loan, and the tax slab that applies to the investment gains. The calculator shows the interest saved, the post-tax investment gain, the difference and the better option at once.

Run the numbers twice: once at the return you hope for, and once at a return 3 percent lower. If investing wins in both cases, invest. If it wins only in the optimistic case, prepay, because the safe return is worth more than a hopeful one. And keep at least six months of expenses as an emergency fund before you prepay anything, because prepaid money cannot be withdrawn.

The result updates live as you type, so try the optimistic number and the cautious number before you settle. Treat every figure on this page as an estimate, not a promise. The rules, rates and limits behind it come from the sources named in this article, and they can change with a budget or a notification. Before you sign a loan document, file a return or claim a subsidy, check the current rule with the bank, the scheme portal or a tax professional.

Frequently Asked Questions

It depends on the post-tax return. If the investment earns more after tax than the loan rate, investing wins; if it earns less, prepaying wins. For a home loan at 9 percent and an equity return of 12 percent taxed at 12.5 percent, investing usually wins by a small margin, but only if the return actually happens.

No. Investment gains are taxed, so the fair comparison is the post-tax return against the loan rate. A 12 percent return at a 30 percent slab is only 8.4 percent after tax, which is less than a 9 percent loan rate, so prepaying would win in that case.

Yes. The interest on a home loan gets a deduction of up to 2 lakh rupees a year under section 24(b), which reduces the effective cost of the loan. That makes prepaying less attractive, because the true cost of the loan is lower than the headline rate. This calculator does not adjust for the deduction, so treat its prepayment figure as the maximum saving.

No. Keep at least six months of expenses as an emergency fund first, because money prepaid into a loan cannot be withdrawn in a crisis. Prepay only with cash above the emergency fund, and only after the fund is in a liquid account such as a savings account or a fixed deposit.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.