Compound Interest Calculator

Results:

Enter principal, rate, and years.

This result is an estimate, not financial, tax, or lending advice.

Estimate the future value and interest earned when a balance compounds at a fixed annual rate. The result updates as you type. There is no Calculate button. Nothing is added or withdrawn during the term. A balance with monthly deposits is on the savings goal calculator. A worked example below uses $10,000 at 5% for 10 years, compounded monthly.

How to use this compound interest calculator

  1. Enter the principal. That is the starting balance, P. Decimals are allowed, such as 10000 or 10000.50.
  2. Enter the annual interest rate as a percent. Type 5 for 5%, not 0.05. A rate of 0 is allowed.
  3. Enter the years. A term of 2.5 years is allowed. The exponent uses that number as written.
  4. Choose compounds per year. Monthly is 12, and it is selected when the page loads. Annually is 1, quarterly is 4, and daily is 365.
  5. Read the result. It recalculates when any field changes. There is no Calculate button.
  6. Choose Clear to empty the three number fields, set compounding back to monthly, and restore the starting message.

The principal and the years must be numbers greater than zero. The rate must be a number greater than or equal to zero. If any number field is blank, the result stays on “Enter principal, rate, and years.” A value that is not a number, or a principal or term that is not greater than zero, or a negative rate shows “Enter valid positive values.”

The result line has two dollar amounts, each rounded to cents: future value and interest earned. Interest earned is the future value minus the principal.

The compound interest formula

For a positive annual rate, this page uses:

Future value = P × (1 + r/n)n×t

Interest earned = future value − P. The rate applied at each compounding step is r/n. An annual rate of 5% compounded monthly uses 0.05 / 12, which is 0.004166666666666667.

When the annual rate is 0, r is 0 and the future value is the principal. Interest earned is then zero. The compounding choice does not change a zero rate.

Display rounding happens after the formula. Each result is rounded to two decimal places from the full-precision number. Future value is not built by rounding the balance at the end of every compounding period and then continuing.

Worked example

Take $10,000 at 5% annual interest for 10 years, compounded monthly. Type 10000, 5, and 10, and leave compounds per year on Monthly (12). The result line reads:

Future value: $16470.09 | Interest earned: $6470.09

The steps behind that line:

  1. P = 10000.
  2. The annual rate 5% is the decimal 0.05. The rate per compounding period is 0.05 / 12 = 0.004166666666666667.
  3. n × t = 12 × 10 = 120 compounding periods.
  4. 1 + r/n = 1.0041666666666667.
  5. The growth factor is (1.0041666666666667)120 = 1.64700949769028.
  6. Future value = 10000 × 1.64700949769028 = 16470.0949769028, which rounds to $16470.09.
  7. Interest earned = 16470.0949769028 − 10000 = 6470.094976902801, which rounds to $6470.09.

The same principal, rate, and years compounded annually use n = 1. That result is Future value: $16288.95 | Interest earned: $6288.95. Monthly compounding finishes higher because the interest itself starts earning interest sooner.

Interest earned on the monthly example is the part of the future value that was not principal. Check the share on the percentage calculator with “X is what percent of Y?”.

Sample results

Each row is what this calculator prints for that principal, annual rate, years, and compounds per year. Dollar amounts have no thousands separator, matching the result line.

Principal Annual rate (%) Years Compounds per year Future value Interest earned
100005101216470.096470.09
100000101210000.000.00
10000510116288.956288.95
50006546734.281734.28
25004.533652861.32361.32

The zero-rate row stays at the principal. 10000 at 0% is a future value of $10000.00 and interest of $0.00. The daily row uses 365 compounds per year, so the exponent is 365 × 3 = 1095.

What this estimate leaves out

A fixed loan payment is a different formula. Use the loan calculator for principal and interest on money you borrow.

Compound interest calculator FAQ

How is compound interest calculated?
Future value is P × (1 + r/n) to the power of n × t when the rate is positive. P is the principal, r is the annual percent divided by 100, n is the number of compounds per year, and t is the years. Interest earned is the future value minus the principal. $10,000 at 5% for 10 years, compounded monthly, shows Future value: $16470.09 | Interest earned: $6470.09.

What does compounds per year mean?
It is how many times the balance earns interest each year. Annually is 1, quarterly is 4, monthly is 12, and daily is 365. The same annual rate produces a higher future value when it compounds more often.

What if the interest rate is zero?
The future value stays equal to the principal, and interest earned is $0.00. $10,000 at 0% for 10 years shows Future value: $10000.00 | Interest earned: $0.00.

Does this include deposits during the term?
No. The principal is the only money in the formula. A target that needs a monthly deposit is on the savings goal calculator.

Does daily compounding use 365 or 365.25 days?
This page uses 365 compounds per year. It does not use 365.25, and it does not look up the number of days in a particular year.

Why might a bank’s balance differ from this result?
A bank can use a different day count, credit interest on a different schedule, or round each compounding period to the cent before the next one. This page raises the full-precision factor to the full number of periods, then rounds the future value and the interest to cents.

Finance calculators

Financial note

This result is an estimate, not financial, tax, or lending advice. It is the future value of the principal at the annual rate, years, and compounding frequency you enter, with no deposits or withdrawals along the way.

By Gino Flores Updated