Skip to content
Investment Math
Investment Math

Currency and number style

Only changes how amounts look. There is no currency conversion.

How Long to Reach a Target Amount: formula, worked example and common mistakes

A start, a monthly saving and a typed return, run to the first month the balance meets the target. Free, no sign-up, nothing leaves your browser.

Updated

Three figures and a return

Reaching a target amount is a question of four numbers: what is there now, what goes in each month, what the return is, and where the line is drawn. The page reads them through the investment goal calculator’s own solver — the same effective yearly rate compounded monthly, the same payments at the end of each month — so the answer here agrees with that page to the month, on the same inputs, with no second solver behind it.

The calculator is at /tools/millionaire/. Type the target, the start, the monthly saving and the return, and it reports the years and months, the paid-in and growth split, the chart and the year-by-year table.

The mechanics

The solver walks the months and stops at the first one where the balance meets the target:

balance(n) = start × (1 + i)^n + monthly × ((1 + i)^n − 1) ÷ i
i          = (1 + r)^(1/12) − 1
months     = smallest n with balance(n) ≥ target

A worked example at the calculator’s defaults

Target 1,000,000, start 20,000, monthly 1,000, return 7% a year.

closed-form check: i = 1.07^(1/12) − 1 = 0.0056541454
n = ln((target + monthly/i) ÷ (start + monthly/i)) ÷ ln(1 + i) = 317.140204
so the first whole month that meets the target is 318 → 26.5 years
paid in = 20,000 + 318 × 1,000 = 338,000
value at month 318 = 1,005,718.94, of which 667,718.94 is growth

The closed form is the check, and the solver is the answer: both land on month 318, and the unit test pins the agreement to 1e-6 before reading the same inputs back through the value path to confirm the target is met.

Reading the split

The paid-in and growth rows are the honest anatomy of the answer: the saving is what you control monthly, the growth is what the return did with it. At the defaults the growth more than doubles the paid-in figure over 26.5 years, which is the compounding doing work the monthly figure alone cannot see.

What the page does not know

The typed return is held steady and compounded monthly, which markets are not, and the page says so in its notes rather than pretending otherwise. A target already met takes 0; no saving with a return at or below 0 never reaches the line, and the page reports that with a red flag. For the same solver reading the payment or the rate instead, see the investment goal calculator; for the compounding itself, see the compound interest calculator.

Frequently asked questions

How long does it take to reach a million at 7% a year?

From 20,000 saved and 1,000 a month, 26.5 years — 318 months. The solver is the investment goal page's own: an effective yearly return compounded monthly, payments at the end of each month, and the first whole month at which the balance meets the target. 338,000 is paid in over that time and 667,718.94 of the final balance is growth.

Why does the balance overshoot the target at the end?

Because the solver lands on the first whole month the balance meets the target, and the crossing happens between two months. At month 317 the balance holds 999,070.05; at month 318 it holds 1,005,718.94. The overshoot is less than one month's growth, and the notes on the page say the same.

How much does the monthly saving matter against the return?

Both appear, on different scales. The saving is linear: 1,000 a month over 318 months is 318,000 of the 338,000 paid in. The return compounds: at 7% it more than doubles the paid-in total by the end. Raise either and the months fall, and the page answers with the new inputs rather than an assumption.

What happens if the target is already met?

The page reports 0 and switches its wording: a start of 1,200,000 against a 1,000,000 target needs no time and no saving. The chart still draws, with the balance line above the flat target line from the first year on.

When is the target never reached?

When no monthly saving is typed and the return is at or below 0, with a start below the target: the balance then never moves toward the goal. The page reports it as a result with a red flag rather than an error, and the message names the two inputs that would change it.

This tool shows math, not advice.

Cite this page

Copy this line into a reference list, a report or a spreadsheet note.

Investment Math Calculator. “How Long to Reach a Target Amount”. Updated 2026-11-22. https://investmentmathcalculator.com/guides/millionaire-calculator/

Disclaimer: For education only. These calculators show arithmetic and hypothetical scenarios. They are not investment, tax or legal advice and do not recommend any security or product. Consult a licensed adviser in your country before acting.