Compound Interest Calculator

See how savings and investments grow over time. Add regular deposits, choose a compounding frequency, and read the year-by-year balance breakdown.

%
Deposit made at
%

Balance at the end

$107,730

Starting amount

$10,000

Total paid in

$55,000

Interest earned

$52,730

Where the final balance comes from

Starting amountYour depositsInterest earned

Results are estimates for planning only. Tax, fees, and changes in the interest rate are not included, so treat the figures as a guide rather than financial advice.

See What Time Does to Your Money

A deposit left alone starts earning interest on its own interest. Set a rate, a term, and what you pay in regularly, then see how much of the closing balance you contributed and how much the growth produced on its own.

Daily · Monthly · Quarterly · Yearly

Why Use This Compound Interest Calculator?

Regular Deposits Included

Model monthly, quarterly, or yearly payments on top of your opening balance, landing at the start or the end of each period.

Five Compounding Options

Compare daily through to yearly compounding on the same figures, and see how little the frequency actually changes the outcome.

Year-by-Year Breakdown

Open the table for the balance, total paid in, and interest earned at the end of every year, not just the final number.

Inflation-Adjusted View

Add an inflation rate to convert the closing balance into today’s buying power, a far more honest way to judge a long-term goal.

How this Compound Interest Calculator works

The engine steps through your investment one month at a time. Each month it applies a slice of whichever compounding schedule you picked, worked out as (1 + r/n) raised to the power of n divided by 12. With no deposits, that produces exactly the same answer as the standard A = P(1 + r/n)^(nt) formula, so a lump sum at 7% compounded daily gives the same number here as it does in a textbook.

Monthly stepping matters once regular deposits are involved. A quarterly deposit lands in months 3, 6, 9, and 12 rather than being smeared evenly across the year, and the start-of-period option gives every deposit one extra month of growth before interest is applied. That gap is barely visible in year one and clear by year twenty.

The year-by-year table is built while the simulation runs, so each row shows the real balance at that point instead of a figure worked backwards from the total. The bar under the headline splits the final balance three ways: what you started with, what you paid in, and what the interest produced. Watching that third band overtake the other two shows why time in the market matters more than any single deposit.

The inflation field divides the final balance by (1 + inflation)^years to show today's buying power. Tax and fees are not modelled, because both depend on your country and account type. For a rough allowance, subtract your yearly fee from the interest rate before entering it.

How to use this Compound Interest Calculator

1

Enter your amount and term

Type the starting amount, the annual interest rate you expect, and how many years the money stays invested.

2

Add your deposits

Set how much you pay in regularly, how often, and whether it lands at the start or end of each period.

3

Compare the results

Switch the compounding frequency and open the year-by-year table to see how much comes from deposits and how much from interest.

Example Usage

A long-term savings plan with regular deposits:

Input
Start: 10,000 · Rate: 7% · 15 years · 250 monthly · Compounded monthly
Output
Balance 107,730 — you paid in 55,000 and earned 52,730 in interest

Frequently Asked Questions

What is compound interest in plain terms?
It is interest that earns interest. In year one you earn interest on your deposit only. In year two you earn it on the deposit plus the interest already added. Left alone for long enough, the interest starts to outgrow what you put in, which is why the balance curve gets steeper the longer you hold.
What formula does the calculator use?
For a lump sum it is A = P(1 + r/n)^(nt), where P is your starting amount, r is the yearly rate as a decimal, n is how many times a year interest is added, and t is the number of years. Regular deposits are added month by month and then grown at the same rate, which is how a real savings account behaves.
How much difference does daily instead of annual compounding make?
Less than most people expect. On 10,000 at 7% for 15 years, annual compounding gives about 27,590 and daily gives about 28,570. The rate and the length of time matter far more than the frequency, so do not chase a daily-compounding account if the rate is lower.
Should I pick the start or the end of the period for deposits?
End of period is the safer default and matches most salary-funded saving, since the money arrives after the period begins. Choosing the start gives every deposit one extra period of growth, so the final figure is slightly higher. Pick the one that matches when your money actually lands.
Why is my total interest larger than everything I paid in?
That is compounding doing the work, and it usually happens somewhere between year 15 and year 25 at typical market rates. The tool shows the split as a bar so you can see the exact point where growth overtakes deposits.
What is a realistic interest rate to enter?
Savings accounts and certificates usually sit in the low single digits. A broad stock market index has historically averaged roughly 7% a year after inflation, though individual years swing widely. Run the numbers at a lower rate as well so you can see the downside, not just the best case.
What does the inflation field do?
It converts the final balance into today’s buying power. Enter the inflation rate you expect, and the tool divides the result accordingly. A balance of 100,000 in 20 years with 3% inflation is worth about 55,400 in today’s money, which is a more honest way to judge a long-term goal.
Does the calculator account for tax and fees?
No. It shows gross growth. Tax on interest, capital gains, and fund or platform fees all reduce the real outcome, and they vary by country and account type. A practical workaround is to subtract your expected annual fee from the rate before entering it.
Can I use this for a loan or credit card balance?
It shows how a debt would grow if you never paid anything toward it, which is a useful reality check on credit card interest. It does not model repayments, so use a dedicated loan or credit card calculator when you need a payment schedule.
Are my figures saved or sent anywhere?
No. Every calculation runs in your browser, nothing is uploaded, and nothing is stored between visits. You can enter real savings figures without them leaving your device.

Related Tools

The Compound Interest Calculator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

Comments

Questions, corrections, and useful tips are welcome. Comments are reviewed before publication.

Loading comments...

Comments are stored and moderated using Cusdis Cloud. Email is optional. Privacy Policy

As featured on

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge