How to Calculate Compound Interest
Calculate how money grows with compound interest over time.
The Formula
A = P(1 + r/n)^(nt)The compound interest formula uses the mathematical relationship: A = P(1 + r/n)^(nt). Each variable in the formula represents a measurable quantity that affects the final result.
What Each Variable Means
Every value in the compound interest formula, what it measures, and the value used in the worked example on this page:
| Variable | Type | Example value |
|---|---|---|
| Initial Investment | Input (you provide) | $10,000 |
| Annual Interest Rate | Input (you provide) | 8 % |
| Investment Period | Input (you provide) | 10 |
| Compounding Frequency | Input (you provide) | 12 |
| Monthly Contribution | Input (you provide) | $0 |
| Future Value | Result (calculated) | — |
| Total Interest Earned | Result (calculated) | — |
| Total Contributions | Result (calculated) | — |
| Effective Annual Rate | Result (calculated) | — |
Step-by-Step Method
- 1Write down the values you know: Initial Investment, Annual Interest Rate, Investment Period, Compounding Frequency, Monthly Contribution.
- 2Substitute your known values into the formula: A = P(1 + r/n)^(nt).
- 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
- 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
- 5Verify your answer with the interactive Compound Interest Calculator — it solves the same formula instantly.
Worked Example
Take a concrete case: initial investment = $5,000, with the other inputs at the typical values from the variables table above. Substituting into the formula gives future value = 11098.20, total interest earned = 6098.20, total contributions = 5000.00, effective annual rate = 8.300. These numbers are solved by the same engine that powers the Compound Interest calculator, so you can reproduce them exactly by entering the same inputs there.
| Initial Investment | Future Value | Total Interest Earned | Total Contributions | Effective Annual Rate |
|---|---|---|---|---|
| $3,000 | 6658.92 | 3658.92 | 3000.00 | 8.300 |
| $5,000 | 11098.20 | 6098.20 | 5000.00 | 8.300 |
| $8,000 | 17757.12 | 9757.12 | 8000.00 | 8.300 |
| $10,000 | 22196.40 | 12196.40 | 10000.00 | 8.300 |
| $20,000 | 44392.80 | 24392.80 | 20000.00 | 8.300 |
| $30,000 | 66589.21 | 36589.21 | 30000.00 | 8.300 |
| $40,000 | 88785.61 | 48785.61 | 40000.00 | 8.300 |
How each result changes as initial investment changes, holding the other inputs constant.
Practice Problems
1. Retirement savings: Plug in Initial Investment $5,000, Annual Interest Rate 7%, Investment Period 30, Compounding Frequency Monthly (12×/yr), Monthly Contribution $300. What is the answer?
Answer: Entering Initial Investment $5,000, Annual Interest Rate 7%, Investment Period 30, Compounding Frequency Monthly (12×/yr), Monthly Contribution $300 gives Future Value $406,573.79, Total Interest Earned $293,573.79, Total Contributions $113,000.00, Effective Annual Rate 7.229%.
2. Given Initial Investment $12,500, Annual Interest Rate 6%, Investment Period 18, Compounding Frequency Monthly (12×/yr), Monthly Contribution $200, what does it come out to?
Answer: The calculator returns Future Value $114,180.21, Total Interest Earned $58,480.21, Total Contributions $55,700.00, Effective Annual Rate 6.168% for Initial Investment $12,500, Annual Interest Rate 6%, Investment Period 18, Compounding Frequency Monthly (12×/yr), Monthly Contribution $200.
Frequently Asked Questions
What is the formula for compound interest?
The formula is: A = P(1 + r/n)^(nt). Calculate how money grows with compound interest over time.
What values do I need to calculate compound interest?
You need initial investment, annual interest rate, investment period, compounding frequency, monthly contribution. The calculator produces future value, total interest earned, total contributions, effective annual rate from those inputs.
What is the compound interest when initial investment is $5,000?
With initial investment = $5,000, the result is future value = 11098.20, total interest earned = 6098.20, total contributions = 5000.00, effective annual rate = 8.300. This is worked through in full in the example on this page.
Related Topics
Use the Interactive Calculator
Skip the manual math — get instant results with our free Compound Interest calculator.
