2026-08-02 10 min

Compound Interest Calculator

Calculate compound interest accumulation and final balances on fixed principal amounts with optional periodic contributions. Includes tax and inflation adjustments plus a yearly and monthly accumulation schedule.

Calculator

Initial Investment
$
Annual Contribution
$
Monthly Contribution
$
Compounding Frequency
Annual Interest Rate(%)
%
Length (Years)(yr)
yr
Months(mo)
mo

Contribute At

Beginning of each period End of each period

Optional Adjustments

Tax Rate(%)
%
Inflation Rate(%)
%
Results update live as you type

Accumulation Schedule

YearDepositInterestEnding Balance
1$5,000.00$1,513.05$31,513.05
2$5,000.00$1,846.27$38,359.32
3$5,000.00$2,196.54$45,555.85
4$5,000.00$2,564.73$53,120.58
5$5,000.00$2,951.75$61,072.33

Results

Optimal

Ending Balance

$61,072.33

Projected total value of the investment at the end of the term

Total Contributions

$25,000.00

All money you added: initial investment plus deposits

Total Interest

$11,072.33

Interest earned — the growth produced by compounding

Interest from Initial Investment

$1,513.05

Interest attributable to the original principal alone

Interest from Contributions

$9,559.28

Interest attributable to the deposits you made

Buying Power After Inflation

$61,072.33

Ending balance expressed in today's dollars after inflation adjustment

Results are projections based on the rate, deposits, and term entered. Actual returns vary with markets, fees, and taxes — treat the output as a planning estimate, not a guarantee.

Visualizations

Where Your Money Comes From

Initial Investment69%
Contributions0%
Interest31%

Balance Growth Over Time

Formula

The future value is computed with the compound interest formula. The balance is tracked month by month: each period's interest is added to the balance (after tax), and deposits are applied either at the start or the end of the period depending on the selected contribution timing.

A = P(1 + r/n)^(nt) + C × [((1 + r/n)^(nt) − 1) / (r/n)]

Alternative Form

Rule of 72: Years to double = 72 / (rate in %)

Variables

SymbolNameUnitDescription
PInitial principalcurrencyStarting balance
CPeriodic contributioncurrencyAnnual or monthly deposits
rAnnual interest ratedecimalNominal rate before compounding
nCompounding periods per yearper yearDepends on the selected frequency (12 for monthly)
tTimeyearsTotal investment length
AFuture valuecurrencyEnding balance including all interest

Explanation

Each month, interest is earned on the entire current balance — including interest from previous months. This is what makes growth exponential rather than linear: the interest itself earns interest. Deposits add to the balance at the beginning or end of each period, and the inflation adjustment divides the final balance by (1 + inflation)^years to express it in today's dollars.

Derivation

The compound interest formula comes from applying the period rate n times per year for t years: A = P(1 + r/n)^(nt). The contribution term is a geometric series of deposits, each compounding for a different length of time, which sums to C × [((1 + r/n)^(nt) − 1) / (r/n)]. The Rule of 72 approximates the doubling time by noting ln(2) ≈ 0.693 ≈ 0.72 when the rate is expressed as a percentage and time is short.

Step-by-Step Calculation

Follow each step to understand how the result is calculated from your inputs.

Step 1

Set up the investment: starting principal, deposits, and term.

P, C_annual, C_monthly, t = years + months / 12
Initial Investment:$25,000.00
Annual Contribution:$5,000.00
Monthly Contribution:$0.00
Intermediate: t = 5 + 0/12 = 5.00 years
Result: 5.0 year investment
Step 2

Convert the annual rate to the period rate for the chosen frequency.

i = r / n
Annual Rate:5%
Frequency:Monthly
Intermediate: Monthly rate = 0.4166666666666667% / month
Result: Period rate i = 0.004167
Step 3

Simulate each month: add deposits, earn interest on the full balance.

balance += deposit; balance += balance × i
Monthly Deposit:$0.00
Interest Rate Per Month:0.417%
Intermediate: Month 1 interest = balance × 0.004167
Result: After 60 months, ending balance = $61,072.33
Step 4

Apply taxes to interest earned each period.

