HomeSavings & Investing › Compound Interest Calculator

Compound Interest Calculator

Free compound interest calculator with monthly contributions. See how savings and investments grow over time.

See the power of compounding: a starting balance plus monthly contributions growing at a chosen annual return.

How the Compound Interest Calculator works

A compound interest calculator solves the future-value equation A = P(1 + r/n)nt + PMT × [((1 + r/n)nt − 1) / (r/n)] for you, then projects the year-by-year balance so you can see how interest stacks on interest. Behind the simple input fields, the tool runs the same math used by banks, retirement plans, and pension actuaries.

The variables, defined

  • A — future value (your ending balance in dollars).
  • P — principal, the starting deposit.
  • r — nominal annual interest rate as a decimal (5% = 0.05).
  • n — compounding period frequency per year (daily = 365, monthly = 12, quarterly = 4, annually = 1).
  • t — time in years.
  • PMT — recurring contribution made each compounding period.

What the calculator does step by step

  1. Converts your annual rate into the periodic rate r/n.
  2. Counts total compounding events as n × t.
  3. Grows the principal using P(1 + r/n)nt.
  4. Adds the future value of a series of deposits using the annuity factor PMT × [((1 + r/n)nt − 1) / (r/n)].
  5. Sums the two streams to return the ending balance, total interest earned, and a schedule of yearly balances.

Edge cases the tool handles

If your contributions land at the start of each period (an annuity due rather than ordinary annuity), the deposit term is multiplied by an extra (1 + r/n) factor, raising the answer by roughly one period of interest. When r is 0%, the calculator falls back to a straight sum (P + PMT × n × t) so the formula doesn't divide by zero. For continuous compounding the math switches to A = Pert, where e ≈ 2.71828. Most US savings products compound daily but credit to the account monthly, so the calculator treats n = 365 for accuracy and reports both the nominal APR and the effective annual rate (EAR = (1 + r/n)n − 1).

What the output actually means

The future-value figure is in nominal dollars. To see real purchasing power, subtract long-run inflation (roughly 2.5% to 3% in the United States) or pair the result with an inflation calculator. The yearly schedule shows that early years move slowly while the curve steepens after year 15, which is why time in market matters more than rate. The total-interest line tells you how much of your ending balance came from compounding rather than your own deposits.

Example calculation

Three worked scenarios show how the same calculator answers very different questions. Each uses the formula A = P(1 + r/n)nt + PMT × [((1 + r/n)nt − 1) / (r/n)] with monthly compounding (n = 12).

Scenario 1: The "boring" emergency fund

You drop $10,000 into a high-yield savings account paying 4.5% APY and add $250 every month for 5 years. Plugging in P = 10,000, r = 0.045, n = 12, t = 5, PMT = 250:

  • Growth on principal: 10,000 × (1 + 0.045/12)60 = $12,517
  • Growth on deposits: 250 × [((1.00375)60 − 1) / 0.00375] = $16,776
  • Ending balance: $29,293 from $25,000 in cash contributions and $4,293 in interest.

Scenario 2: The early-career Roth IRA

A 25-year-old maxes a Roth IRA at $583/month ($7,000/yr cap) at a 9% long-run stock return for 40 years, starting with $0. Future value = 583 × [((1.0075)480 − 1) / 0.0075] = roughly $2.72 million. Total deposits: $279,840. Compound interest delivered the other $2.44 million — nearly 90% of the pile.

Scenario 3: The "I waited 10 years" cost

Same Roth, same $583/month, same 9% return, but the saver starts at age 35 with only 30 years to grow. Future value drops to about $1.07 million. The 10-year delay costs $1.65 million — proof that time compounds harder than contribution size.

Side-by-side comparison

ScenarioStarting balanceMonthly depositRateYearsEnding balanceInterest earned
Emergency fund$10,000$2504.5%5$29,293$4,293
Roth started at 25$0$5839.0%40$2,723,000$2,443,000
Roth started at 35$0$5839.0%30$1,068,000$858,000

The same $583/month over 40 versus 30 years differs by $1.65 million because the last decade is when compounding does its heaviest work. Run your own version on the Roth IRA calculator or the broader investment calculator to see your numbers.

