Compound interest calculator

Project savings with regular deposits and explicit compounding assumptions.

Up to 6 decimal places; this is not APR or APY.

Deposit timing
Assumptions & limits

0–100 years, in whole deposit periods. Rates −99% to 100%. Compounding and deposit frequencies may differ: equivalent growth applies between deposits, including fractional compounding periods. Daily means 365 periods/year. No withdrawals, taxes, or fees; returns are hypothetical.

Use one currency throughout; no exchange conversion. Amounts: 0–999,999,999.99, up to two decimals. Rates: up to six decimals. Results are limited to 999,999,999,999.99 in magnitude.

YOUR ANSWER

Projected savings

≈ $17,175.24

Projected balance
$17,175.24
Total contributed
$13,000.00
Interest / growth
$4,175.24
Number of deposits
120
Effective annual rate
5.1162%
Deposit timing
End of each period
How it’s calculatedCalculated on your device

j = (1 + annual rate / m)^(m / f) − 1; n = years × f. FV = P(1+j)^n + D × [(1+j)^n − 1] / j, with only the deposit term multiplied by (1+j) for beginning deposits. At zero rate, FV = P + Dn. m = compounds/year; f = deposits/year. Savings goal solves for D and rounds up to the smallest cent that reaches the target. No intermediate rounding.

Displayed values may be rounded. Calculations keep the underlying precision.

Rates −99% to 100%, up to six decimals; time 0–100 years in whole deposit periods. Compounding: annual, semiannual, quarterly, monthly, or 365 periods per year; deposits: annual, quarterly, or monthly. Between compounding boundaries, the model uses equivalent fractional-period growth, which may differ from a bank’s posting rules. Amounts up to 999,999,999.99 with two decimals. No intermediate rounding, withdrawals, taxes or fees; returns are hypothetical, not guaranteed. Result magnitude capped at 999,999,999,999.99.

The formula, made simple

Project a starting balance with regular deposits at a constant assumed nominal annual rate. Choose both compounding and deposit frequency, and whether deposits arrive at the start or end of each period.

Let m be compounds/year, f deposits/year, n = years × f, and j = (1 + annual rate / m)^(m/f) − 1. Future value = P(1+j)^n + D[(1+j)^n − 1]/j. Beginning deposits multiply the deposit term by (1+j). At zero rate, future value = P + Dn.

A worked example

Starting with 1,000 at 10% compounded annually, with an annual deposit of 100 for two years, gives 1,420 with end-of-year deposits or 1,441 with beginning-of-year deposits.

A few useful answers

Can I use a negative rate?

Yes, down to −99% nominal annually. This models a constant loss scenario. The displayed effective annual rate depends on the selected compounding frequency.

What happens at zero years?

There are no deposit periods and no interest. The final balance is the starting amount, even if beginning-of-period deposits are selected.

Back to calculator ↑