afterTaxInterest = interest × (1 − taxRate)
Tax Rate:0%
Interest Before Tax:$11,072.33
Intermediate: No tax applied
Result: After-tax total interest = $11,072.33
Step 5

Adjust for inflation to find real buying power.

BuyingPower = Balance / (1 + inflation)^t
Inflation Rate:0%
Ending Balance:$61,072.33
Intermediate: Real value factor = (1 + 0)^5.0
Result: Buying power = $61,072.33
Final Answer
$61,072.33

Worked Examples

See how the calculator works with different scenarios.

Scenario

A $10,000 investment earning 5% compounded monthly for 5 years with no additional contributions.

Inputs

Initial Investment:$10,000
Annual Rate:5%
Term:5 years
Contributions:None

Calculation

A = 10000 × (1 + 0.05/12)^(12×5) (1 + 0.004167)^60 = 1.28336 A = 10000 × 1.28336 = $12,833.59

Result

Ending balance of $12,833.59, with $2,833.59 earned as interest

Interpretation

Without contributions, the $10,000 grew by 28.3% over 5 years. The compounding is modest at 5%, but notice the interest in year 5 ($650) already exceeds the interest in year 1 ($512) — growth accelerates as the balance grows.

Understanding Your Result

Your Result: Ending Balance: $61,072.33

Typical range: Long-run stock market returns average about 10% nominal (7% real). Conservative portfolios might assume 5-6%. High-yield savings accounts pay 4-5%. A "good" result depends on your horizon — over 10+ years, 7%+ real growth is a strong outcome.

What This Means

The ending balance shows the total value of the investment at the end of the term, including every dollar contributed and every dollar of interest earned. The buying power figure removes the effects of inflation, showing what the balance is actually worth in today's dollars.

Why It Matters

Compound interest is the engine of long-term wealth. Understanding how your contributions, rate, and time interact lets you make concrete planning decisions: how much to save monthly, whether tax-advantaged accounts are worth it, and how inflation changes your real targets.

Professional Interpretation

The dominant factor in compound growth is time, not rate. Mathematically, the future value is exponential in time but only polynomial in the rate. A 1% higher rate matters, but a 10-year-longer horizon matters far more. Professionals therefore emphasize starting early and staying invested over chasing slightly higher returns.

The tax drag

Taxes are applied to interest as it accrues, which compounds the loss: not only do you pay tax, you also lose the future growth on the tax paid. Over 25 years at 6%, a 25% tax rate reduces the ending balance by roughly 30%. Tax-advantaged accounts defer or eliminate this drag.

Nominal vs real growth

The nominal ending balance can look misleadingly strong. Over 25 years at 3% inflation, prices rise by about 109% — a dollar at the end buys less than half what it bought at the start. Always compare real (inflation-adjusted) growth for purchasing-power decisions.

Recommendations

  • •Start investing as early as possible — time is the most powerful multiplier in compounding
  • •Automate monthly contributions so the habit outlasts the motivation
  • •Use tax-advantaged accounts (401k, IRA, Roth) to avoid the tax drag shown in the results
  • •Reinvest all dividends and interest rather than taking them as cash
  • •Keep fees low — every 1% of fees compounds against you for decades
  • •Revisit the plan annually and increase contributions when income rises

Educational Content

Introduction

Compound interest is interest calculated on the initial principal plus all previously accumulated interest. It is the mechanism behind the growth of savings accounts, retirement funds, and investments — and the cost behind credit card debt. Understanding it is the single most important financial concept for long-term planning.

Concept Explanation

The core idea is that interest begins earning interest of its own. In the first period, only the principal earns interest. In the second period, the principal plus the first period's interest earns interest. The balance therefore grows faster over time — the classic exponential curve. Time in the market, not timing the market, is what makes compounding powerful.

Applications

▸Projecting retirement savings growth over decades
▸Comparing savings accounts and CDs with different rates and compounding
▸Evaluating whether to contribute to a 401(k), IRA, or taxable account
▸Estimating the true long-term cost of credit card debt
▸Planning education funds with monthly contributions
▸Teaching the mathematics of exponential growth
▸Setting realistic return expectations for investment portfolios

Benefits

  • •Shows the full value of starting early and contributing consistently
  • •Makes the impact of taxes and inflation explicit
  • •Reveals how much of your final balance came from growth versus deposits
  • •Supports comparison across rates, frequencies, and contribution plans
  • •Provides a concrete projection for long-term financial goals

