Ultra Calculator
    Finance

    Compound Interest Calculator

    Use A = P × (1 + r/n)^(n × t): divide the yearly rate by the number of times interest is added each year, add 1, raise it to the total number of periods and multiply by your starting amount. Regular deposits are added on top, each earning interest from the date it goes in.

    Last updated by Ultra Calculator

    Compound Interest

    How to calculate it

    A = P × (1 + r/n)^(n × t) + C × ((1 + i)^(p × t) − 1) ÷ i, where i = (1 + r/n)^(n/p) − 1
    A
    final balance
    P
    initial deposit
    r
    yearly interest rate as a decimal (7% = 0.07)
    n
    times interest is added per year (365, 12, 4 or 1)
    t
    number of years
    C
    regular contribution
    p
    contributions per year (12, 4 or 1)
    i
    interest rate per contribution period

    Each contribution is assumed to go in at the end of its period. At a 0% rate the contributions are simply added up. AER (APY in the US) = (1 + r/n)^n − 1. In the spreadsheet formula, B1 is the initial deposit, B2 the yearly rate, B3 the years, B4 the contribution, B5 the times interest is added per year and B6 the contributions per year.

    In Excel or Google Sheets: =-FV((1+B2/B5)^(B5/B6)-1,B6*B3,B4,B1)

    Worked example

    Saving 500 a month for 30 years

    A 10,000 starting deposit plus 500 a month at 7%, compounded monthly, grows to about 691,150. You pay in 190,000 and the other 501,150 or so is interest.

    You enter
    Initial Deposit$10,000.00
    Yearly Interest Rate7.00%
    Number of Years30 years
    Regular Contribution (Optional)$500.00
    How Often You ContributeMonthly
    Compounding FrequencyMonthly
    The calculator returns
    Final Balance$691,150.47
    Total Interest Earned$501,150.47
    Total Paid In (Deposit plus Contributions)$190,000.00
    AER (APY in the US)7.23%
    Growth on Money Paid In263.76%

    How to use this calculator

    1. Enter your Initial Deposit, or 0 if you are starting from nothing.
    2. Enter the Yearly Interest Rate. For a savings account, use the gross rate.
    3. Enter the Number of Years you plan to leave the money.
    4. Add a Regular Contribution if you will pay in more, and choose How Often You Contribute.
    5. Choose the Compounding Frequency your account uses, then read the Final Balance, Total Interest Earned and AER.

    Frequently asked questions

    How do I calculate compound interest?

    Divide the yearly rate by the number of times interest is added each year, add 1, raise the result to the total number of periods and multiply by your starting amount. For 1,000 at 5% added once a year for 3 years, that is 1,000 × 1.05^3 = 1,157.63. Regular contributions are worked out separately, because each one has a different length of time to earn interest.

    What is the difference between the interest rate and the AER?

    The gross rate is the yearly rate before compounding. The AER, called APY in the US, shows what you earn in a year once interest is added to the balance and starts earning interest itself. Where interest is paid once a year the two are the same; at 5% compounded monthly, the AER is about 5.12%.

    Does daily compounding make much difference?

    Not much. At 7%, compounding yearly gives an AER of 7%, monthly gives 7.23% and daily gives 7.25%, so moving from monthly to daily adds about 0.02 percentage points.

    How does compound interest work with monthly contributions?

    Each contribution is treated as a separate deposit that earns interest from the end of the month it is paid in. The calculator turns the yearly rate into a rate per contribution period, (1 + r/n)^(n/p) − 1, so your contributions compound on the same basis as your starting deposit.

    What interest rate should I use for investments?

    For a savings account, use the account's gross rate. Investment returns are not fixed and can be negative in some years, so try a cautious rate and a more hopeful one. Treat both results as estimates, not forecasts.

    Does the result include tax or inflation?

    No. The balance is before tax and charges, and it is not adjusted for inflation. In the UK, whether you pay tax on savings interest depends on how much you earn in interest, your other income and your allowances, and interest in an ISA is not usually taxed.

    Learn more

    Compound interest and simple interest

    Simple interest is paid on the original amount only, so 1,000 at 5% earns 50 every year. With compound interest, that 50 is added to the balance and the second year's interest is worked out on 1,050, which gives 52.50. The gap between the two grows every year the money stays put.

    AER and APY

    Banks quote a gross rate, but interest added monthly earns interest of its own. The AER (UK) and APY (US) restate the rate as if interest were added once a year, so accounts that compound differently can be compared directly. This calculator shows it as (1 + r/n)^n − 1.

    Why time matters

    Each year's growth builds on the last, so the balance rises faster towards the end. In the first example, a 10,000 deposit plus 500 a month for 30 years at 7% ends at about 691,150, and about 501,150 of that is interest rather than money paid in.

    • Checking what a savings account or cash ISA could be worth after a few years
    • Comparing a monthly savings plan with paying in a single lump sum
    • Seeing how much a higher rate or an extra 50 a month adds over 10 or 20 years
    • Estimating the growth of a pension or investment account at an assumed rate
    • Turning a gross rate into an AER to compare accounts that compound differently

    Entering the AER with monthly compounding

    If an account quotes 4% AER and you enter 4% with monthly compounding, the calculator compounds it again and overstates the interest. Enter the gross rate, or set compounding to yearly when you only know the AER.

    Treating an investment return as guaranteed

    A steady 7% a year is only an assumption: shares and funds rise and fall. Run a lower rate as well and plan around that result.

    Forgetting fees, tax and inflation

    The balance is before charges and tax, and it is in future money. To allow roughly for a yearly fee, take it off the rate (for example, 7% growth with a 1% fee becomes 6%).

    Paying in at the start of the month

    The calculator assumes each contribution arrives at the end of its period. If you pay in at the start, each payment has longer to grow, so at any rate above 0% your real balance would be a little higher than shown.

    • Compare savings accounts by their AER, not their gross rate.
    • If you only know the AER, enter it as the rate and set compounding to yearly.
    • Switch the compounding between yearly and daily to see how much the frequency changes the result.

    Methodology and sources

    The starting deposit grows at the yearly rate divided by the compounding frequency, for the number of periods in the term. Regular contributions are treated as payments at the end of each period, using a rate per period of (1 + r/n)^(n/p) − 1 so they compound on the same basis as the deposit. Both frequencies default to monthly if left blank. The AER is (1 + r/n)^n − 1, and growth on money paid in compares the final balance with everything you put in. The rate is assumed to stay fixed for the whole term, and the results ignore tax, fees, inflation and withdrawals. Treat the figures as estimates: savings rates change and investment returns are not guaranteed.