Compound Interest Calculator
Unlock the potential of your savings and investments with our Compound Interest Calculator. Often hailed as the "eighth wonder of the world," compound interest is a powerful force in wealth building, allowing your money to grow exponentially over time. This free calculator helps you visualize this growth by projecting how your initial investment and regular contributions can accumulate with different interest rates and compounding frequencies.
Calculate Your Investment Growth
How to Use This Calculator
Follow these simple steps to estimate your investment growth:
- Initial Investment: Enter the starting amount of your investment.
- Annual Contribution & Frequency: Input the total amount you plan to contribute each year and select how often you will make these contributions (monthly, quarterly, or annually).
- Annual Interest Rate: Provide the expected annual rate of return on your investment.
- Compounding Frequency: Choose how often the interest is compounded (daily, monthly, quarterly, or annually). More frequent compounding generally leads to slightly higher returns.
- Investment Time Period: Specify the number of years you plan to keep the investment.
- Inflation Rate (Optional): If you want to see the growth in today's dollars, enter an estimated annual inflation rate.
- Tax Rate (Optional): To estimate after-tax returns, enter your applicable marginal tax rate on investment gains.
- Calculate: Click the "Calculate" button to see your projected future value, total interest earned, and a year-by-year breakdown of your investment growth.
The results will help you understand the potential of compound interest and how different variables can impact your long-term wealth accumulation. Remember that these are projections, and actual investment returns can vary.
Method & sources
This calculator is educational, not advice. It projects how a balance grows under compounding maths from the numbers you enter; it is not investment, tax or financial advice and it does not predict real-world investment returns. Consult a licensed financial or tax adviser before making a decision.
- Formula
Compounding periods per year n is fixed by the selected compounding frequency: daily = 365, monthly = 12, quarterly = 4, annually = 1.
Periodic rate i = Annual interest rate / 100 / n.
The balance is grown one compounding period at a time, for n periods per year across the full investment term: each period, interest = balance x i is added to the balance.
If an annual contribution is entered, it is divided by c (the periods/year implied by the selected Contribution Frequency: monthly = 12, quarterly = 4, annually = 1) and added to the balance at the end of each of the c slices of the year that frequency implies - contribution k of c lands at compounding period ceil(k x n / c), so a quarterly contribution into a monthly-compounding account lands at months 3, 6, 9 and 12, and an annual contribution lands once, at year end (fixed 2026-09-21, FCH-ISS-23 - see Limitations for the prior behaviour).
Future value (nominal) = the balance after running this period-by-period loop for the full investment term in years.
Total principal invested = Initial investment + the sum of all contributions actually added.
Total interest earned = Future value (nominal) - Total principal invested.
Effective annual rate = ((1 + Annual interest rate/100/n)^n - 1) x 100 - the true annualised yield once compounding frequency is accounted for.
If an inflation rate is entered (optional), Inflation-adjusted future value = Future value (nominal) / (1 + Inflation rate/100)^(Investment period in years). This deflates only the final nominal figure; it does not adjust the yearly contributions for inflation along the way.
If a tax rate is entered (optional), After-tax future value = Future value (nominal) - (Total interest earned x Tax rate/100). This taxes the whole accumulated interest once, at the end, at the entered rate - it does not model tax paid annually or reinvestment of after-tax proceeds.
- Rounding
- Every dollar figure shown is formatted with Intl.NumberFormat to the nearest cent for display only (e.g. $1,234.56); the year-by-year loop that produces the underlying balance runs on full floating-point precision at every compounding period, so results are not compounded off already-rounded numbers. The effective annual rate is rounded to 2 decimal places for display only.
- Inputs used
- Initial Investment (required, minimum $0)
- Annual Contribution (optional, defaults to $0)
- Contribution Frequency: Monthly, Quarterly or Annually (display-only - see limitations, it does not change the calculation)
- Annual Interest Rate, 0-200% (required)
- Compounding Frequency: Daily (365), Monthly (12), Quarterly (4) or Annually (1) (required, defaults to Monthly)
- Investment Time in whole years, minimum 1 (required)
- Inflation Rate, 0-100% (optional; when entered, adds an inflation-adjusted future value)
- Tax Rate, 0-100% (optional; when entered, adds an after-tax future value)
- What this does not account for
- Any effect of the "Contribution Frequency" selector - see limitations, this field is collected but never used in the calculation
- Fees, expense ratios, trading costs, or account/platform charges of any kind
- Sequence-of-returns risk or any variability in the rate - the entered annual rate is treated as constant and guaranteed for the whole term
- Annual contribution growth (e.g. increasing contributions with a raise or inflation) - the entered contribution amount is held flat for every year of the term
- State, federal or capital-gains tax nuance - the optional tax rate is a single flat rate applied once to total interest at the end, not real-world tax-lot, bracket or account-type (401k/IRA/taxable) treatment
- Continuous compounding (the FAQ copy on the page mentions it as a theoretical limit, but the calculator itself only offers daily, monthly, quarterly or annual compounding)
- Jurisdiction
- Not jurisdiction-specific. This is a generic compounding-mathematics tool; the optional tax-rate field accepts any flat percentage the user enters and applies no jurisdiction-specific tax rules.
- Source
- Consumer Financial Protection Bureau, "How does compound interest work?"
- Effective date
- Not date-sensitive: the compound-interest formula and the concept of compounding frequency are stable mathematics, not a value that changes on a schedule.
- Version
- 1.1
- Last substantive review
- 2026-09-20
- Limitations
- Fixed 2026-09-21 (FCH-ISS-23): the "Contribution Frequency" dropdown used to be read from the form and never used again - annual_contribution was always split evenly across the selected Compounding Frequency's periods, no matter what Contribution Frequency said, so the field was decorative. It now controls when contributions land, independently of how often the account compounds.
- The inflation adjustment deflates only the single nominal end figure by (1+inflation)^years; it does not reduce the real value of each year's contribution as it's made, so it understates the inflation drag on long-term contribution-heavy plans.
- The tax adjustment applies the entered flat tax rate to the entire accumulated interest as a single lump sum at the end, not year-by-year - it is a rough illustration of tax drag, not a tax projection.
- The annual interest rate is treated as fixed for the whole term; no real investment (equities, bonds or savings accounts) compounds at a smooth guaranteed rate every period.
- This is a mathematical projection, not a promise, quote, or forecast of any real account's performance.
Reference cases
Five worked examples you can check by hand against the formula above.
Reference case 1: $5,000 initial investment, no contributions, 6% annual rate, monthly compounding, 10 years
- Initial Investment: $5,000
- Annual Contribution: $0
- Annual Interest Rate: 6%
- Compounding Frequency: Monthly
- Investment Time: 10 years
Result: Future value (nominal) $9,096.98. Total principal invested $5,000.00. Total interest earned $4,096.98. Effective annual rate 6.17%.
Reference case 2: FCH-ISS-23 fix demonstrated: $1,000 initial investment, $1,200/yr contribution paid QUARTERLY into an account that compounds MONTHLY (mismatched frequencies), 5.5% annual rate, 20 years
- Initial Investment: $1,000
- Annual Contribution: $1,200
- Contribution Frequency: Quarterly
- Annual Interest Rate: 5.5%
- Compounding Frequency: Monthly
- Investment Time: 20 years
Result: Future value (nominal) $46,360.31. Total principal invested $25,000.00. Total interest earned $21,360.31. Effective annual rate 5.64%. Contributions land at the end of months 3, 6, 9 and 12 each year (quarter-end), not spread across all 12 monthly compounding periods as the pre-fix code always did regardless of this field - the pre-fix behaviour would have produced $46,559.37 with these same inputs, $199.06 MORE, because spreading the same annual total across 12 smaller monthly instalments gets slightly more of it into the account earlier in the year than 4 larger quarterly instalments do.
Reference case 3: $10,000 initial investment, no contributions, 7% annual rate, daily compounding, 15 years, with 3% inflation rate entered
- Initial Investment: $10,000
- Annual Contribution: $0
- Annual Interest Rate: 7%
- Compounding Frequency: Daily
- Investment Time: 15 years
- Inflation Rate: 3%
Result: Future value (nominal) $28,573.63. Total interest earned $18,573.63. Effective annual rate 7.25%. Inflation-adjusted future value $18,340.33 (exercises the optional inflation-rate code path).
Reference case 4: $2,000 initial investment, $600/yr contribution, 8% annual rate, annual compounding, 25 years, with 22% tax rate entered
- Initial Investment: $2,000
- Annual Contribution: $600
- Annual Interest Rate: 8%
- Compounding Frequency: Annually
- Investment Time: 25 years
- Tax Rate: 22%
Result: Future value (nominal) $57,560.51. Total principal invested $17,000.00. Total interest earned $40,560.51. Effective annual rate 8.00%. After-tax future value $48,637.20 (exercises the optional tax-rate code path).
Reference case 5: $500 initial investment, no contributions, 4% annual rate, monthly compounding, 1 year (minimum-term edge case)
- Initial Investment: $500
- Annual Contribution: $0
- Annual Interest Rate: 4%
- Compounding Frequency: Monthly
- Investment Time: 1 year
Result: Future value (nominal) $520.37. Total principal invested $500.00. Total interest earned $20.37. Effective annual rate 4.07%.
Change log
| Date | Change |
|---|---|
| 2026-09-20 | Card published (T-685). Formula and reference cases verified against finance/investment/compound-interest-calculator/js/compound-interest-calculator.js and computed independently (re-implemented in Python) to confirm all five reference results. Discovered and documented the Contribution Frequency dead-field bug in the process. |
| 2026-09-21 | FCH-ISS-23 fixed: Contribution Frequency now controls when contributions land, independently of Compounding Frequency, via ceil(k x n / c) placement (see formula). Verified the fix exactly reproduces the old behaviour when the two frequencies match, and lands each contribution at a sensible period boundary (quarter-end, year-end) rather than the old code's implicit mid-year artifact an earlier rounding-based draft of this fix would have introduced. New Playwright coverage in tests/compound-interest-calculator.spec.js. Reference case 2 replaced with a mismatched-frequency scenario that actually exercises the fix, since none of the original five did; its numbers recomputed and the pre-fix comparison figure double-checked in Node before publishing (an initial draft had the direction of the difference backwards). |
Understanding Compound Interest
What is Compound Interest?
Compound interest is the interest earned on an initial principal amount plus the accumulated interest from previous periods. Essentially, it means earning "interest on your interest." This contrasts with simple interest, where interest is calculated only on the original principal. The power of compounding allows investments to grow at an accelerating rate over time, making it a cornerstone of long-term wealth building. It is often referred to as the "eighth wonder of the world" for its remarkable ability to multiply money.
The Compound Interest Formula
$$A = P\left(1 + \frac{r}{n}\right)^{nt}$$
- $A$ = the future value of the investment/loan, including interest
- $P$ = the principal investment amount (the initial deposit or loan amount)
- $r$ = the annual interest rate (decimal)
- $n$ = the number of times that interest is compounded per year
- $t$ = the number of years the money is invested or borrowed for
When regular contributions are made, the formula becomes more complex, which is where our calculator simplifies the process. More frequent compounding (e.g., daily vs. annually) results in slightly higher earnings due to interest being calculated on a growing balance more often. Continuous compounding represents the theoretical limit of compounding frequency.
Frequently Asked Questions (FAQ)
FAQ Index
- What is compound interest and how does it work?
- How is compound interest different from simple interest?
- How often does interest compound in most investments?
- What is the Rule of 72 and how can I use it?
- How does inflation affect my investment returns?
- Is it better to make a lump sum investment or regular contributions?
- How do taxes affect compound interest growth?
- What interest rate should I use for retirement planning?
- How much difference does starting early really make?
- Can compound interest work against me?
Compound interest is the process of earning interest on both your original investment (principal) and on the interest you've already earned. This creates a snowball effect where your money grows at an accelerating rate over time. For example, if you invest $1,000 at 5% annual interest compounded annually, you'll earn $50 in the first year (5% of $1,000). In the second year, you'll earn $52.50 (5% of $1,050), and so on. This is why Albert Einstein allegedly called compound interest the 'eighth wonder of the world.'
Simple interest is calculated only on the original principal, while compound interest is calculated on both the principal and the accumulated interest. With simple interest, a $1,000 investment at 5% would earn exactly $50 each year. With compound interest, the interest earned increases each year as the balance grows. Over long periods, the difference between simple and compound interest becomes substantial. For example, over 30 years, $1,000 at 5% would grow to $2,500 with simple interest but to $4,322 with annual compound interest.
The compounding frequency varies by investment type. Savings accounts and CDs often compound daily or monthly. Bonds typically compound semi-annually. For stocks, the concept of compounding applies to the reinvestment of dividends and capital gains, which can effectively occur at various intervals depending on the investment strategy. Our calculator allows you to select different compounding frequencies to see their impact.
The Rule of 72 is a simple way to estimate how long it will take for an investment to double in value, given a fixed annual rate of interest. Divide 72 by the annual interest rate to get the approximate number of years. For example, if your investment earns 6% per year, it will take approximately 12 years (72 / 6 = 12) to double. It's a quick mental math tool, not an exact calculation.
Inflation erodes the purchasing power of money over time. If your investment returns are 5% but inflation is 3%, your real rate of return (your actual increase in purchasing power) is only 2%. It's important to consider inflation when planning long-term investments to ensure your money grows faster than the cost of living. Our calculator includes an optional inflation rate input to show inflation-adjusted future values.
Both strategies have pros and cons. Historically, lump sum investing has often outperformed regular contributions (dollar-cost averaging) if the market trends upwards, as more money is invested for longer. However, dollar-cost averaging can reduce risk by averaging out purchase prices during market volatility and is often more practical for individuals investing from regular income. The best approach depends on your risk tolerance, financial situation, and market outlook.
Taxes can significantly impact the net growth of your investments. The effect of taxes depends on the type of investment account (e.g., taxable brokerage account, tax-deferred like a 401(k) or traditional IRA, or tax-free like a Roth IRA) and the type of investment income (e.g., interest, dividends, capital gains). Tax-advantaged accounts can allow your investments to compound more effectively by deferring or eliminating taxes on growth. Our calculator includes an optional tax rate input to estimate after-tax returns.
Choosing an appropriate interest rate for retirement planning involves considering your investment mix (asset allocation), time horizon, and risk tolerance. Historically, diversified stock market investments have returned an average of 7-10% annually over the long term, but past performance doesn't guarantee future results. It's often prudent to use a more conservative estimate, such as 4-6%, especially as you get closer to retirement. Consult with a financial advisor for personalized guidance.
Starting to invest early makes a dramatic difference due to the power of compounding over a longer time horizon. Even small, consistent investments made in your 20s can grow significantly more than larger investments started in your 30s or 40s. For example, investing $100 per month from age 25 to 65 at 7% annual return could result in a much larger nest egg than investing $200 per month from age 35 to 65, simply because the money has more time to compound.
Yes, compound interest can work against you when it comes to debt, especially high-interest debt like credit card balances or payday loans. If you're not paying off your debt in full, the interest charged can compound, meaning you'll pay interest on the interest, causing your debt to grow rapidly. This is why it's crucial to manage debt effectively and prioritize paying down high-interest loans.
