Five inputs
How to use the compound interest calculator
Enter the starting balance, the amount added each month, the nominal annual interest rate, how often interest compounds, and the number of years. The opening example is $5,000 plus $200 a month at 4.5% compounded monthly for 10 years, which ends at $38,074.58. The 4.5% is an arithmetic example, not a current savings rate.
The result updates as you type. The page address carries all five inputs, so a shared link reopens the same projection, and Reset restores the documented example. The calculator rejects a negative balance, a negative contribution, a rate below 0% or above 20%, and a term that is not a whole number from 1 to 60 years. Each message points to the field that needs correction.
The starting amount can be 0, which is useful for isolating the effect of monthly deposits. The monthly contribution can also be 0, which shows a lump sum growing without additions. Both fields must still contain a number; an empty field is an error, not an implied zero.
Monthly equivalent rate and APY
The calculator puts every input on a monthly timeline. A nominal annual rate with m compounding periods per year is converted to a monthly equivalent rate so that one year of growth is preserved:
| Monthly rate | i = (1 + r ÷ m)m ÷ 12 − 1 |
|---|---|
| APY | (1 + r ÷ m)m − 1 |
| Balance, month by month | Bt+1 = Bt × (1 + i) + C |
| Closed form | Bn = P × (1 + i)n + C × ((1 + i)n − 1) ÷ i |
r is the nominal annual rate as a decimal, m is 1, 2, 4, 12, or 365 for the frequency you select, P is the starting balance, C is the monthly contribution, and n is the number of months. When no contributions are made, the monthly rate preserves the same annual growth factor as the selected compounding frequency. With contributions, it is a transparent monthly-equivalent model: interest is applied monthly, then the deposit is added at month end.
APY is the effective annual yield: the percentage growth over one year after compounding, with no contributions. A 4.5% nominal rate compounded monthly has an APY of 4.59398%. APY makes two products with different compounding schedules comparable; the nominal rate alone does not.
Worked example: $5,000 plus $200 a month
With monthly compounding, the monthly rate is 4.5% ÷ 12 = 0.375%, or 0.00375 as a decimal. Over 10 years there are 120 months:
| Monthly rate | (1 + 0.045 ÷ 12)12 ÷ 12 − 1 = 0.00375 |
|---|---|
| Growth factor | 1.00375120 = 1.566993 |
| Starting balance grows to | $5,000 × 1.566993 = $7,834.96 |
| Deposits grow to | $200 × (1.566993 − 1) ÷ 0.00375 = $30,239.61 |
| Ending balance | $7,834.96 + $30,239.61 = $38,074.58 |
| Contributions | $5,000 + 120 × $200 = $29,000.00 |
| Interest earned | $38,074.58 − $29,000.00 = $9,074.58 |
| Implied APY | (1 + 0.00375)12 − 1 = 4.59398% |
At 0%, the same plan has no growth: $2,000 plus $100 a month for 36 months is $2,000 + $3,600 = $5,600. The calculator accepts 0 as a rate and reports $0 interest rather than hiding the plan.
The yearly table is built from the same monthly loop, not from the closed-form line alone. That is why the interest shown in a single year can be lower than the interest in a later year even though the rate never changes: the balance earning interest is larger later.
How to calculate interest earned and APY
Questions such as how to calculate interest earned, how do I calculate monthly interest, and how to calculate interest earned on a savings accountmap to different views of the same projection. Enter the nominal rate and compounding frequency from the product terms, then choose the starting balance, monthly contribution, and term.
| Question | What the calculator shows |
|---|---|
| How to calculate interest earned? | Ending balance minus total contributions is interest earned under the constant-rate model. |
| How do I calculate monthly interest? | The monthly equivalent rate applies to the current balance before the monthly contribution. |
| How to calculate interest earned on a savings account? | Use the account's nominal rate and compounding frequency, not APY, to avoid double compounding. |
| How to calculate interest APY? | APY = (1 + nominal rate ÷ periods per year)periods per year − 1. |
| How to figure interest compounded daily? | Select daily compounding; the page reports the implied APY and monthly-equivalent projection. |
Why compounding frequency changes the balance
More frequent compounding earns interest on interest sooner. Holding the nominal rate at 4.5% and the other inputs at $5,000, $200 a month, and 10 years:
| Compounding | Implied APY | Ending balance |
|---|---|---|
| Annually | 4.5000% | $37,859.98 |
| Semiannually | 4.5506% | $37,975.41 |
| Quarterly | 4.5765% | $38,034.58 |
| Monthly | 4.5940% | $38,074.58 |
| Daily | 4.6025% | $38,094.08 |
The spread between annual and daily compounding is $234.10 over ten years in this example. It is real but smaller than the effect of the contribution amount or the term. More importantly, the rates are not interchangeable: a 4.5% APY and a 4.5% nominal rate compounded daily are different offers. Compare products by APY, then use the nominal rate and frequency only when a disclosure gives you those terms.
Real accounts post interest in their own way, may round each posting, and can change the rate. This calculator uses a single rate for the whole term and does not reproduce any institution's posting rules.
Contribution timing and the monthly model
The calculator adds interest first, then the deposit, so each contribution is treated as made at the end of the month. A deposit made at the beginning of the month would earn that month's interest and produce a slightly higher balance. The difference grows with the rate and the number of deposits; it is not a rounding error.
Monthly contributions are the only deposit pattern offered. Weekly, biweekly, quarterly, and annual contributions are not modelled, and neither are withdrawals or a contribution that changes over time. If you need one of those patterns, the result here is a close approximation only when the timing and total deposits line up.
The closed-form balance assumes a constant monthly deposit and a constant rate. The table is produced by the monthly recurrence, so its last row equals the headline balance. If a displayed row appears to differ by a cent from a hand calculation, the row is showing rounded cents while the next month starts from the unrounded balance.
What the projection leaves out
- Income tax on interest, early-withdrawal penalties, and account-specific tax treatment.
- Account fees, advisory fees, fund expense ratios, and minimum-balance requirements.
- Inflation, so the ending balance is in future dollars, not today's purchasing power.
- Rate changes, promotional rates, and the difference between a quoted rate and the rate actually credited.
- Withdrawals, contribution increases, and contributions made at the start of the month.
- Investment risk: a market return is not a fixed rate, and a negative year is not modelled.
A projection is not a promise and not a recommendation. WholeCalc is not a bank, broker, investment adviser, or tax adviser, and it does not quote a current rate or predict a market return. Use the page to understand the arithmetic, then check the product's actual terms.
Compound interest FAQs
Is the annual rate on this page an APR or an APY?
The input is a nominal annual interest rate, and the page calculates the effective annual yield (APY) from that rate and the compounding frequency. A bank or credit union discloses APY under Regulation DD after its own compounding and rounding rules, so the APY shown here can differ slightly from a specific account's disclosure. Enter the rate from the product's terms, not the APY, or the compounding will be applied twice.
Are the monthly contributions added before or after interest?
The model adds interest to the existing balance first, then adds the monthly contribution at the end of the month. Contributing at the start of each month would earn one extra month of interest per deposit and produce a higher balance. This calculator does not offer that timing; the difference matters most at high rates and long terms.
Why does annual compounding give a different balance from monthly compounding?
With the same 4.5% nominal rate, monthly compounding earns interest on interest sooner than annual compounding. For $5,000 plus $200 a month over 10 years, monthly compounding ends at $38,074.58 and annual compounding at $37,859.98, a difference of $214.60. Real accounts also round each interest posting, so a quoted APY remains the better comparison between products.
Can I model a withdrawal or a negative monthly contribution?
No. The monthly contribution must be $0 or more, and the projection assumes no withdrawals. A withdrawal changes the balance path and may trigger taxes or penalties that this arithmetic does not include. To compare a lower contribution, enter a smaller number; to compare a one-time withdrawal, this page is not the right model.
Does this include taxes, account fees, or inflation?
No. Interest is added without tax withholding, account fees, advisory fees, or expense ratios. Inflation is not subtracted, so the ending balance is a future dollar amount, not purchasing power in today's dollars. A taxable account, a retirement account, and a fee-bearing fund can all produce a different after-tax result from the same nominal rate.
Sources and review notes
The input model follows the SEC's Investor.gov compound interest calculator: a starting amount, a monthly contribution, an annual interest rate, a compounding frequency, and a term in years. The effective annual yield definition follows Regulation DD, which describes APY as a rate reflecting total interest over a 365-day period at the account's compounding frequency. The formulas and examples on this page were recomputed independently from the displayed inputs.
- Investor.gov — Compound Interest Calculator, U.S. Securities and Exchange Commission. Reviewed 2026-10-22.
- 12 CFR § 1030.2 — Annual percentage yield definition (Regulation DD), U.S. Government Publishing Office. Reviewed 2026-10-22.
Rates and account terms change. The calculator does not fetch a current APY and keeps no record of the balances you enter.