Did you know: A single equation governs investing and borrowing?

Published: May 22, 2024 at 6:00 am

We discuss how pretty much all of investing (lump sum or SIP) and borrowing (debt., EMI) can be described by a single equation! In finance workshops, people are often taught to use spreadsheet commands like PV, FV, PMT, NPER, etc., without a deeper understanding.

Consider a lump sum investment we shall label as pv (for present value). What is the future value (fv) of this investment? The well-known compounding formula gives this.

fv=pv(1+rate) nper

Here, the rate is the interest rate or the rate of return, and nper refers to the number of periods corresponding to the rate of return. We shall keep things simple here and assume the rate is the annual return and nper is in years. Other variations like monthly rates or quarterly rates are also possible.

What if I wanted to invest each year? Then, the formula is

fv= pmt[(1+rate) nper-1]/rate  if the payments are made at the end of the period or

fv= (1+rate)pmt[(1+rate) nper-1]/rate if the payments are made at the start of the period

This is also known as the SIP formula. Here, pmt is the periodic payment. This can be each year, each quarter, or each month with a corresponding rate. We shall keep things simple and assume a yearly SIP. Over the long term, it matters little whether you use the monthly SIP or year SIP variants. The markets and not this formula determine the return you get!

🔥Secure your future with our Robo-advisory tool trusted by over 3,500 investors and advisors. From effortless retirement planning to funding your children’s biggest dreams,  turn your financial goals into reality. 🔥

Subscribe for money management solutions via email! (Link takes you to our email sign-up form) Join 32,000+ readers in our community.

So what if you have a lump sum and periodic investments?

fv= pv(1+rate) nper + pmt[(1+rate) nper-1]/rate –> [1]

This is the combined formula (we have assumed payments are made at the end of the period).

This equation can compute fv, pv, nper, rate and pmt if the other quantities are known. Those familiar with spreadsheet formulae would immediately recognise these quantities.

The above equation represents investing. What about borrowing? I will introduce the equation first and then explain it.

balance= loanamt(1+rate) nper – emi[(1+rate) nper-1]/rate –> [2]

Let us consider the example of a home loan. Given a loan rate, how is the emi calculated? Suppose you want a loan to buy a home. Let us call the loan amount =loanamt. The bank would ask itself, suppose instead of giving this loan to you, if it invests the amount = loanamt at the home loan rate, what would be the future value fv at the end of the home loan tenure nper?

The answer is

fv=loanamt(1+rate) nper

Therfore, for the loan to make financial sense to the bank, it asks what monthly payments (emi) should be made by you at the same rate so that at the end of the loan tenure (nper), the corpus from these EMIs is equal to the fv?

In other words

fv = emi[(1+rate) nper-1]/rate

So, at the end of the loan tenure

loanamt(1+rate) nper = emi[(1+rate) nper-1]/rate

Since both of them are equal. Or we can write

0 = loanamt(1+rate) nperemi[(1+rate) nper-1]/rate

Let us consider an example.

  • loanamt = 50,00,000
  • nper = 20 years = 240 months
  • rate = 10%

So if the bank invests the loanamt for 20 years at 10%, it would get

loanamt(1+rate) nper =5000000*(1+(10%/12))^(20*12) = 3,66,40,368

If the bank gives it to you, the emi is 48,251. Why?

emi[(1+rate) nper-1]/rate =48251*((1+(10%/12))^(20*12)-1)/(10%/12) =3,66,40,368

So, after 20 years,

loanamt(1+rate) nperemi[(1+rate) nper-1]/rate= zero

That is, the future values of a lump sum and SIP (= EMI) are the same at the end of the loan tenure.

What is the situation after one year?

loanamt(1+rate) nper = 5000000*(1+(10%/12))^(12*1) = 55,23,565

emi[(1+rate) nper-1]/rate = 48251*((1+(10%/12))^(12*1)-1)/(10%/12) = 6,06,302

These two numbers do not ring a bell, but

 55,23,565 – 6,06,302 = 49,17,263 = home loan balance after one year of paying EMIs

Similarly

loanamt(1+rate) nper – emi[(1+rate) nper-1]/rate = home loan balance after nper years of paying EMIs

So, the full equation is

balance= loanamt(1+rate) nper – emi[(1+rate) nper-1]/rate –> [2]

This is our 2nd equation, hence the [2]. Now, compare this with the first equation.

fv= pv(1+rate) nper + pmt[(1+rate) nper-1]/rate –> [1]

We can now combine the two into one “master equation” to represent all of investing and borrowing!

fv= pv(1+rate) nper ± pmt[(1+rate) nper-1]/rate

If it is investing, use the + sign and

  • fv = corpus value
  • pv = lump sum investment
  • rate = rate of return
  • nper = duration of the investment
  • pmt = periodic investment

If it is borrowing, use the – sign and

  • fv = loan balance
  • pv = amount borrowed
  • rate = rate of borrowing
  • nper = duration of the loan
  • pmt = periodic payment to close the loan

All the spreadsheet formulae like PV, FV, PMT, RATE, and NPER use this master equation. I would strongly recommend students of finance and financial advisors base their results on the master equation without blindly using spreadsheet formulas.

Do share this article with your friends using the buttons below.

We are on Google News. Use this button to add freefincal.com as a preferred personal finance source on Google News.
Add freefincal as a preferred news source
Add freefincal as a preferred news source


Use our Robo-advisory Tool to create a complete financial plan! More than 3,000 investors and advisors use this! Use the discount code robo25 for 20% off. Plan your retirement (early, normal, before, and after), plus non-recurring financial goals (such as child education) and recurring financial goals (such as holidays and appliance purchases). The tool helps anyone aged 18 to 80 plan for retirement, plus six non-recurring and four recurring financial goals, with a detailed cash flow summary.

