
Understanding Compound Interest: Where Does the Formula A = P(1 + r/n)^n Come From?
1. Introduction: Understanding the Mathematics Behind Compound Interest
Suppose you deposit ₹100 in a bank that offers an annual interest rate of 100%.
At the end of one year, if interest is calculated only once, you receive ₹100 as interest.
Your total balance becomes:
Your final balance is therefore ₹200.
But what happens if the bank calculates interest twice a year instead of once?
Interestingly, your final balance becomes ₹225 rather than ₹200.
Why?
The reason is compound interest. Unlike simple interest, where interest is calculated only on the original principal, compound interest is calculated on the accumulated balance, including previously earned interest.
Let’s understand the mathematics behind this process.
2. What Happens When Interest Is Calculated Once a Year?
Our starting assumptions are:
- Initial deposit (principal): ₹100
- Annual interest rate: 100%
- Investment period: One year
The interest earned is ₹100 because the annual interest rate is equal to the entire original deposit.
Therefore, the final amount is:
The final balance is ₹200.
This is annual compounding, where interest is calculated once at the end of the year.
3. What If Interest Is Calculated Twice a Year?
Now imagine that the bank calculates interest every six months.
Since the annual interest rate is 100%, the interest rate for each six-month period is:
In other words, the interest rate for each period is 50%.
First six months
The initial deposit is ₹100.
Interest earned:
New balance:
At the end of the first six months, our balance becomes ₹150.
Second six months
Here is where compound interest becomes interesting.
The bank now calculates interest on ₹150 rather than the original ₹100.
Interest earned:
Final balance:
Therefore, the final amount is ₹225.
The additional ₹25 compared with annual compounding arises because the interest earned during the first six months also earns interest during the second six months.
4. What If Interest Is Calculated Four Times a Year?
Suppose interest is calculated quarterly.
There are four quarters in a year.
The interest rate per quarter becomes:
The calculation proceeds as follows:
| Period | Calculation | Balance |
|---|---|---|
| Initial deposit | — | ₹100 |
| First quarter | 100 × 1.25 | ₹125 |
| Second quarter | 125 × 1.25 | ₹156.25 |
| Third quarter | 156.25 × 1.25 | ₹195.31 |
| Fourth quarter | 195.31 × 1.25 | ₹244.14 |
Our final balance is approximately ₹244.14.
Notice that more frequent compounding produces a higher final balance.
Why does this happen?
Because every time interest is added to the balance, the next interest calculation is performed on a larger amount.
5. Deriving the Compound Interest Formula
We can now derive a general mathematical formula.
Let:
- P = Initial principal
- r = Annual interest rate expressed as a decimal
- n = Number of compounding periods per year
- A = Final amount after one year
Step 1: Calculate the interest rate per period
If the annual interest rate is r and interest is calculated n times per year, the interest rate for each period is:
For example, with a 100% annual interest rate and two compounding periods:
This is equivalent to 50% interest per period.
Step 2: Understand the multiplication factor
During each compounding period, the investor retains the entire existing balance and earns additional interest.
The multiplication factor is therefore:
Why do we add 1?
The number 1 represents the entire existing balance. The additional term represents the interest earned during that period.
For example, if the interest rate per period is 50%:
Multiplying the existing balance by 1.5 increases it by 50%.
Step 3: Apply the multiplication repeatedly
If interest is calculated twice, we multiply by the same factor twice:
If interest is calculated four times:
More generally, for n compounding periods:
This is the compound interest formula for one year.
The formula is not arbitrary. It emerges naturally from repeatedly multiplying the existing balance by the same growth factor.
6. Understanding the Formula Through a Numerical Example
Let’s return to our original example.
We have:
- Principal = ₹100
- Annual interest rate = 100% = 1
- Compounding periods = n
Substituting these values into the general formula:
Let’s examine how the final balance changes as we increase the number of compounding periods.
| Compounding periods (n) | Final amount |
|---|---|
| 1 | ₹200.00 |
| 2 | ₹225.00 |
| 4 | ₹244.14 |
| 12 | ₹261.30 |
| 365 | ₹271.46 |
| 10,000 | ₹271.81 |
| 1,000,000 | ₹271.83 |
The final balance keeps increasing, although the additional increase becomes progressively smaller.
Notice something remarkable: even though we keep increasing the number of compounding periods, the final amount approaches a particular value.
What is that value?
7. Experiment: Calculate Compound Interest Yourself
Try changing the number of compounding periods in an interactive calculator.
Observe how the final amount changes as interest is calculated more frequently.
For this example, use the following expression:
Here, n represents the number of times interest is calculated during the year.
You can experiment with:
- n = 1 for annual compounding.
- n = 2 for half-yearly compounding.
- n = 4 for quarterly compounding.
- n = 12 for monthly compounding.
- n = 365 for daily compounding.
As n increases, observe how the amount approaches ₹271.83.
Compound Interest & Euler’s Number Calculator
Explore how increasing the frequency of compounding changes your final balance. Discover how continuous compounding leads to Euler’s number (e).
Choose a preset or enter any whole number from 1 to 1,000,000.
A = P(1 + r/n)n
Continuous compounding formula:
A = Per
Current calculation:
A = 100 × (1 + 1/4)4
How Does Compounding Frequency Affect the Result?
| Periods (n) | Final Amount |
|---|
Continuous compounding represents the mathematical limit as the number of compounding periods approaches infinity. All calculations assume one year and a fixed annual rate.
8. The Connection to Euler’s Number (e)
We have arrived at an important mathematical discovery.
Consider the expression:
What happens when n becomes increasingly large?
As the number of compounding periods increases, the expression approaches a fixed mathematical value.
That value is called Euler’s number, represented by the letter e.
This gives us an important mathematical relationship:
The expression means that as n approaches infinity, the value of the expression approaches e.
Consequently, our original ₹100 deposit approaches:
This is the result of continuously compounded interest at an annual rate of 100%.
The interesting point is that e emerges naturally from the mathematics of increasingly frequent compounding.
It is not an arbitrary number invented for convenience.
9. What Does Continuous Compounding Actually Mean?
In ordinary compounding, interest is calculated at specific intervals.
For example:
- Annually: once a year.
- Half-yearly: twice a year.
- Quarterly: four times a year.
- Monthly: twelve times a year.
- Daily: 365 times a year.
But what if we imagine that interest is being calculated continuously?
Instead of waiting for the next scheduled calculation, we imagine that the compounding intervals become increasingly small.
Mathematically, we examine what happens as the number of compounding periods approaches infinity.
For an annual interest rate r, the continuous compounding formula becomes:
This formula applies to one year.
For a time period of t years, the general formula is:
Here:
- P represents the original principal.
- r represents the annual interest rate expressed as a decimal.
- t represents the number of years.
- e represents Euler’s number.
For our original example, the principal is ₹100, the annual rate is 1, and the time period is one year.
This is the same result we approached by increasing the number of compounding periods.
10. Why Is This Important in Calculus?
The connection between compound interest and Euler’s number goes far beyond banking.
The number e naturally appears in situations where the rate of change of a quantity is proportional to its current value.
For example, consider population growth.
If a population grows at a rate proportional to its current size, we can express the relationship using a differential equation:
Here:
- y represents the population.
- t represents time.
- k represents the growth-rate constant.
The solution is:
This explains why exponential functions appear throughout mathematics, physics, economics and biology.
The same mathematical principle applies to many other processes, including radioactive decay, certain financial models and the cooling of objects.
The important connection is that exponential growth or decay occurs when the rate of change depends on the quantity that currently exists.
11. Conclusion
We started with a simple bank deposit of ₹100 and an intentionally exaggerated annual interest rate of 100%.
By increasing the frequency of interest calculations, we discovered that the final amount approaches ₹271.83.
This led us to Euler’s number:
The important lesson is that e is not an arbitrary mathematical constant. It emerges naturally when we study continuous growth and compounding.
Understanding this connection provides a useful foundation for studying exponential functions, logarithms, differential equations and eventually hyperbolic sine and cosine.
The next mathematical question:
Why does the derivative of the exponential function e raised to the power x equal the function itself?
That is another remarkable property that makes e fundamental to calculus.





Leave a Reply