Skip to content
CentExact

Saving & investing

Savings goal guide: the deposit formula and the time formula

How the annuity formula is solved for the monthly deposit or for the number of months, a $50,000 goal worked both ways, and which lever makes a goal easier.

Reviewed by CentExactCalculated in your browser. Shared links include inputs.

How the result is calculated

Both modes of the calculator rest on the same relationship between a starting balance, a stream of equal deposits and a future value, which is the annuity formula banks use for loan payments, run in reverse to build a balance instead of repay one. This guide solves it both ways, works the opening $50,000 goal through each, and explains why time is a stronger lever than the interest rate.

FVP × (1 + r)n + c × ((1 + r)n − 1) ÷ r

c(FV − P × (1 + r)n) × r ÷ ((1 + r)n − 1)

nln((c + FV × r) ÷ (c + P × r)) ÷ ln(1 + r)

FV
the target amount
P
the amount already saved
c
the monthly deposit
r
the monthly rate: the annual rate divided by 12
n
the number of months
Target amount, Already saved, Interest rate and Timeframe are the inputs in monthly-needed mode; in time-needed mode the deposit replaces the timeframe. Deposits land at the end of each month, after that month's interest is credited, the conservative convention.

The second line solves the first for the deposit; the third solves it for the number of months, which needs a logarithm. When the rate is 0% both simplify to plain division: deposit = (target − saved) ÷ months. Either way, the working with your own figures in it sits beside the result on the calculator page.

Worked example

Worked exampleThe calculator's opening figures: $50,000 in 5 years, with $5,000 saved, at 4%
ItemAmountHow it is obtained
Target, FV$50,000.00Target amount
Already saved, P$5,000.00Already saved
Monthly rate, r0.33333%4% ÷ 12
Months, n605 years × 12
Growth factor, (1 + r)n1.221001.003333360
What the $5,000 grows to$6,104.985,000 × 1.22100
Left for the deposits to cover$43,895.0250,000 − 6,104.98
Annuity factor, ((1 + r)n − 1) ÷ r66.2990.22100 ÷ 0.0033333
Monthly deposit needed$662.0843,895.02 ÷ 66.299

Over the five years you deposit 60 × 662.08 = $39,724.80; the rest of the $50,000 is the $5,000 you started with and about $5,275 of interest.

Try it with these figures

Worked exampleTime needed: the same target and savings, but $500 a month
ItemAmountHow it is obtained
Numerator666.67500 + 50,000 × 0.0033333
Denominator516.67500 + 5,000 × 0.0033333
Months, unrounded76.6ln(666.67 ÷ 516.67) ÷ ln(1.0033333)
Months to reach the goal77six years and five months, with $38,500 deposited and about $6,600 of interest

Try it with these figures

Reading the result

The headline is the number you asked for: a monthly deposit or a time. Underneath, Total deposits is what will leave your account, Interest earned is what the account adds, and Final balance is the sum plus what you started with.

The chart shows the balance curving gently upward toward the dashed target line. For short goals the curve is almost a straight line, because deposits dominate. For long goals it bends noticeably, and that bend is the interest doing its work.

The plan table beneath it shows each month's deposit, the interest credited and the balance, or, switched to By year, the same figures added up for each year. When the goal lands part-way through a year, the final year row is shorter and says how many months it holds.

What changes the result

Two ways to make the goal easier

Start with more. Money that is already saved earns interest for the whole period, so it is worth more than its face value against the target.

Give it more time. Because each deposit compounds for longer, stretching a five-year goal to seven cuts the monthly deposit from $662 to $448, a 32% reduction for a 40% longer wait.

TimeframeMonthly deposit needed for $50,000 with $5,000 saved at 4%
3 years$1,161.91
5 years$662.08
7 years$448.43
10 years$288.94

The rate is the weakest lever

Raising the interest rate helps too, but for goals under about five years it is the weakest lever. The five-year row above needs $705 a month at 0%; at 4%, $662. The difference is real, but a better rate will not rescue an unrealistic timeframe.

When the deposit lands

The formula assumes each deposit arrives at the end of the month, after that month's interest has been credited, so the first deposit earns interest for 59 of the 60 months and the last one earns none. Transferring on the first of the month instead gives every deposit one more month of growth, which over five years at 4% is worth about $2 a month on the required deposit: a small difference, and the end-of-month figure is the safer one to plan with. The time-needed mode rounds up to whole months for the same reason, because a goal reached in month 76.6 is not reached until month 77's deposit has landed.

What is not included

  • Inflation. The target is a fixed number of today's dollars. If you are saving for something whose price rises, a deposit on a home, a year of tuition, set the target to the price you expect when you buy, not today's price.
  • Tax on interest. Interest in an ordinary account may be taxed each year, which slightly lengthens the time or raises the deposit needed. Tax-sheltered accounts are unaffected.
  • Variable rates. The rate is held constant. Savings rates change with central-bank policy; recheck the plan when yours does.
  • Irregular deposits. The formula assumes the same amount every month. Lump sums such as a bonus should be treated as increases to Already saved.

Using the result

Set the monthly deposit up as an automatic transfer on payday so it happens before you can spend it. Revisit the calculator when your circumstances change, a rate change, a windfall, a shifted deadline, and let it recompute the plan. If the deposit it asks for is more than you can afford, the honest options are a smaller target or a longer timeframe, and the time-needed mode tells you exactly how much longer.

Questions and answers

Short answers to the questions people bring to this calculator, each with the figures to try and, where one exists, the official source to check.

Choose monthly-deposit mode, enter a 10,000 target, 4,000 already saved, two years and 0% interest. The gap is 6,000 over 24 months, so the required deposit is 250 a month. This is a useful baseline before adding interest. Only count the 4,000 if it is available for this goal, and increase the target separately if the purchase price may rise.

CentExactCalculator publisher

CentExact publishes the calculation method, worked examples and available data sources. Automated checks cover reference calculations; they do not certify a result for your circumstances or imply approval by a lender or tax authority.

How we build and test our calculators

This calculator is for general information only and is not financial advice. Results are estimates based on the figures you enter and the stated formula; lenders and providers may round or calculate differently. Check any decision with the institution involved or a qualified adviser.