CalculatorWallah logoCalculatorWallah
Article15 min read

Compound Interest Guide: Formula, Examples & Power of Compounding

Understand compound interest — how it differs from simple interest, the compounding formula, how frequency matters, the Rule of 72, and how to use it to grow savings and investments.

Published: April 28, 2026Updated: April 28, 2026

Guide Oversight & Review Policy

CalculatorWallah guides are written to explain calculator assumptions, source limitations, and when users should move from a rough estimate to an official rule, institution policy, or clinician conversation.

Reviewed By

Jitendra Kumar, Founder & Editorial Standards Lead, oversees methodology standards and trust-sensitive publishing decisions.

Review editor profile

Topic Ownership

Sales tax and tax-sensitive estimate tools, Education and GPA planning calculators, Health, protein, and screening-formula pages, Platform-wide publishing standards and methodology

See ownership standards

Methodology & Updates

Page updated April 28, 2026. Trust-critical pages are reviewed when official rates or rules change. Evergreen calculator guides are checked on a recurring quarterly or annual cycle depending on topic volatility.

On This Page

Introduction

Albert Einstein allegedly called compound interest the eighth wonder of the world. Whether or not he said it, the math behind the claim holds up. Compound interest turns time into a wealth-building tool — the longer it runs, the more dramatically it grows a starting balance.

Understanding compound interest helps you make better decisions on both sides of the equation: maximizing it as an investor and minimizing its damage as a borrower. This guide explains the formula, shows why compounding frequency matters less than most people think, and connects the math to practical investment decisions. Run your own numbers with the compound interest calculator.

What Is Compound Interest?

Compound interest is interest calculated on both the original principal and the accumulated interest from previous periods. In contrast to simple interest — which applies only to the principal — compound interest creates exponential growth because your interest earns interest.

A simple example: $1,000 at 10% simple interest earns $100 per year forever — $1,000 after one year, $2,000 after ten years. At 10% compound interest annually, the balance after year one is $1,100. After year two it is $1,210 — not $1,200 — because the $100 earned in year one also earns 10% in year two. After 10 years it is $2,594. After 30 years it is $17,449.

The fundamental insight: time is the most powerful variable. Doubling the rate roughly doubles your outcome. Doubling the time at a fixed rate produces exponential gains. This is why starting early matters enormously.

The Formula

The standard compound interest formula:

A = P × (1 + r/n)^(n × t)

Where: A is the final amount, P is the principal (starting amount), r is the annual interest rate as a decimal, n is the number of compounding periods per year, and t is time in years.

For continuous compounding (compounding every instant, the mathematical limit):

A = P × e^(r × t)

