Skip to content

Compound Interest Calculator

Principal, contributions, rate, and compounding frequency — with a growth chart. Math only.

Runs 100% in your browser. No upload.

Growth chart

Balance vs cumulative contributions

Year-by-year table
YearContributions addedInterest that yearEnding balance

This calculator shows math, not investment advice.

Why compound interest feels slow — then sudden

Early years of saving look almost linear: you deposit, you get a little interest, the line creeps up. Later years bend. That bend is compounding — interest credited on interest. This calculator makes the bend visible with two chart series so you can see how much of the ending balance is cash you deposited versus growth the rate produced.

The formula (with contributions)

For a lump sum alone, future value is often written FV = P × (1 + r/n)n t, where P is principal, r annual rate, n compounds per year, and t years. Regular deposits change the picture. A closed form for an ordinary annuity (deposit at period end) is:

FV = P(1 + r/n)nt + PMT × [((1 + r/n)nt − 1) ÷ (r/n)]

Here we simulate month by month: within each month we apply the right number of compound steps for your chosen frequency (daily ≈ 365/12 steps, monthly = 1, and so on), then add the monthly contribution. That matches how many people actually save — paycheck deposits on a calendar — while still respecting daily or quarterly compounding products.

Reading the chart

The solid amber line is account balance. The dashed stone line is cumulative contributions (starting principal plus every monthly add). When the lines are close, most of your balance is money you put in. When the gap widens, compounding is doing heavier lifting. Expand the year table for exact annual contributions, interest, and ending balances — handy for spreadsheet comparisons or “what if I wait five more years?” conversations.

Picking a rate honestly

A 7% long-run stock-market average is not a promise for next year. High-yield savings might show ~4–5% APY with daily compounding; certificates fix a rate for a term; speculative assets can go negative. Enter the rate the product advertises (or a conservative planning assumption), not a hope. Fees and taxes shrink real results — this model ignores both on purpose so you can see raw compounding.

Contributions vs lump sums

Doubling a monthly contribution often moves the ending balance more than obsessing over a half-point of rate in the early years of a career. Try $0 vs $200 vs $400 with the same principal: the chart’s contribution line shows the discipline; the interest column in the table shows the reward. Time remains the scarce input — starting ten years earlier usually beats hunting for an 8% instead of 7% headline.

Compounding frequency in practice

Nominal rate 6% compounded monthly is not identical to 6% compounded yearly. Banks disclose APY so you can compare apples to apples. Use this tool to see sensitivity: toggle daily vs yearly with the same headline rate and notice the modest but real lift. For mortgages and loans the compounding conventions differ again — do not use this page as a payment calculator.

Privacy and trust

Dollar amounts never leave your device. Chart.js ships inside the site bundle from npm — no CDN script tags, no third-party chart calls at runtime. Refresh to clear inputs. No countdown timers, no “unlock pro rate modes,” no email gate.

Limits of the model

Inflation erodes purchasing power; variable rates change; deposits may not land on tidy month ends; currency and brokerage cash sweeps behave differently. Treat outputs as illustrations for learning and planning conversations. When real money is on the line, verify against your institution’s statements and, if needed, a licensed advisor.

Simple interest vs compound (quick contrast)

Simple interest pays only on the original principal: after t years you earn P × r × t and stop. Compound interest folds each period’s earnings into the base, so the next period’s percentage hits a larger number. Over one year the difference looks tiny; over twenty years with steady contributions it is the difference between a modest nest egg and a retirement-planning conversation. This page only models the compound path — including your monthly adds — because that is what most savings and investment products approximate.

A short scenario walkthrough

Imagine $10,000 starting principal, $200 every month, 7% annual, monthly compounding, for 10 years. The contribution line climbs by the cash you keep depositing; the balance line pulls away as interest stacks. Nudge years to 15 or rate to 5% and watch how sensitive the gap becomes. The year table breaks the same path into contributions added, interest that year, and ending balance — useful if you want to reconcile the chart with a spreadsheet cell by cell.

APYs, nominal rates, and marketing

