The compound interest formula is \( A = P\left(1 + \frac{r}{n}\right)^{nt} \), where \( P \) is the starting amount (the principal), \( r \) is the annual interest rate written as a decimal, \( n \) is the number of times per year the interest is compounded, \( t \) is the time in years, and \( A \) is the final balance. The interest earned is \( A - P \). After this lesson you will be able to calculate a balance for any compounding period, compare simple and compound interest, use continuous compounding, turn a nominal rate into an effective annual rate (APY), work backward to the principal, the time or the rate, and handle depreciation and regular monthly deposits.
What is compound interest?
With simple interest, you earn interest only on the money you put in. With compound interest, the interest is added to the balance at the end of each period, and from then on it earns interest too. That "interest on interest" is the whole difference, and over long periods it becomes enormous.
Simple interest grows by the same amount every year, so the balance is a linear function of time. Compound interest grows by the same percentage every year, so the balance is an exponential function of time. If you have worked through percent increase and multipliers, you already know the key move: a 5% increase means multiplying by 1.05.
Example 1: Simple versus compound interest, year by year
You deposit 2,000 dollars at 5% per year for 3 years. Find the balance with simple interest and with interest compounded annually.
Solution. Simple interest: \( I = 2000 \cdot 0.05 \cdot 3 = 300 \), so the balance is 2,300 dollars.
Compound interest: each year the balance is multiplied by 1.05.
- After year 1: \( 2000 \cdot 1.05 = 2100 \) dollars.
- After year 2: \( 2100 \cdot 1.05 = 2205 \) dollars.
- After year 3: \( 2205 \cdot 1.05 = 2315.25 \) dollars.
In one step: \( 2000 \cdot 1.05^3 = 2315.25 \).
Answer: 2,300 dollars with simple interest and 2,315.25 dollars with compound interest.
The difference of 15.25 dollars is the interest earned on earlier interest: 5% of the 100 dollars added in year 1 is 5 dollars in year 2, and in year 3 the interest from both previous years (205 dollars) earns 10.25 dollars. Small over 3 years, but the gap widens every year.
The figure shows the long run. After 30 years at 7%, simple interest turns 1,000 dollars into 3,100 dollars, while annual compounding turns it into about 7,612 dollars, more than twice as much. For the first few years the two lines are almost on top of each other, which is why compounding is easy to underestimate.
What is the compound interest formula?
Suppose the bank pays an annual rate \( r \), split into \( n \) equal compounding periods per year (\( n = 1 \) annually, 2 semiannually, 4 quarterly, 12 monthly, 365 daily). In each period the rate is \( \frac{r}{n} \), so the balance is multiplied by \( 1 + \frac{r}{n} \). Over \( t \) years there are \( nt \) periods.
The formula is nothing more than repeated percentage increase. After one period you have \( P\left(1 + \frac{r}{n}\right) \), after two \( P\left(1 + \frac{r}{n}\right)^2 \), and so on. The balances form a geometric sequence with ratio \( 1 + \frac{r}{n} \) (see arithmetic and geometric sequences), which is why compound interest questions and geometric sequence questions feel alike.
Example 2: Monthly compounding over 10 years
You invest 5,000 dollars at 6% per year, compounded monthly. How much is in the account after 10 years, and how much of it is interest?
Solution. Here \( P = 5000 \), \( r = 0.06 \), \( n = 12 \), \( t = 10 \). The monthly rate is \( \frac{0.06}{12} = 0.005 \) and there are \( 12 \cdot 10 = 120 \) months.
The interest is \( 9096.98 - 5000 = 4096.98 \) dollars.
Answer: about 9,096.98 dollars, of which 4,096.98 dollars is interest.
How to calculate compound interest step by step
- Identify \( P \), the annual rate, the compounding period and the time. Read the question twice: "per year compounded quarterly" means \( n = 4 \).
- Convert the rate to a decimal \( r \) and find the rate per period, \( \frac{r}{n} \).
- Count the periods: \( nt \). For 18 months of monthly compounding that is 18; for 18 months of quarterly compounding it is 6.
- Compute the multiplier \( \left(1 + \frac{r}{n}\right)^{nt} \) and multiply by \( P \).
- If the question asks for the interest, subtract \( P \). Round money to the nearest cent at the very end.
- Sanity check: the compound balance should be at least the simple-interest balance \( P(1 + rt) \), never less (for a positive rate and a time of at least one period).
How does the compounding frequency change the result?
For the same annual rate, more frequent compounding gives a slightly higher balance, because interest starts earning interest sooner. The effect is real but much smaller than most people expect.
Example 3: Annual, quarterly, monthly and daily compounding
Find the balance after one year on 1,000 dollars at 12% per year for different compounding periods.
Solution. Use \( A = 1000\left(1 + \frac{0.12}{n}\right)^n \).
- Annually (\( n = 1 \)): \( 1000 \cdot 1.12 = 1120.00 \) dollars.
- Semiannually (\( n = 2 \)): \( 1000 \cdot 1.06^2 = 1123.60 \) dollars.
- Quarterly (\( n = 4 \)): \( 1000 \cdot 1.03^4 \approx 1125.51 \) dollars.
- Monthly (\( n = 12 \)): \( 1000 \cdot 1.01^{12} \approx 1126.83 \) dollars.
- Daily (\( n = 365 \)): \( 1000\left(1 + \frac{0.12}{365}\right)^{365} \approx 1127.47 \) dollars.
Answer: from 1,120.00 dollars (annual) to about 1,127.47 dollars (daily). Going from monthly to daily adds only about 65 cents.
Continuous compounding
As \( n \) grows without limit, the factor \( \left(1 + \frac{r}{n}\right)^{n} \) approaches \( e^{r} \), where \( e \approx 2.71828 \) is Euler's number. This limiting case is called continuous compounding:
For the 1,000 dollars at 12% above, continuous compounding gives \( 1000e^{0.12} \approx 1127.50 \) dollars, only about 2 cents more than daily compounding. Continuous compounding is the ceiling: no compounding schedule at the same nominal rate can beat it.
Example 4: Continuous compounding
How much will 3,000 dollars grow to in 8 years at 4% per year compounded continuously?
Solution. \( A = 3000e^{0.04 \cdot 8} = 3000e^{0.32} \approx 4131.38 \).
Answer: about 4,131.38 dollars.
APR, APY and the effective annual rate
Because compounding frequency matters, two accounts with the same stated rate can pay different amounts. The stated yearly rate \( r \) is called the nominal rate; textbooks often label it APR (annual percentage rate). On real loans, though, the APR is a legally defined figure that can also include fees, so it is not always the same as the nominal interest rate. The rate you actually earn in a year, including compounding, is the effective annual rate. On US savings accounts it is quoted as the APY (annual percentage yield); UK banks call it the AER (annual equivalent rate).
Example 5: From a nominal rate to the APY
A savings account pays 6% per year compounded monthly. What is its APY?
Solution. \( \text{APY} = 1.005^{12} - 1 \approx 0.061678 \), which is about 6.17%.
Answer: about 6.17%. A deposit grows by 6.17% per year, not 6%.
Example 6: Comparing two offers
Bank A pays 5% compounded quarterly. Bank B pays 5.1% compounded annually. Which is better?
Solution. Compare effective annual rates. Bank A: \( \left(1 + \frac{0.05}{4}\right)^4 - 1 = 1.0125^4 - 1 \approx 0.050945 \), or about 5.09%. Bank B: 5.1% exactly, since annual compounding adds nothing.
Answer: Bank B is slightly better (5.10% versus about 5.09% per year).
How do you solve for the principal, the time or the rate?
The formula has five letters. Any one can be the unknown, and each needs a different algebra move.
- Unknown \( A \): plug in and evaluate.
- Unknown \( P \): divide, \( P = \frac{A}{\left(1 + \frac{r}{n}\right)^{nt}} \). This is called the present value.
- Unknown \( t \): the unknown is in the exponent, so take logarithms.
- Unknown \( r \): take the \( nt \)-th root.
Example 7: How much to invest today (present value)
How much must you invest now at 4.5% per year, compounded annually, to have 10,000 dollars in 6 years?
Solution. Solve \( 10000 = P \cdot 1.045^6 \) for \( P \):
Answer: about 7,678.96 dollars.
Example 8: How long until the money doubles?
How many years does it take for an investment to double at 7% per year compounded annually? Give the exact value and the number of whole years.
Solution. The principal does not matter: \( 2P = P \cdot 1.07^t \) gives \( 1.07^t = 2 \). Take the natural logarithm of both sides and use \( \ln a^t = t \ln a \):
Since interest is added only at the end of each year, check whole years: \( 1.07^{10} \approx 1.967 \) is still below 2, while \( 1.07^{11} \approx 2.105 \) is above it.
Answer: \( t \approx 10.24 \) years, so the balance first doubles at the end of year 11.
Example 9: What rate did the investment earn?
An investment of 8,000 dollars grew to 10,000 dollars in 5 years with annual compounding. Find the annual interest rate.
Solution. Solve \( 8000(1 + r)^5 = 10000 \). Divide by 8000 to get \( (1 + r)^5 = 1.25 \), then take the fifth root:
Answer: about 4.56% per year.
How is the formula used for depreciation and regular deposits?
The same idea, a fixed percentage change each period, covers more than savings accounts. The key habit is to think in multipliers: every period contributes one factor, and the factors multiply.
When the rate changes
If the rate is different in different years, you cannot use a single power. Use one multiplier per year (or per period) and multiply them all together. The order does not matter, because multiplication is commutative.
Example 10: Two different rates
You deposit 4,000 dollars. For the first 2 years the account pays 3% per year, and for the next 3 years it pays 5% per year, both compounded annually. Find the balance after 5 years and the average annual rate.
Solution. The overall multiplier is \( 1.03^2 \cdot 1.05^3 \approx 1.228124 \), so
The average rate \( R \) is the constant rate that gives the same multiplier over 5 years: \( (1 + R)^5 = 1.03^2 \cdot 1.05^3 \), so \( R = \left(1.03^2 \cdot 1.05^3\right)^{1/5} - 1 \approx 0.04195 \).
Answer: about 4,912.50 dollars; the average rate is about 4.195% per year, slightly below the simple average \( \frac{2 \cdot 3 + 3 \cdot 5}{5} = 4.2\% \).
The geometric average is always at most the arithmetic one, which is why an investment that gains 50% and then loses 50% ends up 25% down (\( 1.5 \cdot 0.5 = 0.75 \)), not back where it started.
Depreciation: compound decrease
When something loses a fixed percentage of its value every year, the multiplier is less than 1. A loss of 15% means multiplying by \( 1 - 0.15 = 0.85 \). The formula becomes
where \( V_0 \) is the starting value. Population decline and radioactive decay follow the same pattern of exponential decay.
Example 11: The value of a car
A car bought for 24,000 dollars loses 15% of its value each year. Find its value after 4 years, and find the first whole year after which it is worth less than half the purchase price.
Solution. After 4 years: \( V = 24000 \cdot 0.85^4 = 24000 \cdot 0.52200625 = 12528.15 \) dollars.
For "less than half", solve \( 0.85^t < 0.5 \). Taking natural logarithms gives \( t \ln 0.85 < \ln 0.5 \). Since \( \ln 0.85 \) is negative, dividing by it flips the inequality: \( t > \frac{\ln 0.5}{\ln 0.85} \approx 4.27 \). After 4 years the car is still worth 12,528.15 dollars, just over half of 24,000; after 5 years it is worth \( 24000 \cdot 0.85^5 \approx 10648.93 \) dollars.
Answer: 12,528.15 dollars after 4 years; it first drops below half its price after 5 years.
Regular deposits
Most real saving is not one deposit but many: say a fixed amount \( D \) at the end of every month. Each deposit grows for a different number of months, and adding all those balances gives a geometric series. With a periodic rate \( i = \frac{r}{n} \) and \( N \) deposits, the final balance is
(this is the future value of an ordinary annuity, with deposits at the end of each period).
Example 12: Saving every month (exam level)
You deposit 200 dollars at the end of every month for 3 years into an account paying 6% per year compounded monthly. How much will you have, and how much of it is interest?
Solution. Here \( D = 200 \), \( i = \frac{0.06}{12} = 0.005 \) and \( N = 36 \).
You paid in \( 36 \cdot 200 = 7200 \) dollars, so the interest is about \( 7867.22 - 7200 = 667.22 \) dollars.
Answer: about 7,867.22 dollars, including about 667.22 dollars of interest.
Why the formula holds: the last deposit earns nothing, the one before it grows for 1 month, and the first one grows for 35 months. The balances are \( 200, 200 \cdot 1.005, \ldots, 200 \cdot 1.005^{35} \), a geometric series with 36 terms and ratio 1.005, whose sum is exactly the expression above.
What are the most common compound interest mistakes?
- Using the percentage instead of the decimal. \( (1 + 6)^{10} \) is not the same as \( 1.06^{10} \).
- Forgetting to divide the rate by \( n \). With monthly compounding at 6%, the monthly rate is 0.5%, not 6%.
- Using years instead of periods in the exponent. Monthly compounding for 10 years is 120 periods.
- Using simple interest by mistake. \( P(1 + rt) \) adds interest only on the principal. If the question says "compounded", use the exponential formula.
- Rounding too early. Rounding \( 1.005^{120} \) to 1.82 instead of 1.8194 changes the answer in Example 2 by about 3 dollars.
- Undoing a percentage loss by division. A 15% loss is the multiplier 0.85, not \( \frac{1}{1.15} \approx 0.87 \).
- Reporting a non-integer number of years when interest is added once a year. If the balance changes only at the end of each year, the answer to "after how many years" is a whole number.
FAQ about compound interest
Is compound interest the same as exponential growth?
Yes. The balance \( A = P\left(1 + \frac{r}{n}\right)^{nt} \) is an exponential function of \( t \) with base greater than 1. Depreciation is exponential decay, with base between 0 and 1.
How do I calculate compound interest without the formula?
Multiply by \( 1 + \frac{r}{n} \) once for every period, as in Example 1. For a few periods that is fine; for 120 months the formula, or a spreadsheet, is far quicker.
How do I calculate compound interest in a spreadsheet?
Type the formula directly into a cell, for example =5000*(1+0.06/12)^120 for Example 2. Spreadsheets also have a built-in future value function (FV in Excel, Google Sheets and LibreOffice). It follows a cash-flow sign convention: money you pay in and money you get back have opposite signs. So =FV(0.06/12, 120, 0, -5000), with the deposit entered as a negative number, returns about 9,096.98; enter the deposit as a positive number and the same amount comes back with a minus sign.
Why is continuous compounding written with e?
Because \( \left(1 + \frac{1}{m}\right)^{m} \) approaches \( e \) as \( m \) grows. Writing \( m = \frac{n}{r} \) turns \( \left(1 + \frac{r}{n}\right)^{nt} \) into \( \left[\left(1 + \frac{1}{m}\right)^{m}\right]^{rt} \), which approaches \( e^{rt} \).
Do real accounts work exactly like this?
The formula assumes a fixed rate, no withdrawals and no taxes or fees. Real accounts may change their rate, charge fees, or have interest taxed, and loans use the same mathematics in reverse with regular repayments. The formula is the core of all of these calculations, and the details depend on the contract.
Cheat sheet
- Simple interest: \( I = Prt \), \( A = P(1 + rt) \).
- Compound interest: \( A = P\left(1 + \frac{r}{n}\right)^{nt} \); interest earned \( = A - P \).
- Continuous compounding: \( A = Pe^{rt} \).
- Effective annual rate (APY, AER): \( \left(1 + \frac{r}{n}\right)^{n} - 1 \), or \( e^{r} - 1 \) for continuous compounding.
- Present value: \( P = \frac{A}{\left(1 + \frac{r}{n}\right)^{nt}} \).
- Time: \( t = \frac{\ln(A/P)}{n \ln\left(1 + \frac{r}{n}\right)} \). Doubling time is about \( \frac{72}{R} \) years at \( R \)%.
- Rate (annual compounding): \( r = \left(\frac{A}{P}\right)^{1/t} - 1 \).
- Depreciation: \( V = V_0(1 - r)^{t} \).
- Regular deposits: \( A = D \cdot \frac{(1 + i)^{N} - 1}{i} \) with \( i = \frac{r}{n} \).
Practice
Each problem checks your answer at once and has a hint and a full solution.
- Compound interest: years needed to pass a target is a "solve for the time" question.
- Two successive percentage changes in a card value practices multiplying percentage changes.
- Percentage increase in a town population asks for the total percent change over ten years.
- Reverse percentage: train pass price before a rise is the one-step version of present value.
- Raise by p%, then cut by 2p%: find p turns multipliers into a quadratic equation.
- Sum of the first eight terms of a geometric sequence uses the same series as regular deposits.
For more, see all percentage practice problems or browse the other English lessons.