Compound interest formula calculator
Calculate compound interest using the standard formula A = P(1 + r/n)^(nt), where P is the principal, r is the annual rate, n is the number of times interest compounds per year, and t is the time in years. This calculator shows your final balance, total interest earned, and a full year-by-year breakdown. All calculations run locally in your browser.
Compound frequency
Formula: A = P(1 + r/n)^(nt), where P = principal, r = annual rate, n = compounds/year, t = years
Calculations are estimates for informational purposes only. Consult a financial professional for advice.
| Year | Balance | Interest this year |
|---|---|---|
| 1 | 10,500.00 | 500.00 |
| 2 | 11,025.00 | 525.00 |
| 3 | 11,576.25 | 551.25 |
| 4 | 12,155.06 | 578.81 |
| 5 | 12,762.82 | 607.75 |
| 6 | 13,400.96 | 638.14 |
| 7 | 14,071.00 | 670.05 |
| 8 | 14,774.55 | 703.55 |
| 9 | 15,513.28 | 738.73 |
| 10 | 16,288.95 | 775.66 |
How it works
The compound interest formula is A = P(1 + r/n)^(nt), where 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 number of years. The year-by-year table recalculates each row using this formula with increasing t values. All arithmetic runs in JavaScript in your browser.
Processing runs in your browser
All calculations happen locally in your browser tab. Our servers are not involved at any point.
Related operations
For working out a quick percentage of a value, try the percentage calculator. To convert fractional rates into decimals, use the fraction calculator. For tipping or splitting bills based on totals, see the tip calculator.
Frequently asked questions
- What is the compound interest formula?
- A = P(1 + r/n)^(nt). P = principal (starting amount), r = annual interest rate (as a decimal), n = compounding frequency per year, t = time in years. A is the final balance including interest.
- What is the difference between compound and simple interest?
- Simple interest is calculated only on the principal. Compound interest is calculated on the principal plus any previously earned interest, so your interest earns interest. Over long periods, the difference is substantial.
- How does compounding frequency affect growth?
- The more frequently interest compounds, the faster your money grows. Daily compounding produces slightly more than monthly, which produces more than annual. The difference becomes more pronounced over longer periods and at higher rates.
- Is my data sent to a server?
- All calculations run locally in your browser using JavaScript. No data is sent to our servers.
Last reviewed May 26, 2026