Tips for using the Compound Interest Calculator

  • <strong>Front-load deposits in January.</strong> Annual IRA contributions made on January 2 instead of December 31 earn an extra 12 months of compounding every year. Over a 40-year career that single timing habit can add roughly 7% to 9% to your ending balance with no extra dollars in.
  • <strong>Reinvest every dividend and coupon.</strong> The S&P 500's 10% long-run return splits into about 7% price appreciation and 3% dividends. Turning dividend reinvestment on (DRIP) inside brokerage accounts is the difference between a real compound curve and a flat one.
  • <strong>Watch the effective annual rate, not the APR.</strong> A 5% APR compounded daily equals an EAR of 5.127%. When comparing CDs, money market accounts, and HYSAs, always compare APY (which is EAR) to APY, not APR to APY, or you will under-estimate the better account.
  • <strong>Avoid breaking compounding for small expenses.</strong> Withdrawing $5,000 from a Roth at age 30 to fund a vacation costs roughly $90,000 at age 65 at 9% growth. A compound interest calculator turns abstract opportunity cost into a real dollar number.
  • <strong>Use tax-advantaged buckets first.</strong> Compounding inside a Roth IRA, 401(k), or HSA grows tax-free or tax-deferred, while a taxable brokerage loses 15% to 24% of yearly gains to capital-gains tax. Same rate, same deposit, very different ending balance.
  • <strong>Rebalance, do not chase.</strong> A portfolio drifting from 80/20 to 95/5 stocks after a bull run inflates expected returns but adds drawdown risk that can wipe years of compounding. Rebalancing annually keeps the math honest.
  • <strong>Treat raises as deposit increases, not lifestyle increases.</strong> Routing 50% of every pay raise into your 401(k) automatically compounds the raise. Pair the habit with the <a href="/pay-raise-calculator/">pay raise calculator</a> to see the lifetime number.
  • <strong>Track real return, not nominal.</strong> A 7% return during 4% inflation is really 2.88% in purchasing power ((1.07/1.04) − 1). Compound interest calculators report nominal dollars, so always sanity-check against inflation before celebrating.
  • <strong>Use the Rule of 72 for quick sanity checks.</strong> Divide 72 by your rate to estimate doubling time: 7% doubles money in about 10.3 years, 9% in 8 years. It is not a replacement for the formula but a fast gut check while you are inputting numbers.
  • <strong>Set a minimum monthly auto-transfer of any amount.</strong> Even $25 per month at 8% becomes about $87,000 in 40 years. Automating is what protects the compounding curve from human willpower.

A short history of compound interest

Compound interest is the practice of paying interest on previously earned interest, and its written history stretches back nearly 4,000 years. Babylonian clay tablets from around 1700 BC describe loans charged at mas mas, a doubling formula equivalent to compound interest, and Mesopotamian scribes already used what we now call the Rule of 72 to estimate doubling time.

Medieval European bankers in Florence and Genoa formalized compounding in the 1200s, though the Church called it usury and banned it for centuries. The math became respectable in 1613 when Richard Witt published Arithmeticall Questions, the first English textbook devoted to compound interest tables. Jacob Bernoulli, working through continuous compounding in 1683, discovered the constant e ≈ 2.71828 that anchors the formula A = Pert. Albert Einstein is widely quoted (though the attribution is disputed) calling compound interest "the eighth wonder of the world" — apocryphal or not, the line captures why every modern retirement, mortgage, and savings product depends on this single mathematical idea.

Compound interest vs simple interest

Simple interest pays a flat percentage on the original principal only, while compound interest pays interest on principal and on accumulated interest. On a $10,000 deposit at 6% for 20 years, simple interest returns $10,000 × 0.06 × 20 = $12,000 in interest. Compound interest at the same rate (monthly compounding) returns about $23,100 in interest — nearly double.

The gap widens with time because compounding is exponential and simple interest is linear. Most US mortgages, auto loans, and student loans technically use simple interest on a daily basis (interest = principal × daily rate × days), which is why extra principal payments save so much. By contrast, savings accounts, CDs, retirement funds, and credit-card debt all compound. The lesson: you want to be on the compound side of savings and the simple side of borrowing. Use the simple interest calculator to compare both products on the same deposit.

