Formula Guide

    How to Calculate Compound Interest

    Compound interest is interest calculated on both the original principal and the accumulated interest from previous periods — interest earning interest. This compounding effect is what separates long-term investing from keeping money in a mattress. The longer the time horizon and the higher the compounding frequency, the more dramatically compound interest outpaces simple interest.

    Last updated: March 31, 2026

    The Formula

    A = P × (1 + r/n)^(n×t)
    Interest Earned = A − P
    For continuous compounding (the mathematical limit): A = P × e^(r×t), where e ≈ 2.71828.

    Variable Definitions

    SymbolNameDescription
    AFinal AmountThe total value at the end of the period, including principal and all interest
    PPrincipalThe initial amount invested or deposited
    rAnnual Interest RateThe yearly rate expressed as a decimal — e.g., 6% = 0.06
    nCompounding FrequencyHow many times per year interest is compounded: annually=1, semi-annually=2, quarterly=4, monthly=12, daily=365
    tTimeThe number of years the money is invested or borrowed for

    Step-by-Step Example

    You invest $8,000 at an annual interest rate of 5.5%, compounded quarterly, for 12 years. How much will the investment be worth?

    Given

    Principal (P):$8,000Annual rate (r):5.5% = 0.055Compounds per year (n):4 (quarterly)Years (t):12

    Solution

    1. 1
      Calculate the periodic rate (r ÷ n): 0.055 ÷ 4 = 0.01375
    2. 2
      Calculate the total number of compounding periods (n × t): 4 × 12 = 48 periods
    3. 3
      Calculate the growth factor (1 + r/n)^(n×t): (1.01375)^48 ≈ 1.9253
    4. 4
      Multiply principal by growth factor: 8,000 × 1.9253 = $15,402
    5. 5
      Calculate interest earned: $15,402 − $8,000 = $7,402

    After 12 years, the investment grows to $15,402. You earned $7,402 in interest — nearly as much as the original principal.

    Ready to calculate?

    Use the free Compound Interest Calculator — instant results, no sign-up.

    Open Calculator

    Common Mistakes to Avoid

    Using the full annual rate directly without dividing by n — monthly compounding requires dividing the annual rate by 12 before applying it.

    Confusing compound interest with simple interest — simple interest only applies the rate to the original principal: Interest = P × r × t.

    Forgetting that this formula does not account for regular contributions (deposits or withdrawals). For recurring contributions, the future value of an annuity formula is needed.

    Using a percentage (e.g., 6) instead of a decimal (0.06) for the rate variable.

    Frequently Asked Questions

    Related Guides