Compound Interest Calculator

Work out how a principal grows with compound interest at a chosen compounding frequency, with a year-by-year growth table showing exactly how the balance builds up.

runs locally on your browser. Your data never leaves your device.

Compounding Frequency

Final Amount

$1,628.89

$628.89 in interest on $1,000.00

$1,000.00Principal
$628.89Interest Earned
$1,628.89Final Amount

Growth Over Time

Year-by-Year Growth

YearStarting BalanceInterest EarnedEnding Balance
1$1,000.00$50.00$1,050.00
2$1,050.00$52.50$1,102.50
3$1,102.50$55.13$1,157.63
4$1,157.63$57.88$1,215.51
5$1,215.51$60.78$1,276.28
6$1,276.28$63.81$1,340.10
7$1,340.10$67.00$1,407.10
8$1,407.10$70.36$1,477.46
9$1,477.46$73.87$1,551.33
10$1,551.33$77.57$1,628.89

Common Use Cases

Project how a savings account, CD, or investment balance grows over a chosen term at a given rate
Compare how annual, monthly, and daily compounding affect the final amount for the same rate and term
See a year-by-year breakdown of principal versus accumulated interest for a long-term investment
Verify a compound-interest problem from a finance course or a loan/investment document

About Compound Interest Calculator

Compound interest is what makes long-term savings and investments grow faster than simple interest ever could, because each period's interest is calculated on the principal plus every bit of interest already earned, not just the original amount. This calculator takes a principal, an annual interest rate, a length of time in years, and a compounding frequency, and shows both the final amount and exactly how the balance builds up year by year.

The formula behind it is A = P × (1 + r/n)ⁿᵗ, where A is the final amount, P is the principal, r is the annual interest rate (as a decimal), n is the number of times interest compounds per year, and t is the time in years. Switching the compounding frequency between annually (n = 1), monthly (n = 12), and daily (n = 365) changes how often that interest gets folded back into the balance: the more frequently interest compounds, the faster the balance grows for the same nominal annual rate, since each compounding period's interest starts earning its own interest sooner.

Beyond the final total, this tool builds a full year-by-year growth table showing the starting balance, interest earned, and ending balance for every year of the term, so you can see exactly how much of the final amount came from the principal versus from compounding itself, useful for understanding why a long-term investment's growth curve bends upward over time rather than climbing in a straight line the way simple interest would.

Every figure and every row of the table updates live as you type or change the compounding frequency, with no "Calculate" button to press. Every calculation runs as plain JavaScript directly in your browser, so nothing you type is ever sent to a server, logged, or stored anywhere.

Frequently Asked Questions

What is the compound interest formula?
A = P × (1 + r/n)ⁿᵗ, 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 the time in years. This calculator takes the rate as a percentage and divides by 100 internally, so you can type a rate like 5 directly instead of 0.05.
How does compounding frequency affect the final amount?
The more often interest compounds, the larger the final amount for the same nominal annual rate, because interest starts earning its own interest sooner. Daily compounding produces a slightly larger final amount than monthly compounding, which in turn produces a larger amount than annual compounding, for identical principal, rate, and time.
How is the year-by-year growth table calculated?
Each row recomputes the balance at the start and end of that year using the same A = P × (1 + r/n)ⁿᵗ formula, evaluated at the elapsed time up to that point, then reports the difference as that year's interest earned. This is why the interest-earned column grows every year even though the rate never changes: later years compound on a larger balance.
How is compound interest different from simple interest?
Simple interest is always calculated on the original principal only, so it earns the same dollar amount every period. Compound interest recalculates each period's interest on the principal plus all interest already earned, so the growth accelerates over time. Use the Simple Interest Calculator instead if your scenario doesn't compound.
Can I use this for a loan instead of an investment?
Yes. The math is identical either way. "Principal" is whichever amount interest is calculated on, and the final amount is what would be owed (for a loan) or what the balance would grow to (for a deposit or investment), assuming interest compounds rather than being paid off along the way.
Is my financial data sent to a server?
No. Every calculation happens with plain JavaScript directly in your browser. Nothing you type is ever uploaded, logged, or stored anywhere.