Free online compound interest calculator
Compound interest is interest that earns interest over time. This calculator shows how much a starting deposit plus regular contributions will grow into, year by year.
| Year | Balance | Contributions | Interest earned |
|---|
Saved to favorites
Your favorites live on the home page, under Your favorites. They're saved only on this device & browser — open the site on your phone or in another browser and you won't see them there. No account, no server.
How to use
- Enter your starting balance (can be $0), the annual interest rate, and the time horizon in years.
- Choose how often interest compounds — monthly is the most common for savings accounts.
- Add a monthly contribution if you plan to deposit regularly.
- The calculator shows the final balance, total interest earned, and total amount contributed.
- Press “Show year-by-year” for a detailed breakdown of growth each year.
The formula
For a lump sum with no contributions:
A = P × (1 + r/n)^(n × t)
Where P is the starting balance, r is the annual rate (as a decimal), n is the compounding periods per year, and t is the number of years.
When you add monthly contributions, the calculator converts to an effective monthly rate:
r_monthly = (1 + r/n)^(n/12) − 1
Then simulates month-by-month: each month, the balance earns balance × r_monthly, then the contribution is added.
Worked example
Starting with $10,000 at 7% annually, compounded monthly, with $500/month added over 10 years:
- Effective monthly rate: (1 + 0.07/12)^1 − 1 ≈ 0.5833%
- After 10 years (120 months): final balance ≈ $96,762
- Total contributions: $10,000 + (120 × $500) = $70,000
- Total interest: ≈ $26,762
The power of compounding is that more than a quarter of the final balance is pure interest — money that comes from growth, not your deposits.
Notes
- This calculator uses end-of-period contributions (deposits happen at the end of each month). Some plans use beginning-of-period, which yields slightly more.
- Taxes on interest or dividends reduce real returns. For tax-advantaged accounts (401k, IRA, Roth), the numbers here are more accurate.
- Past stock market returns don’t guarantee future results. The 7% figure is often cited as a historical average; actual returns vary year to year.
Frequently asked
What is the compound interest formula?
How does compounding frequency affect growth?
What does "total contributions" include?
Can I use this to model a savings account or investment portfolio?
How do I share my calculation?
Embed this calculator
Add this free calculator to your own site. Copy the snippet — it works anywhere you can paste HTML, and stays in sync with this page.
Articles about the compound interest calculator
- The math behind compound interest and how it builds wealth
Learn the mechanics of compound interest. We break down the standard formula, explain how monthly contributions accelerate your savings, and show why compounding frequency matters for your financial goals.
- 10 common compound interest calculator mistakes
Compound interest calculators are powerful tools for projecting your financial future, but only if you use them correctly. Learn about the most common errors people make when running their numbers and how to keep your estimates grounded in reality.
Related calculators
- Retirement calculator
Uses the same compounding math to project a nest egg with a target retirement age.
- Loan calculator
The flip side of compound interest — how compounding works against you when borrowing.
- Mortgage calculator
Fixed-rate mortgage payment and full amortization schedule.
- Income tax calculator
US federal income tax with FICA and bracket breakdown for 2024.