Monthly Investment Needed Calculator

Tell this calculator what you want to end up with, what you already have, how long you have and what return you assume, and it solves the annuity equation backwards for the one unknown that matters: the contribution. It handles monthly, fortnightly, weekly, quarterly or annual deposits, contributions made at the start or the end of each period, and a starting balance that is already compounding. The sensitivity table underneath shows how much the answer moves when your return assumption is wrong by a point or three, which is usually the largest source of error in a plan like this.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Target amountThe balance you want on the goal date, in the same money terms as your return assumption.1000000 $
Amount already savedThe balance earmarked for this goal today; it compounds at the same assumed return.25000 $
Time to the goalHow long the money has to work, from today to the date you need it.25 years
Expected annual returnA nominal annual rate before tax and fees; subtract your fund costs before entering it.7 %
Contribution frequencyHow often you will actually pay money in; the annual rate is divided by this number.Monthly
Contributions are madePick the start of the period if your deposit goes in on payday, before that period's growth.At the end of each period

It returns

  • Required contribution per period — Pay this in every period and the balance lands exactly on the target.
  • Contribution per year
  • Total you will pay in
  • Growth from investment returns — Target minus your starting balance minus everything you pay in.
  • What today's balance grows to
  • Share of the goal from returns

The formula

PMT=(FVPV(1+i)n)i(1+i)n1
PMTbegin=PMTend1+i
Growth=FVPVnPMT

In plain text: PMT = (FV − PV(1 + i)^n) · i / ((1 + i)^n − 1)

  • PMTContribution required each period ($)
  • FVTarget balance on the goal date ($)
  • PVBalance already saved today ($)
  • iPeriodic return: annual rate ÷ periods per year (decimal)
  • nTotal number of contributions: years × periods per year (count)

This is the time-value-of-money annuity equation solved for the payment. When contributions are made at the start of each period (an annuity due) divide the result by (1 + i). When i is zero the annuity factor collapses to n and the payment is simply (FV − PV) ÷ n.

Updated Category Contributions, SIPs & Portfolio Rebalancing Verified against published test cases Reading time 12 min

What the required contribution really represents

Every savings plan is one equation with five quantities in it: a starting balance, a contribution, a return, a length of time, and an ending balance. Fix any four and the fifth is determined. Most calculators fix the contribution and report the ending balance. This one does the useful inversion — you fix the ending balance and it reports the contribution.

That inversion is what turns a wish into a budget line. "I want a million dollars" is not actionable; "$820 a month for 30 years at 7%" is, because you can compare it against what is left after your rent. It is also the number a financial planner solves for first, and it is the same calculation an accountant runs when funding a sinking fund to retire a bond issue or replace a roof.

Two components combine to hit the target. Money you already hold compounds on its own for the whole horizon and needs no help from you; that is reported as what today's balance grows to. Whatever gap remains is what the contributions must fill, and the annuity factor converts that gap into a per-period payment. Splitting the answer this way matters because the two components behave very differently: an existing balance benefits from the full run of compounding, while a contribution made in the final year barely compounds at all.

The annuity formula, and why it inverts cleanly

Work forwards first. A balance PV left alone for n periods at periodic rate i becomes PV(1 + i)n. A stream of equal payments PMT made at the end of each of those periods becomes PMT × [((1 + i)n − 1) ÷ i]. The bracketed term is the future-value annuity factor: it is simply the sum of the geometric series 1 + (1+i) + (1+i)² + … + (1+i)n−1, because the first payment compounds for n − 1 periods, the second for n − 2, and the last for none at all.

Add the two and set the sum equal to your target:

FV = PV(1+i)^n + PMT · ((1+i)^n − 1) / i

Because PMT appears linearly and only once, solving for it is a single rearrangement — no iteration, no root-finding. Subtract the compounded starting balance from the target to get the gap, then divide by the annuity factor.

Three details decide whether your answer matches your bank statement. First, the periodic rate is the annual rate divided by the number of contributions per year. That is the market convention for a nominal quoted rate, and it is what every mainstream planning tool uses; it is not the same as compounding the effective annual rate down, which would give a slightly smaller periodic figure. Second, timing: if you pay on the first of the month, every payment earns one extra period of growth, so the required amount falls by a factor of exactly (1 + i). Third, the zero-rate case: at i = 0 the annuity factor is undefined by the formula but has a perfectly good limit of n, so the payment becomes the gap spread evenly. The calculator handles that branch explicitly instead of dividing by zero.

Worked example: a million dollars in 30 years at 7%