Limitations

  • •Assumes a constant rate — real returns vary year to year
  • •Assumes deposits are made as scheduled without interruption
  • •Does not model fees, which reduce effective returns
  • •Uses a fixed tax rate rather than progressive or deferred taxation

Best Practices

  • •Use a conservative rate (5-7%) for long-term planning rather than recent market highs
  • •Model both nominal and inflation-adjusted outcomes
  • •Increase contributions with each raise — the marginal dollar compounds for decades
  • •Compare the effective annual rate when choosing between products
  • •Re-run the projection annually to stay on track

Common Misconceptions

Myth: Compound interest only matters for big balances.
Truth: It matters most for small balances with long horizons. A $100/month saver starting at 25 can accumulate more by 65 than a $500/month saver starting at 45.
Myth: A higher compounding frequency dramatically boosts returns.
Truth: Monthly versus daily compounding differs by only fractions of a percent. The rate and time horizon matter far more than the frequency.
Myth: The nominal balance is what you can spend.
Truth: After inflation, the real buying power is often far lower. Only growth above the inflation rate is genuine wealth creation.
Myth: Interest rates compound only on investments.
Truth: Compounding applies to debt too — credit cards, payday loans, and deferred interest. The same math that grows savings can rapidly grow what you owe.

Practical Tips

  • •Enter contributions at the beginning of the period to model first-of-month investing, which earns interest on every dollar one period sooner
  • •Use the inflation adjustment to sanity-check long projections — a balance that only keeps pace with inflation has made no real progress
  • •Model your 401(k) match as an annual contribution; free matching money is the highest-return deposit available
  • •Compare a one-time lump sum against monthly contributions to see which strategy fits your cash flow
  • •Run the same inputs with a 1% higher rate to quantify the value of shopping for better returns
  • •For retirement planning, split the projection into pre-retirement growth and post-retirement withdrawal phases

Common Mistakes

Using the nominal ending balance as your real goal
Always check the inflation-adjusted buying power. Set your savings target in today's dollars, then back out the nominal amount you need.
Overestimating the rate with recent market returns
Historical averages (10% stocks, 7% real) include severe downturns. Use 5-7% for conservative planning so a down decade doesn't derail your goal.
Ignoring fees in the rate assumption
If a fund charges 1% annually, use rate − 1% as your input. Over 30 years, a 1% fee can consume roughly 25% of the final balance.
Contributing at the end of the period when beginning is available
The difference is small per period but compounds. Most payroll deductions invest at the beginning of the month naturally — model it that way.
Treating compounding as linear (rate × principal × years)
That formula ignores interest on interest and understates the outcome by a wide margin on long terms. Always use the exponential formula or this calculator.

Assumptions

This calculator makes the following assumptions to provide estimates:

Constant Interest Rate: The annual rate is fixed for the entire term. Real investments fluctuate, so treat the result as a projection, not a guarantee.
Deposits Made on Schedule: Annual and monthly contributions are assumed to arrive on time every period without interruption.
Flat Tax Rate: Taxes are applied to each period's interest at the stated rate. Real tax treatment depends on account type and brackets.
Constant Inflation: The inflation adjustment uses the stated rate applied uniformly across the term.
Simple Monthly Interest Engine: The balance is simulated month by month at the monthly rate regardless of the selected frequency label.

Limitations

Be aware of these limitations when using this calculator:

No Fees: Management fees, trading costs, and account charges are not modeled; subtract them from the rate manually.
Fixed Rate Only: Variable-rate products, market volatility, and sequence-of-returns risk are not captured.
Simplified Tax: No capital gains treatment, tax brackets, or deduction timing — only a flat rate on each period's interest.
Deterministic: The projection has no randomness. Actual outcomes will differ from any single projection.

Frequently Asked Questions

Answers to common questions about this calculator.

