Xerobit

Compound Interest Calculator

Enter your starting balance, annual rate, term and any regular contributions to see how your money grows over time. This compound interest calculator applies the standard compound interest formula and shows a year-by-year breakdown so you can track your investment growth. It runs entirely in your browser and nothing is uploaded.

Result

  • Final balance
    $106,639.02
  • Total interest earned
    $36,639.02
  • Total contributions
    $70,000.00
  • Year 1
    $16,919.19

    Interest: $919.19

  • Year 2
    $24,338.58

    Interest: $2,338.58

  • Year 3
    $32,294.31

    Interest: $4,294.31

  • Year 4
    $40,825.16

    Interest: $6,825.16

  • Year 5
    $49,972.70

    Interest: $9,972.70

  • Year 6
    $59,781.53

    Interest: $13,781.53

  • Year 7
    $70,299.43

    Interest: $18,299.43

  • Year 8
    $81,577.68

    Interest: $23,577.68

  • Year 9
    $93,671.22

    Interest: $29,671.22

  • Year 10
    $106,639.02

    Interest: $36,639.02

How to use the compound interest calculator

  1. Enter your initial investment amount in the first field.
  2. Set the annual interest rate as a percentage.
  3. Choose the number of years you plan to invest.
  4. Optionally add a monthly contribution to model regular deposits.
  5. Select the compounding frequency and read the summary rows and year-by-year table below.

The compound interest formula

The compound interest formula calculates the future value of an initial lump sum when interest is reinvested at regular intervals. The standard equation is:

A = P × (1 + r/n)^(n×t)

Where P is the principal, r is the annual rate expressed as a decimal, n is the number of compounding periods per year, and t is the time in years. For example, investing $1,000 at 10 percent annually for one year with monthly compounding gives: 1000 × (1 + 0.10/12)^12 = $1,104.71.

When you add a fixed monthly contribution C, each deposit also earns interest from the month it is made. The future value of those contributions uses the annuity formula: FV = C × (((1 + i)^m - 1) / i), where i is the effective periodic rate and m is the total number of contribution periods. This compound interest calculator combines both parts to give you the total final balance.

How compounding frequency changes your returns

Compounding frequency determines how often earned interest is added back to the principal. The more frequently interest compounds, the faster your balance grows because each new interest calculation includes previously earned interest.

FrequencyPeriods per year (n)$1,000 at 10% after 1 year
Annually1$1,100.00
Semi-annually2$1,102.50
Quarterly4$1,103.81
Monthly12$1,104.71
Daily365$1,105.16

The difference between annual and daily compounding on $1,000 at 10 percent is about $5.16 in the first year. Over decades or with larger balances, that gap widens considerably. When comparing accounts or using any investment growth calculator, always check whether the quoted rate assumes annual, monthly or daily compounding.

The impact of monthly contributions

Regular deposits accelerate wealth building far more than most people expect. Consider two scenarios over 30 years at an 8 percent annual return compounded monthly:

  • Lump sum only: $50,000 invested once grows to roughly $545,000.
  • Lump sum plus contributions: That same $50,000 combined with $1,000 deposited every month grows to over $2 million.

The additional $360,000 in contributions generated well over a million dollars in interest. This is why financial planners stress consistency alongside the rate of return. Even small monthly amounts benefit enormously from the compounding effect over long horizons.

Compound interest vs simple interest

Simple interest is calculated only on the original principal. If you invest $1,000 at 10 percent simple interest for three years, you earn exactly $100 each year, totaling $1,300. With compound interest, the second year earns interest on $1,100 rather than just the original $1,000.

You can use our simple interest calculator to compare the two methods side by side. In practice, almost all modern savings accounts, certificates of deposit and investment portfolios use compound interest. Simple interest appears mainly in short-term loans or specific bond calculations.

Common mistakes to avoid

When projecting investment growth, several errors lead to unrealistic expectations:

  • Confusing nominal and effective rates. A bank advertising 5 percent compounded monthly actually yields an effective annual rate of about 5.12 percent. Always enter the nominal annual rate into this tool and let the frequency setting handle the rest.
  • Ignoring inflation. The numbers shown are nominal values. Real purchasing power will be lower if inflation averages 2 to 3 percent per year.
  • Assuming constant returns. Stock market returns fluctuate. A compound interest calculator models steady growth, which is useful for planning but not a guarantee.
  • Forgetting fees and taxes. Management fees, transaction costs and capital gains taxes reduce your actual take-home balance.