You start with nothing, you have 30 years, and you assume a 7% nominal annual return with monthly contributions made at month end.

  1. Periodic rate. i = 7% ÷ 12 = 0.58333% = 0.00583333.
  2. Number of contributions. n = 30 × 12 = 360.
  3. Growth factor. (1.00583333)360 = 8.116498. A dollar paid in at the very start would have multiplied itself eight times over.
  4. Future value of the starting balance. $0 × 8.116498 = $0, so the contributions must supply the whole target.
  5. Annuity factor. (8.116498 − 1) ÷ 0.00583333 = 7.116498 ÷ 0.00583333 = 1,219.971. Each $1 per month becomes $1,219.97 by the end.
  6. Required contribution. $1,000,000 ÷ 1,219.971 = $819.69 per month.
  7. Total paid in. $819.69 × 360 = $295,088.
  8. Growth from returns. $1,000,000 − $0 − $295,088 = $704,912, which is 70.5% of the goal.

Now change one thing at a time to feel the sensitivities. Pay on the first of the month instead of the last and the payment falls to $819.69 ÷ 1.00583333 = $814.94 — worth about $4.75 a month for no extra money. Start with $25,000 already invested and that balance alone becomes $25,000 × 8.116498 = $202,912, cutting the gap to $797,088 and the payment to $797,088 ÷ 1,219.971 = $653.37. And cut the assumed return from 7% to 5% and the payment rises to $1,201.55 — a two-point change in an assumption you cannot control moves the budget line by 47%.

How to read the answer without fooling yourself

Read the sensitivity table before you read the headline. The contribution is exact given your inputs, but one of those inputs is a forecast of the next few decades, and the table shows what a one-, two- or three-point miss does to the plan. If the row three points below your assumption is still affordable, you have a plan. If only the optimistic row fits your budget, you have a hope, and the honest fix is a longer horizon or a smaller target rather than a bolder return assumption.

Read the share of the goal from returns second. Over 30 years at a normal equity assumption most of the target is supplied by compounding rather than by you, which is the argument for starting early. Over five years almost all of it comes out of your own pocket, which is the argument for using cash or short bonds rather than equities for a near-term goal — a portfolio that can fall 30% in a year has no business funding a house deposit you need in three.

Read the return assumption as nominal unless you deliberately made it real. If your target is "enough to live on", it is a real target and inflation will erode it, so either raise the target or enter a return net of inflation. The inflation-adjusted return calculator does that conversion properly rather than by simple subtraction. Subtract fund costs too: a 7% gross return in a fund charging 0.75% is a 6.25% assumption here, and the expense ratio drag calculator shows what that difference compounds into.

Finally, if the answer comes back negative, your existing savings alone already overshoot the target on the assumed return. The figure then tells you how much you could withdraw each period and still land on the goal.

Monthly contribution to reach $1,000,000 from a zero balance

Payments at the end of each month; the annual rate is divided by 12 to get the periodic rate. Scale linearly for other targets — a $250,000 goal needs a quarter of these amounts.
Years to goalAt 5%At 7%At 9%
20 years$2,433$1,920$1,497
25 years$1,679$1,234$892
30 years$1,202$820$546
35 years$880$555$340

Rounded to the nearest dollar. Read across for the cost of a wrong return assumption; read down for the value of starting five years earlier. Both levers are large across this grid, and only one of them is under your control.

Count the employer match before you count your own money

If part of this goal is funded through a workplace plan, the employer contribution is money you do not have to find. Work out the match first, subtract it from the required contribution here, and budget only the remainder from your own pay. The 401(k) employer match calculator converts a match formula into the dollar figure to subtract. Ignoring it is the most common way people overestimate what a goal will cost them.

Assumptions this calculation makes, and where they break

  • A constant return, applied evenly. Real markets deliver the same average through wildly different paths, and the path matters when you are also contributing. Two sequences with identical averages can end tens of thousands apart.
  • A level contribution. The payment never rises with your salary or with inflation. If you plan to increase it each year, a step-up schedule reaches the same target with a smaller starting amount.
  • No tax and no fees. Enter a return already net of fund costs, and remember that a taxable account loses part of its return to tax each year while a retirement account does not.
  • Contributions never stop. The formula assumes every one of the n payments is made. A two-year gap early in a 30-year plan costs far more than a two-year gap at the end.
  • The nominal-rate convention. Dividing the annual rate by the number of periods is standard, but it means a 7% quoted rate compounded monthly is an effective 7.229% a year. Do not also add that difference back somewhere else.
  • The target is a fixed number of dollars. If what you actually need is a level of spending, inflation makes the dollar target a moving one; solve in real terms instead.

Which of the five variables to solve for

Solving for the contribution is the right move when the date is fixed — a child starts university in a known year, a lease ends, a retirement date is set. When the date is negotiable and the contribution is not, invert the problem the other way and solve for time instead, which is what the investment goal timeline calculator does: given what you can genuinely afford, when do you arrive?

When the target itself is the uncertain quantity — as it is for retirement, where the number depends on your spending and your life expectancy rather than on a purchase price — size the target first with the retirement savings needed calculator, then bring that figure back here to convert it into a monthly amount. Working the other way round produces plans that are precise about the payment and vague about the point.