What is compound interest?
Compound interest is interest calculated on the initial principal and also on the accumulated interest of previous periods. It is often described as "interest on interest." Over time it causes balances to grow exponentially rather than linearly.
How does compounding frequency affect returns?
The more frequently interest compounds, the higher the return. Daily compounding yields slightly more than monthly, which yields more than quarterly, and so on. Continuous compounding yields the highest theoretical return for a given nominal rate.
What is the Rule of 72?
The Rule of 72 estimates the number of years required to double your money at a given interest rate. Divide 72 by the interest rate to get the approximate number of years. For example, at 8% interest, money doubles in about 9 years.
How does inflation affect my returns?
Inflation reduces the purchasing power of money over time. Even if your investment grows, inflation may erode the real value of your returns. The calculator shows the buying power of your end balance after inflation adjustment.
Should I contribute at the beginning or end of the period?
Contributing at the beginning of the period allows your money to earn interest for the full period, resulting in slightly higher returns. Contributing at the end means each contribution misses one interest period. The difference grows with the rate and term.
What is the difference between simple and compound interest?
Simple interest is calculated only on the original principal each year. Compound interest is calculated on the principal plus all previously earned interest. Over a 20-year period, compound interest can produce more than double the interest of simple interest at the same rate.
How does the interest rate affect the final balance?
The interest rate has an exponential effect on the final balance. At 4% over 30 years, $10,000 grows to about $32,400. At 8%, it grows to about $100,600 — more than three times as much. Small rate differences compound into large differences over long terms.
What is a good interest rate to assume for planning?
Long-run US stock market returns have averaged about 10% per year (7% after inflation). High-yield savings accounts typically pay 4-5%. For conservative planning, many advisors use 6-7% nominal for diversified portfolios. Your actual returns will vary by year.
How do taxes affect compound interest?
Taxes reduce the interest you actually keep, slowing the compounding effect. If you pay 25% tax on 5% interest, your after-tax rate is only 3.75%. Tax-advantaged accounts like 401(k)s, IRAs, and Roth accounts avoid or defer this drag.
How does this calculator handle contributions?
The calculator accepts annual contributions, monthly contributions, or both. Contributions made at the beginning of each period earn interest immediately, while contributions at the end of the period earn interest starting the next period.
What is continuous compounding?
Continuous compounding assumes interest is calculated and added an infinite number of times per year. The balance grows by a factor of e^(r×t), where e is Euler's number (about 2.71828). It produces the maximum possible growth for a given nominal rate.
How long will it take my money to double?
Use the Rule of 72: divide 72 by your annual interest rate. At 6%, money doubles in about 12 years. At 9%, it doubles in 8 years. For exact results, use the formula t = ln(2) / ln(1 + r).
What is the difference between nominal and effective interest rate?
The nominal rate is the stated annual rate before compounding. The effective annual rate (EAR) accounts for compounding within the year. A 12% nominal rate compounded monthly has an EAR of 12.68% because interest earns interest each month.
Can I use this calculator for retirement planning?
Yes. Enter your current savings as the initial investment, your expected annual contribution, an assumed rate of return, and the number of years until retirement. The ending balance estimates what you may accumulate before tax or inflation adjustments.
How much interest will $10,000 earn in 10 years?
At 5% compounded monthly, $10,000 grows to about $16,470 in 10 years, earning $6,470 in interest. At 7%, it grows to about $20,096, earning $10,096. The exact amount depends on the compounding frequency and any additional contributions.
What is the best way to compare investment options?
Compare the effective annual rate (EAR) of each option rather than the nominal rate, since compounding frequency changes the true return. Also consider fees, risk, liquidity, and tax treatment — a higher rate is not always the better investment.
How do monthly contributions affect the final balance?
Monthly contributions add a steady stream of deposits that each compound for their remaining term. For example, $500 per month at 7% over 30 years adds $600,000 in contributions but grows those contributions to about $612,000 — more than the contributions themselves.
What happens if I stop contributing?
Existing balances keep compounding without new contributions. The earlier you contribute, the longer each dollar compounds, so early contributions are disproportionately valuable. Stopping contributions early is much costlier than stopping them late.
Why is starting early so important?
Compounding is a function of time. An 18-year-old investing $2,000/year for 10 years (until 28) may end with more at 65 than someone starting at 28 and contributing for 37 years. The early investor's money compounds for decades longer.
What is the 4% rule and how does it relate to compound interest?
The 4% rule suggests retirees can withdraw 4% of their portfolio in year one, adjusted for inflation, with a high probability the money lasts 30 years. It relies on the portfolio still earning compound returns during retirement while withdrawals are made.
How does compound interest work on loans and credit cards?
Compound interest works against borrowers on loans. Credit card interest compounds daily, so the effective annual rate can be much higher than the nominal APR. Paying off balances monthly avoids this entirely.
What is the impact of a 1% higher return?
A 1% higher return has a dramatic effect over long terms. On $10,000 over 30 years, 6% grows to $60,226 while 7% grows to $76,123 — a difference of about $15,900. Over longer terms and with contributions, the difference is even larger.
How often should interest compound for best results?
For a given nominal rate, more frequent compounding yields slightly higher returns. In practice, monthly and daily compounding differ very little. Focus more on the rate itself and minimizing fees than on the compounding frequency.
What are compound interest investments?
Nearly any investment that reinvests earnings compounds: dividend stocks with dividend reinvestment, index funds, ETFs, bonds with reinvested coupons, CDs with rolled-over interest, and savings accounts. The key is reinvesting earnings rather than spending them.
How is compound interest calculated mathematically?
The formula is A = P × (1 + r/n)^(n×t), where P is principal, r is the annual rate, n is compounding periods per year, and t is years. With contributions, each deposit is a separate term in the sum, with its own exponent.
What is the difference between APR and APY?
APR (Annual Percentage Rate) does not include compounding and is often used for loans. APY (Annual Percentage Yield) includes compounding and reflects the true annual return. Banks advertise APY for deposits and APR for loans.
How do I use this calculator to compare savings accounts?
Enter the same principal and term for two scenarios with different rates and compounding frequencies. Compare the ending balances. Include any monthly contributions you plan to make so the comparison reflects your actual savings plan.
What is the time value of money?
The time value of money states a dollar today is worth more than a dollar tomorrow because it can earn interest. Compound interest is the mechanism that gives money its time value. It underlies everything from mortgages to retirement planning.
How does the buying power after inflation work?
The calculator divides your ending balance by (1 + inflation rate)^years. If inflation is 3% over 10 years, prices rise by 34.4%, so your balance must grow by that much just to maintain purchasing power. Only growth above inflation is real growth.
What happens if my interest rate is lower than inflation?
Your money loses purchasing power. For example, a 2% return with 3% inflation means a real return of about -1% per year. This is why long-term savers typically need growth investments rather than keeping all money in cash.
Can compound interest lead to negative returns?
Yes. If the market falls, your balance declines, and the next period's interest is calculated on the smaller balance — negative compounding. However, over long horizons, positive returns dominate, which is why compound growth favors long holding periods.
How do I account for fees in this calculator?
The calculator does not model fees directly. Subtract expected annual fees from your assumed rate. For example, if a fund earns 8% gross and charges 1% in fees, use 7% as your rate input to see the fee-adjusted outcome.

