terican

Last verified · v1.0

Calculator · finance

Compound Interest Calculator

Calculate how investments grow over time with compound interest. Enter principal, rate, time period, and compounding frequency to see total returns.

FreeInstantNo signupOpen source

Inputs

Future Value

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Future Value

The formula

How the
result is
computed.

How Compound Interest Works: The Complete Formula Explained

Compound interest represents one of the most powerful concepts in finance — the process by which interest earned on an investment is reinvested, generating additional interest over time. Unlike simple interest, which applies only to the original principal, compound interest applies to both the principal and all previously accumulated interest, creating exponential growth.

The Compound Interest Formula

The standard compound interest formula calculates the future value of an investment:

A = P(1 + r/n)nt

Each variable in the formula plays a specific role:

  • A — the final amount (principal + all accumulated interest)
  • P — the initial principal (the starting investment or deposit)
  • r — the annual interest rate expressed as a decimal (e.g., 5% = 0.05)
  • n — the compounding frequency per year (e.g., 12 for monthly, 4 for quarterly)
  • t — the time in years the money remains invested

Derivation and Mathematical Basis

The formula derives from applying simple interest iteratively across each compounding period. In a single period, an amount P grows by the factor (1 + r/n). Over n compounding periods per year and t years, there are nt total compounding periods. Multiplying the growth factor across all periods produces the exponential expression (1 + r/n)nt. As noted in the MIT OpenCourseWare calculus materials, when n approaches infinity, the formula converges to continuous compounding: A = Pert, where e is Euler's number (approximately 2.71828).

How Compounding Frequency Affects Growth

The frequency at which interest compounds significantly impacts the final return. Consider a $10,000 investment at 6% annual interest over 10 years:

  • Annually (n = 1): A = $10,000 × (1 + 0.06/1)10 = $17,908.48
  • Quarterly (n = 4): A = $10,000 × (1 + 0.06/4)40 = $18,140.18
  • Monthly (n = 12): A = $10,000 × (1 + 0.06/12)120 = $18,193.97
  • Daily (n = 365): A = $10,000 × (1 + 0.06/365)3650 = $18,220.29

Switching from annual to monthly compounding yields an extra $285.49 over the decade. According to the U.S. Securities and Exchange Commission's Investor.gov calculator, even small differences in compounding frequency add up substantially over longer time horizons.

The Rule of 72: A Quick Estimation Shortcut

The Rule of 72 offers a fast mental approximation: divide 72 by the annual interest rate to estimate how many years it takes for an investment to double. At 8% interest, an investment roughly doubles in 72 ÷ 8 = 9 years. At 6%, it takes approximately 72 ÷ 6 = 12 years. This rule works best for rates between 4% and 12%.

Real-World Applications

Compound interest drives a wide range of financial scenarios:

  • Retirement savings: A 25-year-old investing $500 per month at a 7% average annual return accumulates over $1.2 million by age 65, with the majority of that sum coming from compounded returns rather than contributions.
  • Savings accounts and CDs: Banks typically compound interest daily or monthly. A high-yield savings account at 4.5% APY compounded daily on a $25,000 balance generates approximately $1,148 in the first year.
  • Loans and debt: Compound interest also works against borrowers. A $20,000 credit card balance at 22% APR compounded daily grows to over $24,400 in just one year if no payments are made.
  • Education funds: Starting a 529 plan with $5,000 and adding $200 monthly at 6% growth produces roughly $82,000 over 18 years — more than double the $48,200 in total contributions.

Total Interest Earned

To isolate just the interest earned, subtract the original principal from the final amount:

Interest = A − P = P(1 + r/n)nt − P

This can be factored as Interest = P × [(1 + r/n)nt − 1]. For the $10,000 example at 6% compounded monthly over 10 years, total interest earned equals $18,193.97 − $10,000 = $8,193.97.

Methodology and Sources

The calculations in this compound interest calculator follow the standard compound interest formula as defined by the Investopedia compound interest reference and validated against the Investor.gov compound interest calculator maintained by the U.S. Securities and Exchange Commission. The mathematical foundations align with the University of Baltimore's Mathematics of Money analysis and University of Minnesota's Open Algebra curriculum. All calculations assume a fixed interest rate and do not account for taxes, fees, or inflation unless otherwise specified.

Reference

Frequently asked questions

What is compound interest and how does it differ from simple interest?
Compound interest calculates interest on both the original principal and all previously earned interest, creating exponential growth over time. Simple interest only applies to the initial principal. For example, $10,000 at 5% simple interest earns $500 every year regardless of time elapsed, totaling $15,000 after 10 years. With compound interest (compounded annually), the same investment grows to $16,288.95 — an extra $1,288.95 generated purely by earning interest on interest.
How often should interest be compounded to maximize returns?
More frequent compounding always produces higher returns. Daily compounding yields more than monthly, which yields more than quarterly, which yields more than annually. However, the differences diminish as frequency increases. For a $10,000 deposit at 6% over 10 years, switching from annual to monthly compounding adds about $285, while switching from monthly to daily adds only about $26 more. Most savings accounts compound daily, while many bonds compound semi-annually.
How do you calculate compound interest monthly?
To calculate monthly compound interest, set the compounding frequency (n) to 12 in the formula A = P(1 + r/n)^(nt). For example, to find the future value of $5,000 at 8% annual interest compounded monthly for 3 years: A = 5,000 × (1 + 0.08/12)^(12×3) = 5,000 × (1.00667)^36 = $6,349.18. The total interest earned is $1,349.18, which is $18.25 more than annual compounding would produce on the same investment.
What is the Rule of 72 and how accurate is it for estimating compound interest?
The Rule of 72 estimates how many years an investment needs to double in value: divide 72 by the annual interest rate. At 6%, money doubles in approximately 72 ÷ 6 = 12 years. The exact calculation shows doubling takes 11.9 years, making the rule remarkably accurate for rates between 4% and 12%. At very high or very low rates, the approximation loses precision. For a more accurate estimate at rates above 12%, the Rule of 69.3 provides better results.
How much will $10,000 grow with compound interest over 20 years?
The growth of $10,000 over 20 years depends heavily on the interest rate and compounding frequency. At 5% compounded monthly, $10,000 becomes $27,126.40. At 7% compounded monthly, it reaches $40,387.39. At 10% compounded monthly, the total climbs to $73,280.74. These figures illustrate why even a 2–3 percentage point difference in annual return rate dramatically changes long-term outcomes, with higher rates producing disproportionately larger final balances due to the exponential nature of compounding.
Does compound interest apply to loans and credit card debt?
Yes, compound interest works on debt just as it does on investments — but in the borrower's disadvantage. Credit cards typically compound interest daily on unpaid balances. A $5,000 credit card balance at 20% APR compounded daily accumulates approximately $1,105 in interest over one year if no payments are made, growing the balance to $6,105. Mortgages in the United States typically use simple interest on the remaining balance, while student loans may capitalize (compound) unpaid interest under certain conditions, such as after a deferment period ends.