inyourbrowser.com

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.

Final amount: 16,288.95. Total interest: 6,288.95.

Compound frequency

1 yr50 yrs

Formula: A = P(1 + r/n)^(nt), where P = principal, r = annual rate, n = compounds/year, t = years

Final amount after 10 years

16,288.95
Total interest earned
6,288.95
Principal
10,000.00
Annual rate
5%
Compounding
Annual

Calculations are estimates for informational purposes only. Consult a financial professional for advice.

YearBalanceInterest this year
110,500.00500.00
211,025.00525.00
311,576.25551.25
412,155.06578.81
512,762.82607.75
613,400.96638.14
714,071.00670.05
814,774.55703.55
915,513.28738.73
1016,288.95775.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.

Calculations are estimates for informational purposes only. Consult a financial professional for advice.

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. To compare this growth with an investment's actual return, try the ROI 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.
How do you calculate compound interest by hand?
Take 10,000 at 5% compounded monthly for 10 years. Divide the rate by 12 (0.05 / 12 = 0.0041667), add 1, raise it to the power 120 (12 x 10) to get about 1.647, and multiply by 10,000. The final balance is 16,470.09, so the interest earned is 6,470.09.
How do you solve the formula for time?
Rearrange A = P(1 + r/n)^(nt) to t = ln(A/P) / (n x ln(1 + r/n)). With annual compounding at 5%, money doubles in ln 2 / ln 1.05, about 14.2 years.
What does n stand for in the formula?
n is the number of times interest is added each year. The calculator offers annual (n = 1), quarterly (n = 4), monthly (n = 12) and daily (n = 365) compounding.

Last reviewed September 30, 2026

Other pages for this tool

Related tools

Mortgage calculator
Calculate monthly mortgage payments, total interest, and amortization schedule. Standard formula, runs in your browser.
Loan calculator
Calculate monthly payments and total interest for auto, personal, or student loans. Runs in your browser.
ROI calculator
Calculate return on investment and annualized ROI. For investments, marketing spend, or any cost-vs-gain analysis.
Salary calculator
Convert between hourly and annual pay, with weekly, bi-weekly, and monthly figures. Estimate take-home pay.