Related Calculators

Explore more calculators related to this topic.

Related Guides

Deepen your understanding with these educational resources.

Glossary

Technical terms used in mortgage calculations explained in plain language.

Annual Percentage Yield (APY)
The effective annual return including the effect of compounding within the year.
Compounding
Earning interest on previously earned interest, causing exponential balance growth.
Continuous Compounding
Interest added an infinite number of times per year, growing by e^(r×t).
Effective Annual Rate
The actual annual return after accounting for compounding frequency.
Inflation
The general rise in prices that reduces the purchasing power of money over time.
Nominal Rate
The stated annual rate before any compounding or inflation adjustment.
Principal
The original amount invested, before interest is added.
Rule of 72
A shortcut estimating doubling time: 72 divided by the annual rate in percent.
Tax Drag
The reduction in compounding caused by paying tax on interest as it accrues.
Time Value of Money
The principle that a dollar today is worth more than a dollar in the future because it can earn interest.

Authoritative References

Trusted sources and standards referenced by this calculator.

Applicable Standards

Truth in Savings Act (TISA)Regulation DD — Deposit DisclosureSEC Regulation Best InterestCFPB Consumer Financial Protection Rules

Was This Calculator Helpful?

Page Information

Last Updated:

2026-08-02

Version:

2.0.0

License:

Free to use for educational and professional purposes.