The Standard Formula

A = P(1 + r/n)nt
A
Final amount (principal + interest)
P
Principal β€” your initial investment or deposit
r
Annual interest rate as a decimal (e.g. 6% β†’ 0.06)
n
Number of times interest compounds per year
t
Time in years

Compounding Frequency Values for n

Frequencyn valueInterest added every…
Annual112 months
Semi-annual26 months
Quarterly43 months
Monthly121 month
Daily3651 day
Continuous∞Every instant β†’ use A = Pert

Step-by-Step Worked Example

Scenario: You invest $10,000 at 6% annual interest, compounded monthly, for 10 years.

  1. Identify your variables: P = 10,000, r = 0.06, n = 12, t = 10

  2. Divide the rate by compounding periods: r/n = 0.06/12 = 0.005

  3. Add 1: 1 + 0.005 = 1.005

  4. Calculate the exponent: n Γ— t = 12 Γ— 10 = 120

  5. Raise to the power: 1.005^120 = 1.81940

  6. Multiply by principal: A = 10,000 Γ— 1.81940 = $18,193.97

Result

Final amount: $18,193.97 β€” Total interest earned: $8,193.97 (81.94% return on your original $10,000)

How Changing Each Variable Affects the Outcome

Starting with the same $10,000 over 10 years at 6% monthly:

ChangeFinal Amountvs Baseline
Baseline: $10k, 6%, 10 yrs$18,193.97β€”
Double principal ($20k)$36,387.93+$18,193
Rate up 2% (8%)$22,196.40+$4,002
Add 5 more years (15 yrs)$24,540.94+$6,347
Add 10 more years (20 yrs)$33,102.04+$14,908

Time has the most dramatic effect because the exponent nt grows it exponentially β€” this is why starting early is the single most powerful investment decision you can make.

The Continuous Compounding Formula

When interest compounds infinitely many times per second, the formula simplifies to:

A = Pert
e
Euler's number β‰ˆ 2.71828 (the base of natural logarithms)
P
Principal
r
Annual rate (decimal)
t
Time in years

Example: $10,000 at 6% for 10 years continuously compounded:
A = 10,000 Γ— e^(0.06 Γ— 10) = 10,000 Γ— e^0.6 = 10,000 Γ— 1.8221 = $18,221.19

Compare to monthly compounding ($18,193.97) β€” only $27.22 more. The real-world difference between daily and continuous compounding is negligible. See the full continuous compounding guide β†’

With Regular Monthly Contributions

When you add money every month (like to a savings account or 401k), the formula expands. First convert to an effective monthly rate m:

m = (1 + r/n)n/12 βˆ’ 1

Then the future value with monthly contribution PMT:

A = P(1+m)12t + PMT Γ— ((1+m)12t βˆ’ 1) / m

Our main calculator handles this automatically for all compounding frequencies.

Compound Interest Formula in Excel & Google Sheets

You can use the built-in FV (Future Value) function instead of manual formulas:

=FV(rate/periods, periods*years, -monthly_pmt, -principal)

Example: $10,000, 6% monthly for 10 years with $200/mo contributions:
=FV(0.06/12, 12*10, -200, -10000)

Try the Formula Yourself

Live Formula Calculator

Final Amount (A)β€”
Interest Earnedβ€”
Return %β€”
Open Full Calculator with Charts β†’

Frequently Asked Questions

Rearrange the formula: r = n Γ— ((A/P)^(1/nt) βˆ’ 1). For example, if $10,000 grew to $18,000 in 10 years with monthly compounding: r = 12 Γ— ((18000/10000)^(1/120) βˆ’ 1) β‰ˆ 5.88%.
Use logarithms: t = ln(A/P) / (n Γ— ln(1 + r/n)). Example: how long to double $10,000 at 6% monthly? t = ln(2) / (12 Γ— ln(1.005)) β‰ˆ 11.58 years. (The Rule of 72 gives a quick estimate: 72/6 = 12 years.)
APY (Annual Percentage Yield) is derived from the formula: APY = (1 + r/n)^n βˆ’ 1. A 6% rate compounded monthly gives APY = (1 + 0.06/12)^12 βˆ’ 1 = 6.168%. APY is what you actually earn in a year after accounting for compounding.
Yes β€” they're the same thing with different names. "Compound interest formula" is used in personal finance; "future value formula" is the finance/investment term. Both calculate how much a present sum grows over time at a given rate.

Related Resources