How this calculator works
Compound interest is interest on interest. The formula is A = P × (1 + r/n)^(n·t), where A is the ending balance, P is the starting 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. With periodic contributions C added at the end of each period, the balance becomes A = P × (1 + r/n)^(n·t) + C × [((1 + r/n)^(n·t) − 1) ÷ (r/n)].
The frequency n changes the result more than most people expect. On $10,000 at 5% for 10 years: annual compounding (n=1) grows to $16,288.95; monthly (n=12) grows to $16,470.09; daily (n=365) grows to $16,486.65. The difference between daily and yearly is $197 over a decade — small compared to the rate itself, which is why rate comparison matters more than compounding frequency once you are past monthly.
US banks disclose yield as APY (Annual Percentage Yield), which already accounts for compounding. APR is the nominal rate before compounding. If you see a CD at 4.5% APR with monthly compounding, the APY is (1 + 0.045/12)^12 − 1 = 4.594%. When comparing accounts, always compare APY to APY, never mix APR with APY.
The Rule of 72 is a shortcut, not the formula. Divide 72 by the interest rate to estimate how many years money takes to double: at 6% it is about 12 years, at 8% about 9. It is accurate within half a year for rates between 5% and 10%, and drifts off at the extremes. Use it for mental math, not for planning.
For a loan the same formula runs in reverse — your balance grows at the loan rate while payments pull it down. Credit cards compound daily on average daily balance, which is why carrying a balance for even a few days costs real money.
CD profit calculator: how much will a CD earn? A certificate of deposit earns interest at a fixed rate for a fixed term. To see your profit, enter the deposit, the APY and the term in the calculator above; the result is your final balance minus your deposit. For example, $10,000 in a 12-month CD at 4.5% APY earns $450 at maturity ($10,450 total). A 5-year CD at 4.0% APY earns about $2,166 total ($12,166 maturity value). Early withdrawal penalties typically cost 3–12 months of interest, depending on the term — check the specific CD terms before locking funds you may need.
Worked example
$10,000 at 6% for 20 years, monthly compounding, $200 added each month
- Monthly rate i = 0.06 ÷ 12 = 0.005. Number of periods n·t = 12 × 20 = 240.
- Growth of the $10,000 principal: 10,000 × (1.005)^240 = 10,000 × 3.3102 = $33,102.
- Growth of the $200 monthly contributions: 200 × ((1.005)^240 − 1) ÷ 0.005 = 200 × 462.04 = $92,408.
- Ending balance: $33,102 + $92,408 = $125,510.
- Total contributed: $10,000 + ($200 × 240) = $58,000. Interest earned: $67,510 — more than the money you put in.
Common mistakes
- Comparing APR on one account to APY on another. APY always looks higher because it includes compounding; compare like with like.
- Assuming yearly compounding. Most US savings accounts and CDs compound daily or monthly, which the yield already reflects — look for the APY, not the stated rate.
- Using nominal returns and expecting real-dollar growth. A 7% nominal return at 3% inflation is a 3.9% real return. Over 30 years that gap matters.
- Treating the Rule of 72 as exact. It is a mental-math tool. The actual time to double at 6% is 11.9 years; at 3% it is 23.4 years, not 24.
- Forgetting taxes and fees. A 7% gross return in a taxable account at a 24% marginal rate is 5.3% after tax; a 1% expense ratio turns that into 4.3% net.
Limitations of this calculator
- Assumes a fixed rate for the entire period. Real savings-account rates change; use a range of rates to see the spread.
- Does not model taxes on interest. Interest in a taxable account is taxed as ordinary income each year.
- Contributions are assumed constant. If you plan to raise contributions with inflation, run the model with a lower real rate and today's contribution amount.
- Does not model account fees, early-withdrawal penalties on CDs or minimum-balance requirements.
- Not for stocks. Equity returns are variable, not compounded at a constant rate. For retirement planning, use a Monte Carlo tool to see the range of outcomes.
For your specific situation, consult a tax professional or financial advisor.
Questions people ask
Is daily compounding worth more than monthly?
Barely. On $10,000 at 5% for 10 years the difference is about $17. The rate matters far more than the compounding period once you are past monthly, which is why banks that advertise "daily compounding" are usually highlighting a feature with little real impact.
What is the Rule of 72?
A shortcut: 72 ÷ interest rate ≈ years to double. At 6% that is 12 years; at 8% about 9. It is accurate within half a year for 5%–10% rates. For rates above 15% or under 3% it drifts noticeably and the full formula is needed.
How is APR different from APY?
APR is the nominal annual rate. APY is what you actually earn once compounding is included. A 5% APR with monthly compounding gives an APY of 5.116%. US banks must disclose APY on deposits so you can compare apples to apples.
Does the formula work for contributions at the start of each period?
Multiply the contribution term by (1 + r/n). That accounts for one extra period of compounding on each deposit. The calculator above has a toggle for beginning-of-period vs end-of-period.
What rate should I use for retirement planning?
A conservative long-run assumption for a diversified stock portfolio after inflation is 5%–7%, not the 10% nominal number sometimes quoted. Use the real (inflation-adjusted) return so the final number is in today's dollars.
Sources
Last reviewed October 19, 2026