Home › Financial › Compound Interest Calculator

Compound Interest Calculator

$
%
years
Final Balance
Interest Earned
Effective Annual Rate (APY)

Updating live using the standard compound interest formula: A = P(1 + r/n)nt.

Show the math
Enter a principal, rate, and time to see the formula with your numbers.
Copied ✓
Show the math
Enter values to see the worked formula.

What your result means

How this calculator works

You enter four things: starting principal, the annual rate the account pays, how often interest is credited (annually, semi-annually, quarterly, monthly, or daily), and how long the money stays invested. The calculator plugs these into A = P(1 + r/n)nt on every keystroke. It assumes the rate is fixed for the entire period, no additional contributions, no withdrawals, and no taxes or fees taken out while the money compounds. To model regular contributions or tax-advantaged accounts, use the Investment or 401(k) calculators linked below. Full methodology →

What affects your result

A worked example

You deposit $10,000 in an account paying 7% annually, compounded monthly, and leave it alone for 30 years. Plugging into A = P(1 + r/n)nt: A = 10,000 × (1 + 0.07/12)12×30 = 10,000 × (1.00583)360$81,165. The interest portion — $71,165 — is more than seven times the original deposit. That is the entire case for starting early.

Quick questions

Does compounding frequency really change my final balance?

Yes, but less than most people expect. At 7% over 30 years, switching from annual to daily compounding on $10,000 raises the ending balance by roughly 2%. Rate and time dominate — frequency is a tiebreaker, not the main lever.

Should I account for inflation when projecting decades out?

The calculator shows a nominal balance. To see real purchasing power, subtract your inflation assumption from the rate before running the numbers. At 7% nominal and 3% inflation, enter 4% to see the real return. The Inflation Calculator can convert a future balance back to today's dollars directly.

How are compound earnings taxed while the money grows?

In a taxable brokerage account, interest and dividends are generally taxed each year, which shrinks the base that compounds. In a 401(k) or traditional IRA, growth is tax-deferred; in a Roth IRA, qualified withdrawals are tax-free. See IRS Topic 409 for the capital gains rules that apply when you eventually sell.

Why is my effective annual rate higher than the rate I entered?

The effective annual rate — APY — captures the boost from compounding more than once per year. At a 6% nominal rate compounded monthly, the effective rate is about 6.17%. When you're comparing savings accounts, always compare APY to APY, not stated rate to stated rate.

How do I model regular contributions on top of the starting amount?

This calculator is for a single lump-sum deposit, which keeps the formula clean and honest. For ongoing monthly or annual contributions, use the Investment Calculator or the Retirement Calculator.

Sources

Reviewed by the FriendlyCalc Math & Editorial Team.
Last methodology update: 2026-04 · Last reviewed: 2026-04 · Next review due: 2027-04

Method & review

MethodologyHow we calculate this Reviewed & Updated2026-04 Next review2027-04

Estimate only. Results reflect your inputs and standard formulas — they are not financial, tax, legal, health, or investment advice. Verify important decisions with a qualified professional.