If you want to run the same fixed monthly plan forwards rather than backwards, the SIP calculator projects the maturity value of a set contribution, and the compound interest calculator handles a lump sum with no contributions at all. Once you start paying money in, the price you get on each purchase is governed by the arithmetic in the dollar-cost averaging calculator.

One structural point worth making. Because the annuity factor grows faster than linearly in n, each extra decade of horizon saves you far fewer dollars than the decade before it. For a $1,000,000 target at 7% from a zero balance, ten years needs $5,778 a month and twenty needs $1,920 — the first extra decade saves $3,858 a month. Thirty years needs $820 and forty needs $381, so the fourth decade saves $439. The proportional cut stays large; the dollar cut collapses to a ninth of what it was. That is why the early years of a plan are the expensive ones to skip, and it is visible in the table above without any exhortation.

Key terms

Annuity factor
The future value of $1 paid in every period for n periods at rate i, equal to ((1+i)ⁿ − 1) ÷ i. Dividing your funding gap by it gives the payment.
Annuity due
A stream of payments made at the beginning of each period rather than the end. Each payment earns one extra period of growth, so the required amount is smaller by a factor of (1 + i).
Sinking fund
A fund built by regular deposits to meet a known future obligation. The payment this calculator returns is what accountants call the sinking-fund payment, and the reciprocal of the annuity factor is the sinking-fund factor.
Nominal annual rate
A quoted yearly rate that is divided by the number of compounding periods to get the periodic rate. It is lower than the effective annual rate whenever compounding happens more than once a year.

Frequently asked questions

What return should I assume?

Use a rate you would defend to someone sceptical, net of fund fees, and then check the row two or three points lower in the sensitivity table. Long-run planning assumptions for a diversified equity-heavy portfolio commonly sit in the mid-to-high single digits in nominal terms; a bond-heavy or short-horizon portfolio warrants less. The point of the table is that you do not have to be right — you have to know what being wrong costs.

Should I pick the start or the end of the period?

Pick the start if your deposit is automated on payday or on the first of the month, and the end if it lands after that period's growth is credited. The difference is exactly one period of compounding, so the required payment is smaller by a factor of (1 + i) when you contribute at the start — about 0.6% less at a 7% annual rate contributed monthly. It is small, but it is free.

Why does the answer change so much when I adjust the return by one point?

Because the annuity factor depends on (1 + i) raised to the power of n, and n is large. Over 360 months a one-point change in the annual rate compounds into a large change in what each dollar becomes, so the payment needed to fill the same gap moves sharply. The longer the horizon, the more of your result is assumption rather than arithmetic — which is exactly why the sensitivity table exists.

Does this account for inflation?

Not unless you make it. The calculation is in nominal dollars: a $1,000,000 target is a million future dollars, which will buy less than a million buys today. To work in today's money, enter a real return — roughly your nominal assumption minus your inflation assumption — and read the target as today's purchasing power. Do not do both, or you will double-count.

What if I cannot afford the required contribution?

You have four levers and only three of them are honest: contribute more, allow more time, lower the target, or raise the assumed return. The last one changes the spreadsheet without changing reality. In practice, extending the horizon is usually the most powerful available lever early on, because the annuity factor rises faster than the number of periods does — the table shows five extra years cutting the payment by roughly a third at these rates.

Why is the answer negative?

Because the money you already have compounds past the target on its own. The calculator reports the payment that makes the equation balance exactly, and when the starting balance overshoots, that payment is a withdrawal rather than a deposit. Read the negative figure as the amount you could take out each period and still land on the target on the goal date, and check the "what today's balance grows to" output to see the overshoot directly.

Does contributing weekly instead of monthly help?

Slightly, and by less than people expect. Paying in a quarter of the amount four times as often gets a little more compounding time on average, but under the nominal-rate convention the periodic rate falls in proportion, so the annual total barely moves. Choose the frequency that matches your pay cycle and your discipline; the behavioural benefit of automation is worth far more than the arithmetic.

Can I use this for a sinking fund or a business reserve?

Yes — it is the same calculation. Enter the replacement cost or the debt to be retired as the target, any reserve already set aside as the starting balance, the date the obligation falls due as the horizon, and the rate you can safely earn on short-term deposits as the return. For obligations only a few years out, assume a conservative rate, because the money needs to be there on the date regardless of what markets do.

How does the total I pay in compare with what the market supplies?

That is exactly what the last two outputs show. Over a 30-year horizon at a mid-single-digit return, most of the final balance typically comes from growth rather than from contributions; over a five-year horizon, almost none does. Watching that share fall as you shorten the horizon is the clearest single argument for separating short-term savings from long-term investing.

References

  • Fundamentals of Corporate Finance, 13th ed. (time value of money and annuities) — McGraw-Hill Education
  • Principles of Corporate Finance, 13th ed. — McGraw-Hill Education
  • Investor.gov — Saving and InvestingU.S. Securities and Exchange Commission