Interest Calculator
Work out the compound interest and final balance on a fixed sum plus regular contributions, with optional tax on the interest and an inflation adjustment.
Example
This is a sample result, not your calculation. Enter your own values to replace it.
Enter your investment, contributions, interest rate and length, then press Calculate to see the ending balance.
Ending balance
Results
- Ending balance
- —
- Total principal
- —
- Total contributions
- —
- Total interest
- —
- Interest of initial investment
- —
- Interest of the contributions
- —
- Total tax paid
- —
- Buying power of the end balance after inflation adjustment
- —
- Initial investment — —
- Contributions — —
- Interest — —
Accumulation schedule
| YearMonth | Deposit | Interest | Ending balance |
|---|
The first period's deposit includes the initial investment. When interest compounds less often than monthly, the monthly rows show it as it accrues, so each year still totals the annual figure. Amounts are in US dollars (USD).
Check your entries
How to use this calculator
- Enter your initial investment — the lump sum the account starts with.
- Add an annual contribution, a monthly contribution, or both, and say whether you contribute at the beginning or the end of each compounding period.
- Set the interest rate and how often it compounds.
- Enter the investment length in years and months, a tax rate if the interest is taxable, and an inflation rate to see what the end balance will actually buy.
- Press Calculate to see the ending balance, what it is made of, and the accumulation schedule year by year or month by month.
A worked example
Invest $20,000, add $5,000 a year at the beginning of each period, at 5% compounded annually for 5 years. The ending balance is $54,535.20: $45,000 of principal — your $20,000 plus $25,000 of contributions — and $9,535.20 of interest. At 3% inflation, that balance has the buying power of $47,042.54 in today's money.
The first year shows the mechanism plainly. The $5,000 contribution goes in at the start, so interest is charged on the full $25,000 — that is $1,250, and the year closes at $26,250. In year two, interest is worked out on $31,250 and comes to $1,562.50. Each year the base is bigger, which is why the interest column climbs from $1,250 to $2,596.91 while the contribution never changes.
Where the interest comes from
The result splits interest into two lines because the two halves behave very differently. Your initial investment earns $5,525.63 — it compounds for all five years. Your contributions earn $4,009.56, even though they total $25,000, because each one only compounds from the day it arrives and the last one has barely any time at all.
Time is what flips this. Run the same plan for 20 years and the ending balance reaches $226,662.21: the initial investment's interest grows to $33,065.95, but the contributions' interest reaches $73,596.26 — more than double. A lump sum wins over short horizons; a habit wins over long ones.
What each field changes
- Contribution timing. Switching the example from beginning to end of period drops the ending balance to $53,153.79. The same money goes in; it simply spends less time invested.
- Compounding frequency. Monthly instead of annually raises the example to $54,776.32 — about $241 more over five years. More frequent compounding always earns more at the same nominal rate, but the gap is modest.
- Tax rate. A 22% rate ends the example at $52,259.47. Only $2,047.54 of the $2,275.73 difference is tax actually paid; the rest is the growth that tax would have gone on to earn.
- Inflation rate. It never changes the balance, only the buying-power line. It is the difference between a number that looks big and one you can spend.
Simple versus compound interest
Simple interest is charged on the original principal only, so it grows in a straight line: $10,000 at 5% earns exactly $500 every year, forever. Compound interest is charged on the balance, which includes the interest already earned, so it curves upward — and the longer the term, the wider the gap. Over a year or two the difference is small; over decades it is most of the result.
To work with a single lump sum and no contributions, the compound interest calculator is more direct, and the simple interest calculator covers the straight-line case.
Tips and limitations
- One steady rate. The projection holds the interest rate constant for the whole term. Real rates move, so revisit it as yours changes.
- Whole months. Terms are whole months, up to 100 years.
- Tax is a single flat rate. Real treatment depends on the account and your jurisdiction, and tax-advantaged accounts may owe nothing at all.
- Nominal unless you say otherwise. Every figure except the buying-power line is in future dollars, not today's.
- No fees or volatility. A steady rate is a reasonable model for a savings account or a bond, and a rough one for investments that rise and fall.
To project a savings habit with contributions that grow each year, see the savings calculator; to model longer-term investing, use the investment calculator. This is general educational information, not financial advice.
Frequently asked questions
How is compound interest calculated?
Interest is added to the balance each compounding period, and the next period’s interest is worked out on the larger balance — so the interest earns interest. Enter your initial investment, any contributions, the rate, how often it compounds and how long you invest, and the calculator reports the ending balance and how much of it is interest.
What does "contribute at the beginning or end" change?
Whether a contribution is in the account before that period’s interest is worked out. At the beginning it earns from day one; at the end it starts earning next period. On the example plan that is the difference between $54,535.20 and $53,153.79 — the same $45,000 paid in either way, with $1,381.41 of interest riding on the timing alone.
What is the difference between total principal and total contributions?
Total contributions is everything you paid in over the term. Total principal is that plus the initial investment — all the money that came from you rather than from interest. Ending balance is always total principal plus total interest, exactly.
Why is the interest split into two lines?
Because the two halves behave very differently. The initial investment compounds for the whole term, while each contribution only compounds from the day it arrives. On the example plan the $20,000 lump sum earns $5,525.63 while $25,000 of contributions earns $4,009.56 — more money in, less interest out. Stretch the same plan to 20 years and the contributions overtake it.
How does the tax rate work?
Tax is charged on interest as it is earned, so what gets credited each period is the after-tax amount. That compounds too: at 22% the example plan ends at $52,259.47 rather than $54,535.20, of which $2,047.54 is tax paid and the rest is the growth that tax would have earned. Leave the field blank for a tax-free account.
What does the buying-power figure mean?
Inflation does not touch your balance — it changes what the balance will buy. At 3% inflation the example plan’s $54,535.20 has the purchasing power of $47,042.54 in today’s money. It is the honest way to read a long projection: the number grows, but so do prices.
Which compounding frequency should I choose?
Match whatever the account actually does — savings accounts typically compound daily or monthly, while bonds and CDs often compound semiannually or annually. More frequent compounding earns a little more at the same nominal rate: on the example plan, monthly instead of annually adds about $241 over five years.
Related calculators
- Mortgage Calculator Estimate your monthly mortgage payment including principal, interest, property tax, insurance and PMI, and a year-by-year amortization schedule.
- Loan Calculator Calculate the monthly payment, total interest and payoff timeline for any fixed-rate loan.
- Auto Loan Calculator Work out car payments including down payment, trade-in, sales tax and fees.
- Amortization Calculator See how each payment splits between principal and interest across the life of a loan.
- Compound Interest Calculator Convert an interest rate between compounding periods — APR to APY and back — so two quotes can be compared on equal terms.
- Simple Interest Calculator Calculate simple interest and the end balance, or solve back for the principal, term or rate — with the working shown.
About this calculator
Method reviewed for accuracy on August 27, 2026
Built on transparent, unit-tested formulas that run entirely in your browser — see how we build our calculators.
Embed this calculator on your site — free
Add this free, mobile-friendly Interest Calculator to your own website. Paste the code where you want it to appear — it stays up to date automatically, and the frame resizes to fit.
Please keep the attribution link — it's what keeps these tools free to use and embed.