Where e ≈ 2.71828 (Euler's number).

Worked example: $5,000 invested at 7% compounded monthly for 20 years. P = 5,000, r = 0.07, n = 12, t = 20. A = 5,000 × (1 + 0.07/12)^(12×20) = 5,000 × (1.005833)^240 ≈ $20,097. The original $5,000 grows to over $20,000 through compounding alone — no additional contributions.

Compounding Frequency

Compounding frequency determines how often interest is calculated and added to the balance. Common frequencies:

  • Annual (n = 1) — once per year, simplest
  • Semi-annual (n = 2) — twice per year
  • Quarterly (n = 4) — four times per year
  • Monthly (n = 12) — standard for savings accounts and mortgages
  • Daily (n = 365) — standard for credit cards and many savings accounts
  • Continuous — mathematical limit, negligibly higher than daily

More frequent compounding always produces a higher result, but the marginal gains diminish rapidly. On $10,000 at 6% over 30 years: annual compounding gives $57,435; monthly gives $60,226; daily gives $60,496. The practical difference between monthly and daily is small — the rate and time period are the dominant variables.

When comparing savings accounts, look at APY (Annual Percentage Yield) rather than APR. APY already incorporates the compounding effect, so two accounts with different APRs and different compounding frequencies can be directly compared using their APY figures.

The Rule of 72

The Rule of 72 is the fastest way to estimate compounding's doubling time without a calculator:

Years to double ≈ 72 ÷ annual interest rate

Examples:

  • At 4%: 72 ÷ 4 = 18 years to double
  • At 6%: 72 ÷ 6 = 12 years to double
  • At 8%: 72 ÷ 8 = 9 years to double
  • At 12%: 72 ÷ 12 = 6 years to double
  • At 24% (credit card): 72 ÷ 24 = 3 years for debt to double

The rule works in reverse for inflation: at 3% inflation, purchasing power halves in about 24 years. This makes the Rule of 72 a useful mental model for inflation planning as well as investment projections.

The approximation is most accurate between 3% and 15%. For rates outside that range, the Rule of 69.3 or 70 is more accurate, but 72 is preferred because it divides evenly by more common interest rates (4, 6, 8, 9, 12, 18, 24).

Compound vs. Simple Interest

Simple interest formula: I = P × r × t. The interest earned each period is always the same — it does not grow. Compound interest re-applies the rate to the growing balance each period.

Over short time periods the difference is modest. $10,000 at 5% for 1 year: simple interest earns $500; annual compounding earns $500. Identical for one period.

Over longer periods the gap widens dramatically. $10,000 at 5% for 30 years: simple interest produces $10,000 + (5% × $10,000 × 30) = $25,000. Annual compound interest produces $10,000 × (1.05)^30 ≈ $43,219. The difference is $18,219 — on the same starting amount and same rate, simply by compounding.

Simple interest is used for: short-term loans, some auto loans, Treasury bills, and savings bonds. Compound interest is used for: mortgages (compounded monthly), savings accounts, investment growth, and credit cards (compounded daily). The type of interest matters — always verify which applies to your financial product.

Compare the two approaches directly using the simple interest calculator and compound interest calculator side by side.

Real-World Applications

Savings accounts and CDs — High-yield savings accounts compound daily or monthly. A $20,000 emergency fund at 4.5% APY for 5 years grows to about $24,930 without any additional deposits. Certificate of Deposit (CD) laddering can maximize compounding access while maintaining liquidity.

Retirement accounts — 401(k)s and IRAs invest contributions in funds that grow via compounding returns. Consistent contributions combined with compound growth produce dramatically different outcomes depending on when you start. A 25-year-old who invests $5,000 per year at 7% will have approximately $1.07 million at 65. A 35-year-old doing the same reaches only $505,000 — less than half — despite only starting 10 years later.

Credit card debt — Compound interest works powerfully against you as a borrower. Credit cards typically compound daily at 18–29% APR. A $5,000 balance at 22% with no payments grows to over $6,100 in one year. Carrying high-rate debt while investing in lower-return assets almost always destroys net worth.

Mortgages — Though mortgage interest compounds monthly, amortization means you are paying down principal each month, so the effective compounding works in your favor as equity grows. Early extra payments reduce principal and save compound interest costs over the full loan term.

Inflation — Inflation compounds just as investment returns do. At 3% annual inflation, $1,000 today has the purchasing power of about $740 in 10 years and $412 in 30 years. This is why the inflation calculator and compound interest calculator should be used together for real long-term financial planning.

Compound Interest Tools

The compound interest calculator accepts a starting balance, regular contributions, annual rate, compounding frequency, and time period. It outputs final value, total interest earned, and a year-by-year growth table.

Use the CAGR calculator to work backward from known start and end values to find the implied annual compound growth rate — useful for evaluating investments, business growth, or savings progress.

For debt scenarios, the simple interest calculator is useful for shorter-term loans, while the compound interest calculator handles credit cards and long-term revolving balances.

Frequently Asked Questions

A = P × (1 + r/n)^(n×t), where A is the final amount, P is the principal, r is the annual interest rate as a decimal, n is the number of compounding periods per year, and t is time in years. For continuous compounding, the formula is A = P × e^(r×t), where e is Euler's number (approximately 2.718).

More frequent compounding produces slightly higher returns, but the differences are smaller than most people expect. On $10,000 at 8% for 30 years: annual compounding yields $100,627; monthly compounding yields $109,357; daily compounding yields $110,516. The difference between monthly and daily is less than $1,200 over 30 years — meaningful but not transformative. The bigger levers are rate and time.

The Rule of 72 is a mental math shortcut: divide 72 by the annual interest rate to estimate the number of years it takes to double your money at that rate. At 6%, your money doubles in approximately 72/6 = 12 years. At 9%, it doubles in 8 years. The rule is a close approximation accurate within 1–2 years for rates between 3% and 15%.

Compound interest works against you as a borrower when interest accrues on growing balances. Credit card interest compounds daily on your unpaid balance. If you carry $5,000 at 22% APR, the daily rate is 22%/365 ≈ 0.06%. After one year of minimum payments (or no payments), the balance can grow to over $6,100. Paying only the minimum often results in interest far exceeding the original purchase price.

APR (Annual Percentage Rate) is the simple annual rate without accounting for compounding. APY (Annual Percentage Yield) includes the effect of compounding within the year. APY is always equal to or higher than APR. Banks advertise APY for savings accounts (to make returns look better) and APR for loans (to make costs look lower). Use APY when comparing savings accounts and APR when comparing loans.

The US stock market (S&P 500) has returned approximately 10% annualized nominally and 7% inflation-adjusted over the long run. This is a historical average — individual years vary widely, and past performance does not guarantee future results. For conservative planning, financial advisors often use 6–7% nominal. For bonds, 3–4% is a common long-term assumption. Use a range rather than a single number for meaningful projections.

Yes. 401(k)s, IRAs, Roth IRAs, and similar accounts all benefit from compounding growth on investments. Tax-advantaged accounts provide an additional compounding benefit: returns are not taxed annually in traditional accounts (deferred) or at all in Roth accounts (tax-free). The combination of tax-free or tax-deferred compounding and regular contributions is a primary reason long-term retirement investing is so powerful.

Related Calculators

Sources & References

  1. 1.Khan Academy — Compound Interest Basics(Accessed April 2026)
  2. 2.SEC Office of Investor Education — Compound Interest Calculator(Accessed April 2026)
  3. 3.Federal Reserve Bank of St. Louis — The Magic of Compound Interest(Accessed April 2026)
  4. 4.IRS — Retirement Topics — 401(k) Contribution Limits(Accessed April 2026)