How often is interest compounded in real US accounts

Most US savings accounts, money market accounts, and CDs compound interest daily but credit it monthly. Credit cards compound daily on the average daily balance. 401(k) and IRA balances technically don't "compound" on a fixed schedule — they grow through reinvested dividends, capital-gain distributions, and unrealized price appreciation, which functions like continuous compounding for planning purposes.

The frequency differences look dramatic on paper but matter less than you'd think. A $10,000 deposit at 5% for 10 years grows to $16,470 compounded annually, $16,486 quarterly, $16,500 monthly, $16,506 daily, and $16,487 continuously. The total spread is roughly 0.2% of the ending balance. What moves the needle is the rate itself and the number of years, not the compounding frequency. Banks emphasize "daily compounding" in marketing because the alternative — admitting that it barely matters — wouldn't sell accounts.

Common misconceptions about how compound interest works

The biggest misconception is that compound interest is fast. In years 1 through 10, growth feels almost linear; the visible bend in the curve usually shows up around year 15. People give up before the math catches up to them. The second misconception is that a higher rate beats more time. A 12% return over 20 years ($96,463 from $10,000) is beaten by a 7% return over 30 years ($76,123 from $10,000)? Actually no — but compare 12% over 20 years to 7% over 35 years and the lower rate wins ($106,765). Time is the more reliable lever.

A third misconception: monthly compounding dramatically beats annual. As shown above, the difference is fractions of a percent. A fourth: compound interest only helps if you have a lot to start with. The math doesn't care; $50/month at 8% for 40 years still becomes $175,000. The barrier is behavioral, not mathematical.

Reverse compound interest: working backward from a goal

A reverse compound interest calculator solves the formula for principal (P) or contribution (PMT) when you know the future value (A). The rearranged equation is P = A / (1 + r/n)nt, also called present value, and the contribution version is PMT = A × (r/n) / [(1 + r/n)nt − 1].

Practical use: if you want $1,000,000 at age 65 and you're 30 with a 9% expected return, you need to invest $1,000,000 / (1.0075)420 = roughly $43,200 today as a lump sum, or PMT = 1,000,000 × 0.0075 / [(1.0075)420 − 1] ≈ $324/month. The reverse approach is how financial planners build target-number plans for retirement, college savings, and emergency funds. Try it on the future value calculator or present value calculator and the savings goal calculator for goal-first planning.

Mistakes that quietly destroy compound growth

The four mistakes that erase the most compounding are: (1) high expense ratios — a 1% annual fund fee can consume 25% of a 40-year balance versus a 0.05% index fund; (2) frequent buying and selling that triggers short-term capital gains taxed at ordinary income rates of up to 37%; (3) cashing out a 401(k) when changing jobs, which hits you with income tax plus a 10% early-withdrawal penalty and resets your compounding clock; and (4) holding too much cash for too long, where 4% HYSA yield loses to 8% stock returns over multi-decade horizons.

A subtler killer is sequence-of-returns risk in retirement: withdrawing during a market drawdown locks in losses and breaks the compounding engine. The fix is keeping 12 to 24 months of expenses in cash so you don't sell equities during bear markets. Pair this calculator with the retirement withdrawal calculator and the FIRE calculator to model safe withdrawal rates.

The Rule of 72 and other compounding shortcuts

The Rule of 72 estimates how long money takes to double: divide 72 by your annual rate. At 6%, money doubles in 72 / 6 = 12 years. At 9%, in 8 years. At 12%, in 6 years. The rule is most accurate between 6% and 10% — for very high or very low rates, switch to the Rule of 70 (for continuous compounding) or Rule of 69.3 (the exact mathematical constant: ln(2) ≈ 0.693).

Two related shortcuts: the Rule of 114 tells you how long money takes to triple at a given rate, and the Rule of 144 tells you how long to quadruple. For inflation, the Rule of 72 in reverse tells you how fast purchasing power halves: at 3% inflation, prices double every 24 years, meaning today's $50,000 income buys what $25,000 buys now. Run the math on the Rule of 72 calculator.

Related on this site

