Tutorial
How to Calculate Compound Interest: Formula and Worked Examples
Published 15 March 2026 · 8 min read
Compound interest is one of the most powerful concepts in finance. Unlike simple interest, which is calculated only on the original principal, compound interest is calculated on the principal plus all previously accumulated interest. This means your money grows exponentially over time, making it the driving force behind savings accounts, investments, and loans.
In this guide, you will learn the compound interest formula, understand how compounding frequency affects growth, and work through three detailed examples that cover annual, monthly, and continuous compounding.
The Compound Interest Formula
The standard compound interest formula is:
- = the future value (principal + interest)
- = the initial principal (starting amount)
- = the annual interest rate (as a decimal)
- = the number of times interest is compounded per year
- = the number of years
Simple Interest vs Compound Interest
With simple interest, you earn a fixed amount each period based only on the original principal. With compound interest, each period's interest is added to the principal, so the next period earns interest on a larger amount.
Simple Interest
Growth is linear. After 10 years at 5% on $1,000, you earn $500 in interest.
Compound Interest
Growth is exponential. After 10 years at 5% compounded annually on $1,000, you earn $628.89 in interest.
The difference between $500 and $628.89 is entirely due to compounding. Over longer time periods and at higher rates, this gap widens dramatically.
How Compounding Frequency Matters
The value of in the formula determines how often interest is calculated and added to the principal. Common compounding frequencies include:
| Frequency | n value | $1,000 at 5% for 10 years |
|---|---|---|
| Annually | 1 | $1,628.89 |
| Quarterly | 4 | $1,643.62 |
| Monthly | 12 | $1,647.01 |
| Daily | 365 | $1,648.66 |
| Continuously | $1,648.72 |
Notice that more frequent compounding produces slightly higher returns, but the gains diminish as frequency increases. The jump from annual to monthly compounding is much larger than the jump from monthly to daily.
Worked Examples
Example 1: Annual Compounding
You invest $5,000 in a savings account that pays 6% interest compounded annually. How much will you have after 8 years?
Given: , , , .
After 8 years, your investment grows to $7,969.24. You earned $2,969.24 in compound interest.
Example 2: Monthly Compounding
You deposit $10,000 into an account earning 4.5% interest compounded monthly. What is the balance after 5 years?
Given: , , , .
After 5 years with monthly compounding, your $10,000 grows to $12,520.40.
Example 3: Continuous Compounding
For continuous compounding, we use a different formula based on Euler's number :
You invest $3,000 at 7% interest compounded continuously for 12 years. What is the final amount?
Given: , , .
With continuous compounding, your $3,000 more than doubles to $6,949.11 after 12 years.
The Rule of 72
The Rule of 72 is a quick mental shortcut for estimating how long it takes for an investment to double. Simply divide 72 by the annual interest rate:
For example, at 6% interest, your investment doubles in approximately years. At 9% interest, it doubles in about years.
This rule works best for interest rates between 2% and 12%. It is most accurate around 8%, where it matches the exact doubling time almost perfectly.
Solving for Other Variables
You can rearrange the compound interest formula to solve for any variable. Two common rearrangements are:
Solving for time
Solving for rate
Common Mistakes
Forgetting to convert the rate to a decimal
An interest rate of 5% must be entered as 0.05 in the formula, not 5. This is the most common error in compound interest calculations.
Using the wrong compounding frequency
Make sure matches the actual compounding schedule. If interest compounds monthly, use , not .
Confusing APR with APY
The Annual Percentage Rate (APR) is the stated rate before compounding. The Annual Percentage Yield (APY) accounts for compounding. APY is always equal to or greater than APR.
Rounding intermediate calculations
Keep as many decimal places as possible during intermediate steps. Only round the final answer to avoid accumulating rounding errors.
Try It Yourself
Want to run your own compound interest calculations? Our percentage calculator can help you work through percentage-based problems quickly and accurately.
Open Percentage CalculatorRelated Articles
The Complete Guide to Logarithms: Rules, Examples, and Applications
Master logarithms from the basics to advanced rules. Covers log properties, change of base formula, and real-world applications in science and finance.
How to Solve Quadratic Equations: 3 Methods with Examples
Learn how to solve quadratic equations using the quadratic formula, factoring, and completing the square. Step-by-step worked examples with clear explanations.
How to Find the Slope of a Line: Formula, Methods, and Examples
Learn how to find the slope of a line using the slope formula, rise over run, and slope-intercept form. Covers parallel and perpendicular slopes with worked examples.