Compound Interest Calculator
Explore a lump sum or recurring savings plan. Separate your contributions from interest, choose deposit timing and inspect effective annual growth from a nominal rate.
Fixed-rate, matched-period hypothetical projections. No forecast, bank-statement guarantee, tax calculation or personalized investment advice.
Projected balance
Enter all four numeric assumptions, or load the independently verified example.
80 significant decimal digits internally; half-even display rounding. Currency rounds to 2 places; a nonzero amount below one cent is marked. Inputs stay in browser memory.
Know which money came from you
A projected balance includes your starting principal and every later deposit. Only the difference from total contributed capital is interest earned or lost.
Read the complete compound interest guideFormula and methodology
q = 1 + R/(100m); N = mY
End: FV = Pq^N + CΣ(k=0…N−1)q^k
Beginning: FV = Pq^N + CqΣ(k=0…N−1)q^k
Interest = FV − (P + CN)
Let P be principal, C the deposit per period, R the nominal annual percentage, m periods per year, Y complete years, N=mY, and q=1+R/(100m). End-period balance is Pq^N+C times the sum of q^k for k=0 through N−1. Beginning timing multiplies only that deposit term by q. The engine uses stable binary composition of growth and geometric sums, not subtraction of nearly equal powers or division by a tiny rate.
At zero interest, balance is P+CN. At zero years it is P, with no recurring deposit. Effective annual growth is (q^m−1)×100. Stable accumulation and an isolated 80-digit decimal context protect small-rate arithmetic; rounding occurs only for display.
Verified worked example
Start with 1,000, add 100 at the end of each year for two years at a nominal 5% compounded annually. Year one: 1,000×1.05+100=1,150. Year two: 1,150×1.05+100=1,307.50. Of this, 1,200 is contributed capital and 107.50 is interest. Beginning-year deposits instead produce 1,317.75, with the same contributed capital.
Inputs and interpretation
Choose the display currency and matched compounding/deposit interval. Enter initial principal, recurring deposit per selected interval (explicit 0 if none), deposit timing, nominal annual rate and complete years. Re-enter the deposit after a frequency change. Compare contributed capital, interest and the optional selected-year milestones; use Clear values to reset.
Assumptions and limitations
Constant nominal rate; equal nonnegative deposits; matching deposit and compounding frequencies; complete integer years; initial principal separate from deposits. Daily means 365 equal periods every year, not calendar accrual. Growth is reinvested, with no contractual period-by-period cent rounding.
Supported domain and common mistakes
No withdrawals, variable rates, continuous compounding, fractional years, independently scheduled deposits, actual-date accrual, taxes, fees, inflation or FX. Currency is formatting only. Each amount is at most 10^15; rate greater than −100% through 1000%; years 0–100; projected balance at most 10^30. Decimal input uses a point, up to 12 fractional places and 48 characters. Unsupported results are refused, not clipped.
Entering an effective APY/AER as a nominal rate can apply compounding twice. Treating the entire projected balance as investment earnings counts your own deposits as profit. Changing a monthly deposit into a daily deposit without changing its amount radically changes contributions. A higher projection does not establish a better or safer investment.
Frequently asked questions
Can I add monthly deposits?
Why is my recurring deposit cleared when I change frequency?
Should I enter a nominal rate or an effective APY/AER?
What happens with zero years or zero interest?
Can interest be negative, and does beginning timing always help?
Does daily compounding count leap days?
Are taxes, inflation and currency conversion included?
Sources and educational scope
Hypothetical mathematical projections for education, not personalized financial or investment advice. Rates and future returns are uncertain. Verify actual product terms, cash-flow timing, fees, taxes and inflation before making a decision. No future balance or suitability is promised.
Reviewed . AI-assisted content; operator editorial responsibility. No independent expert financial review is claimed.