simple interest calculator · Rule of 72 calculator · savings calculator · investment calculator · Roth IRA calculator · future value calculator · present value calculator · millionaire calculator · guide to what compound interest is · savings calculators hub

Compound Interest Calculator — frequently asked questions

What return should I use?
A diversified stock portfolio has historically averaged ~7% per year after inflation long term, but returns vary.
Does frequency matter?
More frequent compounding slightly increases growth; monthly is realistic for most accounts.
What rate should I assume?
Diversified equities have historically averaged ~7% after inflation long term, but returns vary year to year.
How do I calculate compound interest by hand?
Use A = P(1 + r/n)<sup>nt</sup>. Convert your annual rate to a decimal, divide by the number of compounding periods per year (n), add 1, raise to the power of n × t, then multiply by principal. Example: $5,000 at 6% compounded monthly for 10 years equals 5,000 × (1 + 0.06/12)<sup>120</sup> = 5,000 × 1.8194 = $9,097. Subtract principal to get interest earned: $4,097. A compound interest calculator just automates this same arithmetic and adds the deposit annuity term.
What is the compound interest formula with monthly deposits?
The full formula is A = P(1 + r/n)<sup>nt</sup> + PMT × [((1 + r/n)<sup>nt</sup> − 1) / (r/n)], where PMT is your recurring deposit. The first term grows your starting principal, and the second term sums the future value of every deposit made along the way. For monthly deposits in a US savings account, use n = 12 and PMT = monthly contribution. For weekly deposits, use n = 52. The formula assumes deposits arrive at the end of each period (ordinary annuity).
What is the difference between daily and monthly compounding?
Daily compounding applies interest 365 times a year while monthly compounding applies it 12 times. On a $10,000 deposit at 5% over 10 years, daily compounding produces $16,486 and monthly produces $16,470 — a $16 spread, or 0.1% of the balance. Daily wins technically but is usually a marketing point rather than a meaningful difference. What matters far more is the rate (APY) and the time horizon. Compare APYs head-to-head rather than getting distracted by compounding frequency.
How long does it take money to double with compound interest?
Divide 72 by your annual rate to estimate doubling time. At 4% (typical high-yield savings), money doubles in 18 years; at 7% (long-run bond and stock mix), 10.3 years; at 10% (S&P 500 historical average), 7.2 years; at 12%, 6 years. This shortcut, called the Rule of 72, is accurate within a few months for rates between 6% and 10%. For exact doubling time, use t = ln(2) / ln(1 + r), which gives 7.27 years at 10% compounded annually.
What is the effective annual rate (EAR)?
The effective annual rate is the true yearly interest you earn after accounting for compounding frequency. Calculate it with EAR = (1 + r/n)<sup>n</sup> − 1. A 5% APR compounded daily gives EAR = (1 + 0.05/365)<sup>365</sup> − 1 = 5.127%. Most US banks publish APY, which is the same number. When comparing CDs, savings accounts, or money market accounts, compare APY to APY (not APR to APY) so you account for compounding fairly. APR usually understates returns when interest compounds more than once per year.
Is compound interest better than simple interest?
For savings and investments, compound interest is better because it pays interest on interest, growing exponentially. For loans, simple interest is better because interest accrues only on the original principal, not on past interest. US mortgages and auto loans use daily simple interest, which is why extra principal payments cut total interest dramatically. Savings accounts, CDs, retirement portfolios, and credit-card debt all compound. The goal in personal finance is being on the compound side of savings and the simple side of debt.
How much will $10,000 be worth in 30 years?
It depends on the rate. At 4% compounded monthly, $10,000 grows to $33,200 in 30 years. At 7%, it becomes $81,200. At 9%, it grows to $147,500. At 10%, it reaches $200,300. Add monthly contributions and the numbers climb fast: $10,000 plus $300/month at 8% over 30 years equals about $530,000. The variables that move the answer most are time and rate, then contribution size, then compounding frequency. Plug your specific numbers into the calculator above for an exact projection.
How does compound interest work in a savings account?
Banks calculate daily interest on your average daily balance and credit it to your account once a month. The next month, the new interest earns interest, which is the compounding step. A 4.5% APY high-yield savings account on a $5,000 balance earns roughly $18.75 in month one, then earns interest on $5,018.75 in month two, and so on. Over a year, you earn about $230 instead of $225 (what simple interest would pay). The compounding effect grows much larger as the balance grows and the years stack up.
What is a reverse compound interest calculator?
A reverse compound interest calculator works backward from a future-value goal to tell you how much to deposit today (present value) or how much to contribute each month to hit that target. The math rearranges the standard formula: P = A / (1 + r/n)<sup>nt</sup> for lump-sum, or PMT = A × (r/n) / [(1 + r/n)<sup>nt</sup> − 1] for recurring deposits. Reverse calculators are how planners answer questions like "how much do I save monthly to reach $1M by age 65?" or "how much do I invest today to fund my kid's college in 18 years?"
Does compound interest beat inflation?
It depends on the rate. Long-run US inflation has averaged about 3.1%, so any account earning more than 3.1% beats inflation in real terms. A 4.5% HYSA beats inflation by about 1.4 percentage points. A 7% stock-portfolio return beats inflation by about 3.8 points. Cash under the mattress earns 0% and loses 3% in real value every year. The deeper rule: real return = (1 + nominal) / (1 + inflation) − 1. A nominal 7% return during 4% inflation is only 2.88% in real purchasing power, which is why long horizons need equity exposure.
Can I lose money with compound interest?
Compound interest itself does not lose money, but the investments that earn it can. A savings account or CD with FDIC insurance up to $250,000 cannot lose principal. A stock portfolio compounding at 9% on average can drop 20% to 50% in any single year, even if the long-run trend is up. The math also works in reverse for debt: credit card balances compounding at 22% APR "earn" interest against you. The right way to think about it: compounding amplifies whichever direction the rate points.
What is the time value of money?
The time value of money (TVM) is the principle that a dollar today is worth more than a dollar tomorrow because today's dollar can earn compound interest. Formally, present value PV = FV / (1 + r)<sup>t</sup>, and future value FV = PV × (1 + r)<sup>t</sup>. At a 7% discount rate, $10,000 received in 10 years is worth only $5,083 today. TVM is the foundation of every compound interest, mortgage, bond, lease, retirement, and net-present-value calculation. Use the <a href="/present-value-calculator/">present value calculator</a> to apply it.
How is compound interest taxed in the US?
Compound interest in a regular taxable savings account, CD, or brokerage account is taxed as ordinary income each year at your marginal rate (10% to 37% federally). Interest inside a traditional 401(k) or IRA grows tax-deferred — you pay income tax when you withdraw in retirement. Inside a Roth IRA or Roth 401(k), compounding is tax-free forever as long as you follow withdrawal rules. Inside an HSA, compounding is triple-tax-advantaged: deductible going in, tax-free growth, and tax-free for medical expenses. Account choice can matter more than rate.
What is a good rate for a compound interest savings account?
As of 2026, a competitive high-yield savings account in the US pays 4.0% to 5.0% APY, while top CDs offer 4.5% to 5.5% APY for 12-month terms. Money market accounts sit between savings and CDs at 4.0% to 4.75%. Anything under 1% APY (typical big-bank savings) is functionally losing money to inflation. For long-term compounding above 6%, you need bond funds or stock-index funds, which are not FDIC-insured but historically average 5% and 10% respectively over 30-year windows.
How do I calculate annual compound interest?
For annual compounding, set n = 1 in the formula, so A = P(1 + r)<sup>t</sup>. Example: $5,000 at 7% compounded annually for 20 years equals 5,000 × (1.07)<sup>20</sup> = 5,000 × 3.8697 = $19,348. Subtract the principal to get $14,348 in interest. Annual compounding is common in bonds, dividend reinvestment plans, and academic finance examples. It's the simplest version of the formula and useful as a back-of-envelope check before plugging numbers into a daily or monthly calculator.

Guides & articles

Related calculators

Simple Interest Calculator · Savings Calculator · CD Calculator · APY Calculator · Investment Calculator · SIP Calculator

📋 Embed this calculator on your site

Free for any blog or website — just copy the code below and paste it into your page. The credit link helps support free tools.

Tip: adjust the iframe height if needed (try 600–800).