How to calculate compound interest — on your own and with the help of tools
Published: Oct 07, 2024
• Updated: Jun 25, 2026

In this article:
- Compound interest: what it is and why it matters
- How to calculate compound interest manually: the formula
- Example calculations
- APY vs. interest rate: which number should you use?
- How compound interest benefits savings and investments
- Tools for calculating compound interest
- Tips for maximizing compound interest
- A final word on compound interest
- FAQ: How to calculate compound interest
By Stash Team
Last updated: June 5, 2026
Compound interest is the interest you earn on your original balance plus the interest you have already earned. That means your money can grow faster over time than it would with simple interest, which is calculated only on the original principal.
If your goal is to be financially stable, understanding compound interest can help you compare savings products, estimate investment growth, and see how debt can become more expensive when interest compounds against you.
This guide explains how to calculate compound interest manually, how to use calculators and spreadsheets, and how compounding applies to a savings account, retirement account, investment account, or loan.
Compound interest: what it is and why it matters
Compound interest is interest calculated on both:
Your principal: the original amount saved, invested, or borrowed
Previously earned interest: the interest that has already been added to the balance
For savings and investing, compounding can work in your favor because earnings are reinvested and can generate additional earnings. For debt, compounding can work against you because interest charges may be added to your balance, causing the amount owed to grow.
The biggest factors that affect compound interest are:
Principal: how much you start with
Interest rate or return: the annual rate used in the calculation
Compounding frequency: how often interest is added, such as daily, monthly, quarterly, or annually
Time: how long the money stays saved, invested, or borrowed
Additional contributions or withdrawals: money added to or taken out of the account over time
Compounding is most powerful when it has more time to work. Starting earlier can help, but it is not the only factor. Saving consistently, comparing rates, keeping fees low, and reinvesting earnings can also make a meaningful difference.
How to calculate compound interest manually: the formula
The standard compound interest formula is:
A = P(1 + r/n)^(nt)
Where:
A = the ending balance, including interest
P = the principal, or starting amount
r = the annual interest rate as a decimal
n = the number of compounding periods per year
t = the number of years
To find the interest earned, use:
Compound interest = A - P
How to use the formula
Identify the variables. Find your starting amount, annual rate, compounding frequency, and time period.
Convert the rate to a decimal. For example, 5% becomes 0.05.
Divide the annual rate by the compounding frequency. If interest compounds monthly, divide by 12.
Multiply the compounding frequency by the number of years. For monthly compounding over three years, use 12 × 3 = 36.
Solve for A. Subtract your principal from A if you want to know only the interest earned.
Example calculations
The examples below show how the same formula applies to different situations. They illustrate the math, not a prediction of any specific account, security, or Stash portfolio.
Example 1: A fixed-rate savings illustration
Imagine you deposit $5,000 in a savings account with a fixed 5% annual interest rate, compounded monthly, for three years.
Variables:
P = $5,000
r = 0.05
n = 12
t = 3
Formula:
A = 5,000(1 + 0.05/12)^(12 × 3)
A = 5,000(1.004167)^36
A ≈ $5,808
After three years, the balance would be approximately $5,808. The compound interest earned would be about $808. Because the rate is fixed, this savings example is a straightforward compound interest calculation.
Example 2: A one-time investment
Now say you invest $10,000 at a 4% effective annual rate of return, compounded annually, for five years.
Variables:
P = $10,000
r = 0.04
n = 1
t = 5
Formula:
A = 10,000(1 + 0.04/1)^(1 × 5)
A = 10,000(1.04)^5
A ≈ $12,167
After five years, the balance would be approximately $12,167, including about $2,167 in compound growth.
This is a hypothetical illustration of how an investment could grow over time. It assumes a one-time investment of $10,000, a 5-year time horizon, no additional deposits or withdrawals, no dividend reinvestment, and a 4% effective annual rate of return. Actual results will vary due to market conditions, volatility, taxes, fees, and subscription costs. This projection is for informational purposes only and is not the actual performance of any client or Stash portfolio. All investments involve risk, including possible loss of principal.
Example 3: Investing with monthly contributions
Most people don't invest just once. Say you start with $1,000, add $100 every month, and assume a 5% effective annual rate of return over five years. With regular contributions, each deposit has its own time to compound, so a calculator or spreadsheet is the easiest way to estimate the result.
In this example, the balance after five years would be approximately $8,058. You would have contributed $7,000 ($1,000 to start, plus $6,000 in monthly deposits), and the remaining $1,058 would come from compound growth.
This is a hypothetical illustration of how an investment could grow over time. It assumes a starting investment of $1,000, a monthly contribution of $100, a 5-year time horizon, no withdrawals, no dividend reinvestment, and a 5% effective annual rate of return. Actual results will vary due to market conditions, volatility, taxes, fees, and subscription costs. This projection is for informational purposes only and is not the actual performance of any client or Stash portfolio. All investments involve risk, including possible loss of principal.
Daily vs. monthly vs. annual compounding
The more often interest compounds, the slightly higher the ending balance may be, assuming the same rate, starting balance, and time period. For example, $10,000 earning 5% for one year would grow to approximately:
$10,500.00 with annual compounding
$10,511.62 with monthly compounding
$10,512.67 with daily compounding
The difference may look small over one year, but it can become more noticeable over longer periods or with larger balances.
APY vs. interest rate: which number should you use?
For savings accounts, certificates of deposit, and similar bank products, you will often see APY, or annual percentage yield. APY already includes the effect of compounding for one year, which makes it useful for comparing accounts.
If an account lists APY, you usually do not need to manually adjust for compounding to compare it with another account’s APY. If you are using the compound interest formula, however, you may need the stated interest rate and the compounding frequency.
For loans and credit cards, you may see APR, or annual percentage rate. APR and APY are not the same thing, and lenders may calculate interest differently depending on the product and terms. Always check the account agreement or loan disclosures.
How compound interest benefits savings and investments
Compound interest can help savings and investments grow because earnings can generate additional earnings over time.
For savings accounts, money market accounts, and CDs, the compounding schedule is typically defined by the financial institution. These accounts may be insured if held at an eligible institution. As of 2026, the standard FDIC insurance limit is $250,000 per depositor, per insured bank, per ownership category. The NCUA provides comparable coverage for federally insured credit unions.
For investments, compounding can come from reinvested dividends, interest, and capital gains. Unlike insured bank deposits, investments can lose value. A projected return is only an estimate, not a guarantee.
Compound interest is also important when planning for retirement, building an emergency fund, or saving for future goals. The earlier your money is invested or saved, the more compounding periods it may have, but consistency and risk management matter too.
Tools for calculating compound interest
You can calculate compound interest by hand, but tools make it faster to test different scenarios.
Online calculators
Online compound interest calculators let you enter the starting balance, interest rate or return, compounding frequency, time period, and sometimes recurring contributions. Common options include:
Investor.gov compound interest calculator
Bankrate calculators
Calculator.net compound interest calculator
Financial institution savings and CD calculators
Before relying on any calculator, check whether it assumes annual, monthly, or daily compounding and whether it includes contributions, taxes, inflation, or fees.
Spreadsheets
Spreadsheets are helpful if you want to customize the assumptions. In Excel or Google Sheets, you can use the future value function:
=FV(rate, nper, pmt, pv)
For example, if you want to calculate the future value of $5,000 earning 5% annually, compounded monthly for three years, you could use:
=FV(0.05/12, 36, 0, -5000)
The negative sign before the present value reflects money paid into the account. Spreadsheet outputs may vary depending on how you enter cash flows.
Financial apps
Many financial apps and brokerage platforms include projection tools, retirement calculators, goal trackers, or investment planning features. Mint, once a common budgeting app, was discontinued in 2024, so current alternatives include tools from banks, brokerages, budgeting apps, and platforms such as Empower and Stash.
When using an app, remember that projections depend on the assumptions you enter. A calculator can show a possible outcome, but it cannot predict market returns or future interest rates.
Tips for maximizing compound interest
1. Start as soon as you can
More time gives compounding more opportunities to work. Even small amounts can add up when they are saved or invested consistently.
2. Contribute regularly
Recurring contributions can have a larger impact than the starting balance alone. Consider automating deposits if it fits your budget.
3. Reinvest earnings
Reinvesting interest, dividends, and other earnings allows those earnings to potentially generate more earnings in future periods.
4. Compare APYs and fees
For savings products, a higher APY can help your balance grow faster. For investments, fees and expense ratios can reduce returns over time, which can also reduce the benefit of compounding.
5. Keep risk in mind
Higher potential returns usually come with higher risk. Savings accounts and investments serve different purposes, so your emergency savings, short-term goals, and long-term investments may belong in different types of accounts.
A final word on compound interest
Compound interest is a practical concept that can help you estimate how money may grow or how debt may increase over time. Once you know the formula, you can calculate it manually, use an online calculator, or build a spreadsheet for your own goals.
Whether you are saving for a rainy day, securing your future, or investing for retirement, compound interest can help you understand the tradeoffs between time, rate of return, contributions, and risk.
FAQ: How to calculate compound interest
What is the easiest way to calculate compound interest?
The easiest way is to use the formula A = P(1 + r/n)^(nt) or an online compound interest calculator. Enter your starting amount, annual rate, compounding frequency, and time period to estimate the ending balance.
How do you calculate compound interest monthly?
For monthly compounding, use n = 12 in the formula. For example, $1,000 at 6% for two years would be 1,000(1 + 0.06/12)^(12 × 2).
How do you calculate compound interest with contributions?
The standard formula calculates growth on one starting amount. If you add money regularly, use a compound interest calculator with a contribution field or a spreadsheet future value function. Contributions change the result because each deposit has its own time to compound.
What is the difference between simple interest and compound interest?
Simple interest is calculated only on the original principal. Compound interest is calculated on the principal plus previously earned interest, which can lead to faster growth over time.
Is compound interest good or bad?
It depends on the situation. Compound interest can help savings and investments grow, but it can also make debt more expensive if unpaid interest is added to the balance.
Should I use APR or APY to calculate compound interest?
Use APY when comparing savings accounts because it already reflects compounding over one year. APR is more common for loans and credit cards, but it may not show the full effect of compounding or fees.
How often do savings accounts compound interest?
Many savings accounts compound daily or monthly, but the schedule varies by bank or credit union. Check the account disclosures for the exact compounding and crediting schedule.
Does compound interest guarantee investment growth?
No. Compound interest calculations can estimate growth, but investments can rise or fall in value. Market returns are not guaranteed, and fees, taxes, and inflation can affect the final outcome.
Related articles

investing
Jun 25, 2026
Should You Buy IPOs? 4 Myths About Hot New Listings

investing
Jun 18, 2026
Best Index Funds for Beginners and How to Pick One

investing
Jun 10, 2026
What Is an Index Fund? A Complete Beginner's Guide

investing
Jun 09, 2026
How to Start Investing: A Beginner’s Guide for 2026
investing
Jun 04, 2026
What Is Quantum Computing? An Investor’s 2026 Guide
investing
Jun 03, 2026
What Is an IPO? How It Works for Everyday Investors
By using this website you agree to our Terms of Use and Privacy Policy. To begin investing on Stash, you must be approved from an account verification perspective and open a brokerage account.
