Compound Interest: Formula, Examples & Calculator
Understand compound interest with the standard formula, simple examples, and practical ways to estimate how fast savings can grow.
Compound interest is one of the most powerful ideas in personal finance because it lets your money earn returns on past returns. Growth accelerates over time instead of increasing in a straight line. Once you understand how compounding works, you start to see it everywhere β in savings accounts, credit card statements, and retirement plans. To experiment with different rates and timelines, try the Compound Interest Calculator.
The Compound Interest Formula
The standard formula is:
A = P(1 + r/n)^(nt)
Where:
A= ending balanceP= starting principalr= annual interest rate (as a decimal)n= number of compounding periods per yeart= number of years
If compounding happens monthly, n = 12. If it happens daily, n = 365. More frequent compounding means slightly faster growth, though the difference between daily and monthly is smaller than most people expect.
Simple Example
Suppose you invest $10,000 at 6% annual interest compounded monthly for 10 years.
That gives:
P = 10,000r = 0.06n = 12t = 10
Using the formula:
A = 10,000 x (1 + 0.06/12)^(12 x 10)
The result is about $18,194. You earned $8,194 in interest on a $10,000 deposit β and more than half of that interest came in the second half of the decade. Each month, the account earns interest on a balance that is already larger than the month before.
Why Time Matters More Than Most People Think
Compounding gets stronger with time because growth builds on itself. Starting early is arguably more important than investing large amounts later.
Consider two people who each invest $5,000 per year at a 7% average annual return:
- Person A starts at age 25 and invests until age 65. Over 40 years, they contribute a total of
$200,000. By retirement, their account grows to roughly$1,068,000. - Person B starts at age 35 and invests until age 65. Over 30 years, they contribute a total of
$150,000. By retirement, their account grows to roughly$505,000.
Person A contributed only $50,000 more but ended up with over $560,000 more. That extra decade of compounding did the heavy lifting.
Adding Regular Contributions
Most people do not invest one lump sum and walk away. They add money monthly.
If you start with $5,000, add $300 per month, and earn 7% annually for 20 years, you will have contributed $77,000 out of pocket. But your ending balance will be approximately $178,000. The difference β over $100,000 β is pure compound growth. Recurring deposits change the result significantly. Plug in your own numbers with the Compound Interest Calculator.
Compound Interest vs. Simple Interest
Simple interest only pays interest on the original principal. Compound interest pays on the principal plus all previously earned interest.
Here is a quick comparison on $10,000 at 5% over 20 years:
- Simple interest: You earn
$500per year, every year. After 20 years, you have$20,000. - Compound interest (annual): After 20 years, you have about
$26,533.
That $6,533 gap is entirely due to earning interest on your interest. Over longer periods, the difference grows dramatically.
Compound Interest in Everyday Life
Compounding is not limited to investment accounts. It shows up in places that can either help or hurt your finances:
- Savings accounts and CDs: A high-yield savings account earning
4.5%APY compounds your balance daily. On$10,000, that is roughly$460in the first year β not life-changing, but it beats letting cash sit idle. - Credit card debt: This is compounding working against you. A
$5,000balance at22%APR, with only minimum payments, can take over 15 years to pay off and cost more than$7,000in interest alone. Interest compounds on your unpaid balance each month, which is why credit card debt feels so hard to escape. - Student loans: Federal student loans accrue interest daily. During deferment or forbearance, unpaid interest can capitalize β meaning it gets added to your principal β and then you pay interest on a larger amount. Understanding this can save graduates thousands of dollars.
The same force that builds wealth in a retirement account can dig a deeper hole when you are borrowing. Knowing which side of the equation you are on matters.
The Rule of 72: A Quick Estimation Tool
The Rule of 72 is a mental shortcut for estimating how long it takes your money to double:
72 / interest rate = approximate years to double
Here is a worked example. Say you have $15,000 in an index fund earning an average of 6% per year. Divide 72 by 6 and you get 12. Your $15,000 should grow to about $30,000 in roughly 12 years. After another 12 years it doubles again to $60,000. And 12 years after that, $120,000 β all from a single $15,000 investment, without adding a dime.
The rule also works in reverse. If inflation runs at 3%, your purchasing power is cut in half in about 24 years (72 / 3 = 24). That is why keeping all your savings in a zero-interest checking account has a real cost.
The Rule of 72 is not perfectly precise, but it is close enough for back-of-the-envelope planning.
Compounding Frequency: How Much Does It Really Matter?
People often wonder whether daily compounding is meaningfully better than monthly or annual compounding. The answer depends on the rate and the time horizon, but the differences are smaller than most expect for typical savings accounts.
Here is a comparison of $25,000 invested at 5% for 20 years under different compounding frequencies:
| Compounding Frequency | Ending Balance | Interest Earned |
|---|---|---|
| Annually (n=1) | $66,332 | $41,332 |
| Quarterly (n=4) | $67,121 | $42,121 |
| Monthly (n=12) | $67,298 | $42,298 |
| Daily (n=365) | $67,379 | $42,379 |
The jump from annual to quarterly compounding adds about $789. Going from quarterly to daily adds only another $258. The takeaway: compounding frequency matters most when the rate is high. At 5%, the difference between monthly and daily compounding is negligible. At 20% (credit card debt territory), daily compounding adds up much faster, which is one reason credit card balances spiral so quickly.
It is also worth noting that advertised rates can obscure this distinction. A savings account advertising a higher nominal rate with annual compounding may actually deliver less than an account with a slightly lower rate compounded daily. Always compare products using APY, which standardizes for compounding frequency and gives you the true return you will receive over a full year.
Additional Worked Example: The Cost of Waiting
Suppose three friends each plan to save for retirement. All earn 8% annually and contribute $400 per month.
-
Friend A starts at age 22 and stops contributing at age 32 (10 years of contributions, then lets it sit until age 62).
- Total contributed:
$48,000 - Balance at 62: approximately
$509,600
- Total contributed:
-
Friend B starts at age 32 and contributes until age 62 (30 years of contributions).
- Total contributed:
$144,000 - Balance at 62: approximately
$589,300
- Total contributed:
-
Friend C starts at age 42 and contributes until age 62 (20 years of contributions).
- Total contributed:
$96,000 - Balance at 62: approximately
$235,600
- Total contributed:
Friend A contributed one-third as much as Friend B but ended up with nearly as much money. Friend C contributed twice as much as Friend A and still ended up with less than half the balance. The extra decades of compounding did the heavy lifting for Friend A. These numbers make a compelling case for starting as early as possible, even if you can only contribute for a limited number of years. Use the Savings Calculator to model your own start date and contribution plan.
Misconceptions About Compound Interest
βCompound interest only matters for large amounts.β Even modest amounts benefit from compounding. A $50 monthly contribution at 7% for 30 years grows to about $56,700 β from just $18,000 in total deposits. The multiplier effect is the same regardless of the starting amount.
βAPR and APY are the same thing.β APR (Annual Percentage Rate) does not account for compounding within the year. APY (Annual Percentage Yield) does. A savings account advertising 4.80% APY with daily compounding actually has an APR of about 4.69%. When comparing financial products, always check which number is being quoted. Loan offers typically show APR, while savings accounts show APY, which makes loans look cheaper and savings look better than direct comparison would suggest.
βYou cannot lose money with compound interest.β Compound interest is a mathematical mechanism, not a guarantee of positive returns. If your investment loses 20% in year one, compounding works against you during recovery β you need a 25% gain just to get back to even, not 20%. Market volatility means that the smooth compounding curves you see in examples are averages, not year-by-year reality. However, over long periods (20+ years), broad market indices have historically trended upward despite short-term dips.
Related Calculators
- The High Yield Savings Calculator applies the compound interest formula to current savings account rates, letting you compare what a 4%+ APY account earns over months and years.
- The Retirement Calculator models the long-term compounding scenarios described in this guide β projecting both lump-sum and recurring contribution growth toward a retirement target.
- The Savings Goal Calculator inverts the compound interest formula: you provide the target balance and the deadline, and it calculates the required monthly contribution.
Related Reading
- Annuity vs Compound Interest: Key Differences explains how recurring deposits change the compounding equation.
- How to Read an Amortization Schedule shows compounding from the borrowerβs perspective, where interest works against you.
Use the Investment Calculator to model scenarios with different rates of return, or try the Compound Interest Calculator for quick projections.
The Key Takeaway
Compound interest turns steady saving into long-term momentum. Whether you are building a retirement nest egg or paying down high-interest debt, understanding compounding helps you make smarter decisions with your money. Run your own scenarios with the Compound Interest Calculator.
Frequently Asked Questions
What is the difference between APY and APR?
APR (Annual Percentage Rate) expresses the cost or return of a financial product as a simple annual rate, without accounting for the effect of compounding within the year. APY (Annual Percentage Yield) does account for compounding and therefore reflects the actual return you earn or the actual cost you pay over a full year. For example, an account with a 4.80% APR compounded daily has an APY of approximately 4.92%. Lenders typically advertise APR on loans β which makes borrowing costs look lower β while savings accounts advertise APY, which makes returns look higher. When comparing products, use APY for an apples-to-apples view of true annual returns.
How does compound interest work against you in debt?
When you carry a balance on a credit card or other revolving debt, the lender charges interest on your unpaid balance each billing cycle. If you do not pay that interest off, it gets added to your balance β and then next month you owe interest on interest. This is compound interest in reverse. A $5,000 credit card balance at 22% APR compounds monthly. If you only make minimum payments, you could spend over 15 years paying it off and hand the lender more than $7,000 in interest on top of the original $5,000. The higher the rate and the longer the balance lingers, the more dramatically compounding amplifies what you owe.
Is daily compounding significantly better than monthly?
For most savers at typical savings account rates, the difference between daily and monthly compounding is very small in absolute dollar terms. On $25,000 at 5% over 20 years, daily compounding produces about $81 more than monthly compounding β a rounding error in long-term planning. The distinction matters far more at high interest rates. On a credit card charging 22% APR, daily compounding noticeably accelerates how quickly the balance grows compared to monthly compounding. The practical takeaway is to focus on securing the best rate available rather than obsessing over compounding frequency, since a quarter-point improvement in rate will dwarf any benefit from more frequent compounding.
Sources
Daniel Agrici
NovaCalculator Editorial Team
Our writers combine mathematical expertise with clear writing to make calculations accessible to everyone. Content is peer-reviewed for accuracy against authoritative sources including NIST, WHO, and CFPB.
Try the Calculator
Compound Interest Calculator
Use the free tool to calculate instantly β no signup needed.