Worked examples

Each result below was produced by the same code the tool runs, so you can check your own numbers against them.

ExampleInputResult
Retirement savingsInitial investment ($): 50000; Annual interest rate (%): 8; Time period (years): 30; Monthly contribution ($): 1000; Compounding frequency: monthlyFinal balance: $2,037,145.93; Total interest earned: $1,627,145.93; Total contributions: $410,000.00; Year 1: $66,599.90; Year 2: $84,577.59; Year 3: $104,047.41; Year 4: $125,133.22; Year 5: $147,969.14; Year 6: $172,700.43; Year 7: $199,484.41; Year 8: $228,491.44; Year 9: $259,906.05; Year 10: $293,928.05; Year 11: $330,773.86; Year 12: $370,677.85; Year 13: $413,893.85; Year 14: $460,696.77; Year 15: $511,384.30; Year 16: $566,278.87; Year 17: $625,729.66; Year 18: $690,114.84; Year 19: $759,843.95; Year 20: $835,360.55; Year 21: $917,144.99; Year 22: $1,005,717.50; Year 23: $1,101,641.49; Year 24: $1,205,527.11; Year 25: $1,318,035.19; Year 26: $1,439,881.39; Year 27: $1,571,840.76; Year 28: $1,714,752.69; Year 29: $1,869,526.25; Year 30: $2,037,145.93
Index fund, no extra depositsInitial investment ($): 10000; Annual interest rate (%): 10; Time period (years): 20; Monthly contribution ($): 0; Compounding frequency: annuallyFinal balance: $67,275.00; Total interest earned: $57,275.00; Total contributions: $10,000.00; Year 1: $11,000.00; Year 2: $12,100.00; Year 3: $13,310.00; Year 4: $14,641.00; Year 5: $16,105.10; Year 6: $17,715.61; Year 7: $19,487.17; Year 8: $21,435.89; Year 9: $23,579.48; Year 10: $25,937.42; Year 11: $28,531.17; Year 12: $31,384.28; Year 13: $34,522.71; Year 14: $37,974.98; Year 15: $41,772.48; Year 16: $45,949.73; Year 17: $50,544.70; Year 18: $55,599.17; Year 19: $61,159.09; Year 20: $67,275.00
High-yield savings accountInitial investment ($): 5000; Annual interest rate (%): 4.5; Time period (years): 5; Monthly contribution ($): 200; Compounding frequency: dailyFinal balance: $415,556.87; Total interest earned: $398,556.87; Total contributions: $17,000.00; Year 1: $79,892.84; Year 2: $158,232.61; Year 3: $240,177.97; Year 4: $325,894.86; Year 5: $415,556.87
Small starter portfolioInitial investment ($): 1000; Annual interest rate (%): 6; Time period (years): 10; Monthly contribution ($): 100; Compounding frequency: quarterlyFinal balance: $7,240.81; Total interest earned: $0.00; Total contributions: $13,000.00; Year 1: $1,470.45; Year 2: $1,969.78; Year 3: $2,499.74; Year 4: $3,062.22; Year 5: $3,659.22; Year 6: $4,292.85; Year 7: $4,965.37; Year 8: $5,679.15; Year 9: $6,436.74; Year 10: $7,240.81

FAQ

What is compound interest?

Compound interest is interest calculated on both the initial principal and the accumulated interest from previous periods. It causes investments to grow faster than simple interest, which only applies to the original amount.

How do I use this compound interest calculator?

Enter your starting balance, annual interest rate, time horizon and any monthly contribution. Choose how often interest compounds, and the tool instantly displays your final balance, total interest earned and a year-by-year table.

Does adding monthly contributions really make a big difference?

Yes. Regular contributions add new principal that also earns interest. Over long periods like 20 or 30 years, consistent monthly deposits often generate more total interest than the initial lump sum alone.

Which compounding frequency is best?

More frequent compounding produces a higher final balance. Daily compounding yields slightly more than monthly, which yields more than annually. However, the difference shrinks as the interest rate decreases.

Is this tool safe to use for financial planning?

All calculations happen locally in your browser. No data is sent to any server, making it private and safe for exploring different investment scenarios.

Can I use this as an investment growth calculator for stocks?

You can enter an expected average annual return to model stock market growth. Keep in mind that real market returns vary year to year, so treat the output as a projection based on a constant rate rather than a guarantee.