Compound interest for an investment is the interest earned on your original principal plus the interest already added back into the balance, so each new period's interest is calculated on a slightly larger number. The standard formula is A = P(1 + r/n)^(nt), where P is your starting principal, r is the annual rate written as a decimal, n is the number of compounding periods per year, and t is the number of years you hold the investment. The total interest you earn is simply the final amount A minus the principal P you started with. A free Compound Interest Calculator lets you enter those four inputs — principal, rate, frequency, and years — and instantly returns both the final amount your lump sum grows to and the total interest earned, all in your browser with nothing uploaded. The same tool makes it easy to switch compounding frequency (annual, semiannually, quarterly, monthly, or daily) and watch the balance change, which is the practical lever that separates a nominal rate from the effective yield you actually keep. For an investor comparing fixed-rate options, this combination of inputs and outputs is exactly what you need to size up a savings account, a certificate of deposit, or a bond quoted with a stated compounding schedule.

How compound interest grows an investment
Compound interest is sometimes described as 'interest earning interest,' and that phrase captures the mechanic precisely. When interest is simple, your annual return is always calculated against your original deposit: a 10% rate on $1,000 pays $100 every year, no matter how long you stay. When interest compounds, the $100 paid in year one is added to the principal, so year two's interest is calculated on $1,100, year three on $1,210, and so on. The growth is geometric rather than linear, which is why long horizons amplify the difference so dramatically.
For an investor, this means three variables drive almost every result: the principal you commit, the rate you can lock in, and the length of time you leave the money alone. Compounding frequency acts as a multiplier on top of those three. A 5% annual rate compounded monthly produces more than 5% in real annual yield, because interest is credited and reinvested twelve times a year instead of once. The wider the gap between your time horizon and the compounding schedule, the more that frequency shows up in your final balance. The mechanics behind this are described in any standard reference on compound interest, and the same mathematics is what the calculator implements under the hood.
How to calculate compound interest for an investment
Open the Compound Interest Calculator and walk through these three steps for any fixed-rate investment you are sizing up:
- Enter your starting principal and the annual interest rate. The principal is the lump sum you plan to invest, and the rate is the nominal annual percentage the issuer quotes — for example, 4.5% for a one-year CD or 5.25% for a high-yield savings account. Leave the rate field empty or set it to zero to model a no-growth baseline.
- Pick how often interest compounds — annually, semiannually, quarterly, monthly, or daily — and the number of years. Match the frequency to the product: most CDs compound daily or monthly, savings accounts compound daily or monthly, and many bonds compound semiannually. The number of years is simply your holding period.
- Read the final amount and the total interest earned, and switch the frequency to see the compounding effect. The calculator instantly returns two figures — your future balance (A) and the interest earned (A − P). Toggle the compounding option while keeping the principal, rate, and years fixed, and you will see exactly how much more you keep when interest is credited more often.
What compounding frequency does to your balance
The 'n' in the formula A = P(1 + r/n)^(nt) is the number of times per year interest is added back into the balance. The calculator's input options map to these standard compounding schedules:
| Frequency | Periods per year (n) |
|---|---|
| Annually | 1 |
| Semiannually | 2 |
| Quarterly | 4 |
| Monthly | 12 |
| Daily | 365 |
Higher n means interest is credited sooner, which means the next period's interest is calculated on a slightly larger number, which means the final balance grows faster. The difference is small at low rates and short horizons but widens noticeably as any of those inputs climb.
Worked example with the formula: a $1,000 principal at a 10% nominal rate compounded annually for 5 years becomes:
A = 1000 × (1 + 0.10/1)^(1 × 5) = 1000 × (1.10)^5 = 1000 × 1.61051 = $1,610.51.
Interest earned = $1,610.51 − $1,000 = $610.51. Switch the same inputs to monthly compounding and the calculator returns a higher balance, then higher again for daily — the same direction and rough magnitude described in the future value framework, where the wider the gap between annual and daily, the larger the compounding effect you are capturing.
Comparing investment options with the calculator
The calculator is built around fixed-rate investments that quote a stated compounding schedule. Run the same principal, rate, and term through several frequencies to see the practical difference, or run different rates through the same frequency to see how a half-point move affects the result. Common comparisons to make before you commit capital:
- High-yield savings vs. one-year CD. A savings account may compound daily while a CD compounds monthly or quarterly, so even with identical nominal rates, the savings account tends to edge ahead over a one-year horizon.
- Longer CD term vs. rolling short CDs. A five-year CD at one rate versus five one-year CDs at a different rate — the calculator shows the gap if you can lock the same rate for the full term.
- Bond nominal rate vs. effective yield. Most bonds compound semiannually, so the calculator confirms the actual yield above the quoted coupon.
Every comparison assumes a constant rate and no withdrawals, which is a reasonable simplification for short planning windows and helps isolate the variable you are actually trying to test. For a deeper walk-through of how frequency changes the answer at a fixed five-year horizon, the guide Compound Interest Over 5 Years: The Frequency Effect extends this comparison with worked scenarios.
Reading the final amount and total interest earned
The calculator returns two numbers and they are not redundant. The final amount (A) is what your lump sum grows to after t years — your new balance if you stayed invested the whole time. The interest earned (A − P) is how much of that balance came from compounding rather than from your original deposit. If you want to know what your effective annual yield was, divide the interest by the principal and the years and compare to the nominal rate you entered.
When you enter a 0% rate, A equals P and the interest earned is zero — there is nothing to compound. That edge case is useful for sanity-checking the inputs. If you entered 4.5% and the result shows zero growth, you almost certainly typed the rate as 4.5 instead of 0.045, or you accidentally typed a zero where you meant a five.
The calculator does not subtract taxes, fees, or inflation from either figure. Real returns after those drags are smaller than the headline numbers, and tax treatment differs by account type and country, so always confirm the exact terms with your bank or a licensed financial professional before committing capital.
When this calculator fits — and when to switch tools
This tool is the right fit when you have a single lump sum, a fixed nominal rate, and a fixed holding period, and you want to see the compounding effect. Everything runs locally in your browser, so the figures you enter never leave your device, which makes it usable for sensitive planning figures as well as casual checks.
If your plan involves adding money every month or every year — most personal savings and retirement contributions work this way — switch to the Savings Calculator, which is built around recurring contributions and shows the contribution-versus-interest split separately. For projecting what inflation does to a future sum, use the Inflation Calculator. For a step-by-step walk-through of the formula with another worked numeric example, see How to Calculate Compound Interest the Easy Way.