Compound interest is calculated over time using A = P(1 + r/n)^(nt), where P is the principal, r is the annual rate as a decimal, n is the number of compounding periods per year, and t is the number of years. The result A is the final amount your money grows to, and A minus P is the total interest you earned. To project a lump sum across any horizon, plug your principal, rate, compounding frequency, and years into the formula — or skip the arithmetic and use the Compound Interest Calculator, which applies the same formula and lets you switch compounding frequency to see the effect. Switching between annual, semiannual, quarterly, monthly, and daily compounding with everything else held constant changes the final balance, and that gap widens as the rate, principal, or number of years grows. The reason is mechanical: every time interest is credited, it is added to the balance, and the next period's interest is calculated on that larger balance. More frequent crediting means reinvested interest starts earning its own interest sooner.
Projecting growth over time is the central use case for compound interest. The same formula applies to a savings account, a certificate of deposit, or a bond with a fixed rate and a stated compounding schedule — the only inputs you need are the principal, the rate, the compounding frequency, and the number of years. That is why a calculator that handles the arithmetic for you is useful: it lets you change one variable at a time and watch the result move, instead of re-deriving the exponent each time.

The Compound Interest Formula and What Each Variable Means
The standard formula behind every compound interest projection is A = P(1 + r/n)^(nt). It looks dense, but every piece maps directly to a number you enter into the calculator:
- P (principal) — the lump sum you start with, in dollars.
- r (annual rate as a decimal) — your nominal yearly interest rate, written as a decimal. A 10% rate becomes r = 0.10.
- n (periods per year) — how often interest compounds. Annual = 1, semiannual = 2, quarterly = 4, monthly = 12, daily = 365.
- t (years) — how long the money stays invested and compounds.
The exponent nt is the total number of compounding periods across your entire time horizon, and the factor (1 + r/n) is the growth applied each period. Multiply those together enough times and you get the final balance A. The interest earned is simply A − P, so you never have to track running totals manually. If you raise (1 + r/n) to the power nt yourself, you are doing the same arithmetic the calculator runs in your browser — only slower.
One important edge case: when r = 0, the formula collapses to A = P, meaning no growth and zero interest earned. A "0% introductory rate" savings account will return exactly your principal over any time horizon, no matter how many years you leave the money in place.
How to Calculate Compound Interest Over Time With the Calculator
- Enter your starting principal and the annual interest rate.
- Pick how often interest compounds — annually, semiannually, quarterly, monthly, or daily — and enter the number of years you want to project.
- Read the final amount and the total interest earned, then switch the frequency to see how the compounding schedule changes the result.
The tool applies the formula above using the values you entered. Because n varies by frequency (1 for annual, 12 for monthly, 365 for daily), the same principal, rate, and term produce different final balances when you toggle the frequency. That toggle is the most useful control on the page — it makes the abstract idea of "compounding more often" concrete. You can also rerun the calculation with the same inputs but a different number of years to compare short- and long-horizon outcomes without retyping anything except the term. Everything runs locally in your browser, so the numbers you enter never leave your device.
Why Compounding Frequency Changes the Result Over Time
With the same principal, rate, and term, more frequent compounding always produces a larger final balance. The reason is mechanical: each time interest is credited, it is added to the balance, and the next period's interest is calculated on that larger balance. More frequent crediting means reinvested interest starts earning its own interest sooner, so the same nominal rate effectively yields more over the same number of years.
| Frequency | Periods per year (n) | When interest is credited |
|---|---|---|
| Annually | 1 | Once at the end of each year |
| Semiannually | 2 | Every six months |
| Quarterly | 4 | Every three months |
| Monthly | 12 | Every month |
| Daily | 365 | Every day |
The frequency label on a savings account, CD, or bond tells you which row to pick. A CD advertised as "compounded daily" and a savings account advertised as "compounded monthly" can offer the same nominal rate but produce different final balances over the same term. This is also where the difference between a nominal rate and the effective annual yield (APY) shows up: more frequent compounding raises the effective yield above the stated nominal rate, and the calculator surfaces that gap the moment you switch frequencies.
For a concrete sense of scale, at a 10% annual rate on $1,000 over five years, annual compounding grows the balance to about $1,610.51, monthly compounding to about $1,645.31, and daily compounding to about $1,648.61. The differences look small at low rates and short horizons but widen with higher rates, larger balances, and longer time horizons — which is exactly why the frequency matters when you compare real products. Use the calculator to see the exact numbers for your own inputs.
Worked Example: A Lump Sum at One Frequency
To see the formula in action, take a $1,000 principal at a 10% annual rate compounded once per year for 5 years. Substituting into the formula:
A = P(1 + r/n)^(nt) A = 1,000 × (1 + 0.10/1)^(1 × 5) A = 1,000 × (1.10)^5 A = 1,000 × 1.61051 A ≈ $1,610.51
The total interest earned over the five-year horizon is the final amount minus the principal: $1,610.51 − $1,000 = $610.51. Switching the frequency to monthly in the calculator, with everything else held constant, lifts the final balance higher — the calculator handles that automatically so you do not have to redo the exponentiation by hand. Extending the term from 5 years to 20 years with the same rate and annual compounding grows the same $1,000 to a much larger balance, which is why the time horizon matters as much as the rate.
What the Calculator Does and Does Not Cover
The Compound Interest Calculator focuses on the growth of a single lump-sum principal and on the compounding-frequency effect. It is a good fit when you want to compare how a fixed starting amount grows under different compounding schedules — savings accounts, certificates of deposit, bonds, or any investment quoted with a fixed rate and a stated compounding schedule.
It does not include regular deposits or withdrawals. If you are planning to add money every month or year and want to see the contribution-plus-interest split, use a savings calculator built around recurring contributions instead. The two tools are designed for different planning questions: this one answers "how does this single lump sum grow over time under different compounding schedules?", while the savings calculator answers "how does ongoing saving plus compounding build a balance over time?".
The model assumes a constant rate, no additional deposits or withdrawals, and no taxes or fees, so it is a planning aid rather than a guarantee. Real returns vary, and tax treatment differs by account and country. The compound interest formula behind the tool is the same one used in financial textbooks and on Wikipedia's compound interest reference, so the math is standard — but always confirm the exact terms with your bank or a licensed financial professional before making a decision based on the projection.