Advertisements often quote APY (annual percentage yield), which already folds compounding into a yearly effective rate. If you enter an APY as if it were a nominal rate compounded daily, you will slightly double-count frequency. Prefer: take the nominal rate and the compounding schedule from the product disclosure, or enter APY with yearly compounding as a close planning estimate. CalcNest will not scrape bank sites — honesty about inputs is on you.

Who should use this calculator

Students modeling first jobs and emergency funds, freelancers stress-testing “what if I automate $150/month,” parents explaining compounding at the kitchen table, and anyone tired of calculators that demand an email before showing a chart. Numbers stay local. The one-line disclaimer still applies: this calculator shows math, not investment advice.

Related education tools

Planning school costs alongside savings? Pair this chart with the final grade calculator and GPA calculator when the same week involves both syllabus panic and “how much should I keep depositing.” Same site rules everywhere: static pages, client-side scripts, no dark patterns.

Withdrawals and timing (not modeled)

Real accounts sometimes pause deposits, take a large withdrawal, or switch rates mid-year. This tool assumes a steady monthly contribution and a constant rate for the whole horizon. To approximate a pause, set contributions to zero for a mental second phase and chain the ending balance of phase one as the new principal. That two-step approach keeps the interface simple while remaining transparent about what the single-run simulation cannot do.

Rule of 72 — a rough double-your-money estimate

Before calculators were in every browser, people used the Rule of 72 for mental math: divide 72 by the annual percentage rate to estimate how many years it takes for a lump sum to double under compounding. At 8%, 72 ÷ 8 ≈ 9 years. At 6%, about 12 years; at 9%, about 8 years. It is a quick approximation for continuous-style growth intuition, not a precise forecast — and it ignores monthly contributions, fees, taxes, and changing rates.

Use the Rule of 72 when you only want a ballpark “how long until this nest egg doubles if rates hold.” Use this calculator when you add regular deposits, pick daily vs monthly compounding, or need a chart of balance vs cash-in. The rule answers one narrow lump-sum question; the tool answers the path you actually save on.

This is educational math only — not investment advice. Markets and real accounts do not guarantee a constant rate.

Starting at 25 vs 35 — same monthly amount, different runway

Time in the market often matters more than waiting to “invest larger later” with the same monthly habit. Compare two savers who both contribute $200 per month at a constant 7% annual rate with monthly compounding, and both stop at age 65 — one starts at 25 (40 years), the other at 35 (30 years). Neither starts with a large principal in this illustration ($0 opening balance); only the contribution habit differs by start age.

ScenarioYearsTotal cash contributedApprox. ending balance*
Start at 25 → 6540$96,000≈ $525,000
Start at 35 → 6530$72,000≈ $244,000

*Rounded future-value estimates for $0 principal, $200/month, 7% nominal, monthly compounding. Re-run the exact inputs above in this calculator for precise figures. Gap and rounded totals will differ slightly with daily vs yearly compounding.

The later starter contributes $24,000 less — but the earlier starter’s ending balance is roughly twice as large (or more) under these assumptions, because the first decade’s deposits compound through the remaining years. Same monthly amount; different clock. Plug both horizons into the form (40 vs 30 years) and read the chart: the contribution lines diverge steadily; the balance lines diverge faster.

Pure math illustration only — not advice to invest, and not a claim that 7% is available or risk-free for anyone.

Frequently asked questions

What is compound interest?

Compound interest means you earn returns on both your original principal and on interest already credited. Over years, that snowball effect separates “simple” interest from real growth curves.

How do monthly contributions change the result?

Each month we add your contribution after applying that month’s compounding steps. The chart’s “Contributions” line is cash you put in; the gap to “Balance” is interest earned.

Daily vs monthly vs yearly compounding — which should I pick?

Match the product: many savings accounts compound daily and credit monthly; classic textbooks use annual; some bonds pay semi-annually (closest here: quarterly / monthly). Higher frequency slightly increases the future value for the same nominal rate.

Is this investment advice?

No. This calculator shows math, not investment advice. Markets, fees, taxes, and inflation are outside the model.

Why does the chart show two lines?

Balance is your projected account value. Contributions is the running total of principal plus deposits. The vertical gap is cumulative interest.

Are my numbers uploaded?

No. Chart.js is bundled from npm at build time; calculation and drawing happen in your browser only.