ThisCalculator

Everyday

Compound Interest Formula Calculator & How to Use It

Updated · Standard formula, shown below

Future value 1,647.01 $
Total interest
647.01 $
Result
Principal
1000 $
You entered
Annual interest rate
5 %
You entered

This compound interest calculator works out the future value of an investment or loan when interest is added to the principal at regular intervals. You enter the starting amount, the annual interest rate, the number of times interest is compounded per year, and the number of years; you get back the final balance and the total interest earned. The formula behind it is the standard compound interest equation used by banks and financial textbooks.

Formula

The compound interest formula is:

A = P × (1 + r/n)n×t

Where:

  • A = future value of the investment/loan, including interest (in dollars)
  • P = principal, the initial amount (in dollars)
  • r = annual nominal interest rate (as a decimal, so 5% becomes 0.05)
  • n = number of times interest is compounded per year (e.g., 12 for monthly, 1 for yearly)
  • t = time the money is invested or borrowed, in years

Notice that the rate r must be divided by n to get the rate per period, and the exponent n×t counts the total number of compounding periods. The calculator above expects the rate as a percent (e.g., 5 for 5%), so it divides by 100 internally.

Worked Example

Using the default values: P = $1,000, r = 5% (0.05 as a decimal), n = 12 (monthly), t = 10 years.

  1. Rate per period: r/n = 0.05/12 ≈ 0.0041667
  2. Total periods: n×t = 12×10 = 120
  3. Bracket: 1 + 0.0041667 = 1.0041667
  4. Raise to power: 1.0041667120 ≈ 1.647009
  5. Multiply by principal: 1000 × 1.647009 = $1,647.01 (rounded to cents)

So after 10 years, the balance is about $1,647.01, and the total interest earned is $647.01. This matches the calculator output exactly.

When to Use Compound Interest

Compound interest applies whenever interest is added to the balance and then itself earns interest in later periods. Common uses:

  • Savings accounts and certificates of deposit (CDs) that pay interest periodically.
  • Loans (credit cards, mortgages, student loans) where unpaid interest is added to the principal.
  • Investments that reinvest dividends or interest, such as mutual funds or retirement accounts.
  • Comparing offers: a loan with a lower nominal rate but more frequent compounding can cost more than one with a higher rate but annual compounding.

Use this formula when you want to know the exact future value given a fixed rate and fixed compounding schedule. For irregular contributions (like adding money each month), you would need a different formula that accounts for periodic deposits.

How to Read the Result

The future value A is the total amount you will have (or owe) after the full term. The total interest i is just A − P, showing how much of the final amount came from compounding rather than your original money.

Keep in mind that the result is the nominal future value—it does not account for inflation or taxes. If you want the real purchasing power, you would need to subtract expected inflation. Also, many financial products use a slightly different convention for the rate (e.g., annual percentage yield, APY) that already incorporates compounding, so the formula still works but you may need to convert.

Common Mistakes and Misconceptions

  • Using the rate as a whole number: 5% must be 0.05, not 5. The calculator handles this, but if you do it by hand, forgetting to divide by 100 is the most common error.
  • Mixing up nominal vs. effective rate: The nominal rate is the stated annual rate; the effective rate (APY) is higher when compounding is more frequent. This formula uses the nominal rate.
  • Rounding too early: If you round the rate per period to 0.004 instead of 0.0041667, the final result will be noticeably off after many periods.
  • Ignoring the compounding frequency: Monthly compounding yields more than annual compounding at the same nominal rate. For example, $1,000 at 5% for 10 years gives $1,628.89 with annual compounding, but $1,647.01 with monthly—a difference of about $18.
  • Forgetting that time is in years: If you enter months directly, the exponent will be wrong. Convert months to years (e.g., 6 months = 0.5 years).

Limits of the Formula

The formula assumes a constant interest rate and a fixed compounding schedule for the entire term. Real-world accounts often have variable rates, fees, or early withdrawal penalties. It also assumes that no additional deposits or withdrawals are made. For continuous compounding (where interest is added every instant), the formula becomes A = P × ert, which gives a slightly higher result—about $1,648.72 for the example above.

For loans, the formula gives the total amount owed if no payments are made. Most loans require periodic payments, so the actual interest paid is different and is calculated with amortization formulas. Similarly, for investments with regular contributions, you need the future value of an annuity formula.

Alternatives and Related Calculations

  • Simple interest: A = P(1 + rt). Interest is not reinvested; used for short-term loans or bonds.
  • Continuous compounding: A = P × ert. Used in theoretical finance and some options pricing.
  • Future value with contributions: For regular deposits, use the annuity formula: FV = PMT × [((1 + r/n)n×t − 1) / (r/n)] plus the initial principal.
  • Present value: To find how much you need now to reach a target, rearrange the formula: P = A / (1 + r/n)n×t.
  • Effective annual rate (APY): EAR = (1 + r/n)n − 1. This tells you the true yearly return.

Frequently Asked Questions

What is the difference between simple and compound interest?

Simple interest is calculated only on the original principal each year, so it grows linearly. Compound interest is calculated on the principal plus any previously earned interest, so it grows exponentially. Over long periods, compound interest produces significantly more growth.

How does compounding frequency affect the result?

The more frequently interest is compounded, the higher the future value, because interest earns interest sooner. For example, $1,000 at 5% for 10 years yields $1,628.89 with annual compounding, $1,645.31 with quarterly, and $1,647.01 with monthly. The difference narrows as frequency increases, and continuous compounding gives the theoretical maximum.

Can I use this formula for loans with monthly payments?

No. This formula assumes no payments are made during the term. For loans with regular payments, you need an amortization formula that accounts for each payment reducing the principal. The total interest paid will be much lower than what this formula suggests.

What is the rule of 72?

The rule of 72 is a quick mental shortcut: divide 72 by the annual interest rate (as a percentage) to estimate how many years it takes for money to double. For example, at 6% it takes about 12 years (72/6). It is an approximation and works best for rates between 4% and 15%.

How do I calculate compound interest with monthly deposits?

You need the future value of an annuity formula: FV = PMT × [((1 + r/n)n×t − 1) / (r/n)], where PMT is the monthly deposit. Add the future value of the initial principal separately. Many online calculators have a separate field for regular contributions.

Is the result affected by inflation?

The formula gives the nominal future value, not adjusted for inflation. To find the real value, you would divide the future value by (1 + inflation rate)t. For example, with 3% inflation over 10 years, $1,647.01 would have the purchasing power of about $1,225 in today’s dollars.

Related

Formula used
in p | Principal | $ | 1000 | 0
in r | Annual interest rate | % | 5 | 0
in n | Compounding periods per year | - | 12 | 1
in t | Time | years | 10 | 0
out a | Future value | $ | p * (1 + r/100/n)^(n*t) | 2
out i | Total interest | $ | a - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.