Compound Interest Calculator — A = P(1+r/n)^(nt) Explained

Compound interest formula A = P(1+r/n)^(n·t) with yearly, monthly, and daily compounding. See future value, interest earned, and worked examples — free tool.

Inputs

USD
%

Where this formula comes from

Compound interest pays interest on prior interest. With nominal annual rate r (as a decimal), n compounding periods per year, and t years, each period multiplies the balance by (1 + r/n). After n·t periods: A = P(1 + r/n)^(n·t).

Holding r fixed, larger n (monthly or daily vs yearly) raises A slightly because interest is credited more often. Effective annual rate is (1 + r/n)^n − 1.

Interest earned on this page is A − P. Deposits, fees, and taxes are not modeled — use specialized tools when cash flows vary.

Common mistakes

How to use this calculator

Set principal, annual nominal rate, compounding frequency, and years. Future value follows A = P(1+r/n)^(n·t); interest earned is A − P. The form converts percent input to a decimal for the formula.

Holding the nominal rate fixed, monthly or daily compounding yields a slightly higher A than yearly compounding because interest posts more often. Effective annual rate (1+r/n)^n − 1 is the fair way to compare products with different n.

This model assumes a single deposit and no withdrawals, fees, or taxes. Recurring contributions need an annuity or investment-with-contributions tool; loan amortization is a different cash-flow shape.

Cross-check a yearly case with a hand calculator: P = 1000, r = 0.05, n = 1, t = 1 → A = 1050. Then switch n to 12 and confirm A rises only modestly — if it jumps wildly, the rate was left in percent form inside the exponent by mistake.

Nominal rates advertised with different compounding conventions are not comparable until you convert to effective annual rate. Always state n next to r when you quote a result from this page.

Inflation and taxes reduce real after-tax growth. The raw A on this page is a pre-tax, pre-inflation future value for a lump sum — useful for teaching the identity, incomplete as a full wealth plan.

Frequently asked questions

What is the compound interest formula?
A = P × (1 + r/n)^(n×t). P is principal, r is annual rate as a decimal, n is compounds per year, t is years.
Does compounding frequency matter?
Yes. Monthly (n=12) or daily (n=365) grows slightly faster than yearly (n=1) at the same nominal rate.
How is interest earned shown?
Interest earned = future value A − principal P. The primary result is A.
Is this the same as simple interest?
No. Simple interest is I = P×r×t with no compounding. Use the simple-interest calculator for that case.