🔥Join our community of 9000+ users! 🔥Avail massive discounts on our courses + freefincal investor circle!


Track your mutual funds and stock investments with our Google Sheet!
We also publish monthly equity mutual funds, debt and hybrid mutual funds, index funds, ETF screeners, as well as momentum and low-volatility stock screeners.

You can follow our articles on Google News

Follow Freefincal on Google News
Follow Freefincal on Google News

We have over 1,000 videos on YouTube!

Subscribe to the freefincal Youtube Channel.
Subscribe to the freefincal YouTube Channel

Podcast: Let's Get RICH With PATTU! Every single Indian CAN grow their wealth!
Listen to the Lets Get Rich with Pattu Podcast
Listen to the Let's Get Rich with Pattu Podcast

You can watch podcast episodes on the OfSpin Media Friends YouTube Channel
Lets Get RICH With PATTU podcast on YouTube
Listen to the Let's Get Rich With Pattu podcast on YouTube.
Now watch Let's Get Rich With Pattu தமிழில் (in Tamil)!
  • Do you have a comment about the above article? Reach out to us on Twitter: @freefincal or @pattufreefincal
  • Have a question? Subscribe to our newsletter using the form below.
  • Hit 'reply' to any email from us! We do not offer personalised investment advice. We can write a detailed article without mentioning your name if you have a generic question.

About The Author

Dr M. Pattabiraman (PhD) is the founder, managing editor and primary author of freefincal. He is an associate professor at the Indian Institute of Technology, Madras. He has over 14 years of experience publishing news analysis, research and financial product development.
Pattabiraman editor freefincal
Pattabiraman has co-authored three print books: (1) You can be rich too with goal-based investing (CNBC TV18) for DIY investors. (2) Gamechanger for young earners. (3) Chinchu Gets a Superpower! for kids. He has also written seven other free e-books on various money management topics. He is a patron and co-founder of “Fee-only India,” an organisation promoting unbiased, commission-free, AUM-independent investment advice.

Connect with him via Twitter(X) LinkedIn YouTube


Our flagship course! Learn to manage your portfolio like a pro to achieve your goals regardless of market conditions! More than 3,500 investors and advisors are part of our exclusive community! Get clarity on how to plan for your goals and achieve the necessary corpus no matter the market conditions! Watch the first lecture for free! One-time payment! No recurring fees! Lifelong access to videos! Reduce fear, uncertainty and doubt while investing! Learn how to plan for your goals before and after retirement with confidence.
Increase your income by getting people to pay for your skills! More than 900 salaried employees, entrepreneurs and financial advisors are part of our exclusive community! Learn how to get people to pay for your skills! Whether you are a professional or small business owner seeking more clients through online visibility, or a salaried individual looking for side or passive income, we will show you how to do it by showcasing your skills and building a community that trusts and pays you. (Watch the 1st lecture for free). One-time payment! No recurring fees! Lifelong access to videos!
Our book for kids: “Chinchu Gets a Superpower!” is now available!
Both boy and girl version covers of Chinchu gets a superpower
Both the boy and girl versions of "Chinchu Gets a Superpower".
Most investor problems stem from a lack of informed decision-making. We made bad decisions and money mistakes when we started earning, and we spent years undoing them. Why should our children go through the same pain? What is this book about? As parents, what if we had to groom one ability in our children that is key not only to money management and investing but to every aspect of life? My answer: Sound decision-making. So, in this book, we meet Chinchu, who is about to turn 10. The story follows what he wants for his birthday and how his parents plan it, while also teaching him key ideas about decision-making and money management. What readers say!
Feedback from a young reader after reading Chinchu gets a Superpower
Feedback from a young reader after reading Chinchu gets a Superpower!
Must-read book even for adults! This is something that every parent should teach their kids right from their young age. The importance of money management and decision making based on their wants and needs. Very nicely written in simple terms. - Arun.

Buy the book: Chinchu gets a superpower for your child!


How to profit from content writing: Our new ebook is for those interested in getting a side income via content writing. It is available at a 50% discount for Rs. 500 only!
We publish monthly mutual fund screeners and momentum, low-volatility stock screeners.

About freefincal & its content policy

Freefincal is a News Media organisation dedicated to providing original analysis, reports, reviews and insights on mutual funds, stocks, investing, retirement and personal finance developments. We do so without conflict of interest and bias. Follow us on Google News. Freefincal serves more than three million readers a year (5 million page views) with articles based only on factual information and detailed analysis by its authors. All statements made will be verified with credible and knowledgeable sources before publication. Freefincal does not publish paid articles, promotions, PR, satire or opinions without data. All opinions will be inferences backed by verifiable, reproducible evidence/data. Contact Information: To get in touch, please use our contact form. (Sponsored posts or paid collaborations will not be entertained.)

Connect with us on social media


Our publications

You Can Be Rich Too with Goal-Based Investing

You can be rich too with goal based investing book cover
Published by CNBC TV18, this book helps you ask the right questions and find the right answers. It also includes nine online calculators, so you can create custom solutions tailored to your lifestyle. Get it now.

Gamechanger: Forget Startups, Join Corporate & Still Live the Rich Life You Want

Gamechanger book cover
This book is designed to help young earners get the basics right from the start! It will also help you travel to exotic places at a low cost! Get it or gift it to a young earner.

Your Ultimate Guide to Travel

Travel Training Kit Cover
This is an in-depth exploration of vacation planning, including how to find affordable flights, budget accommodations, and practical travel tips. It also examines the benefits of travelling slowly, both financially and psychologically, with links to relevant web pages and guidance at every step. Get the PDF for Rs 300 (instant download)