Investment time to goal calculator
The inverse of a future-value calculator. Instead of “given a rate and a time, what's the value?”, it answers “given a target, an initial investment, and an expected return, how long do I wait?” with explicit compounding convention, an honest inflation mode, and three structured outcomes instead of a NaN.
A time solve has real failure modes: a return at or below zero never reaches a higher target, and a return that doesn't beat inflation is unreachable in real terms. Those come back as a clear unreachable status, not a misleading number. If your initial already exceeds the target, you get already_reached.
Reachable. Solved in real terms (target is today's money).
Balance climbing toward the target line
Time to double, triple, 5× and 10× the initial
Bear, base, bull — 4% either side of 8%
Return × target multiple — years to reach each
| Return \ Multiple | 2× | 3× | 5× | 10× | 20× |
|---|---|---|---|---|---|
| 5.0% | 14.8y | 23.4y | 34.3y | 49.1y | 63.9y |
| 6.5% | 11.3y | 18.0y | 26.3y | 37.7y | 49.0y |
| 8.0%base | 9.2y | 14.6y | 21.4y | 30.7y | 39.9y |
| 9.5% | 7.8y | 12.4y | 18.1y | 25.9y | 33.7y |
| 11.0% | 6.8y | 10.7y | 15.7y | 22.5y | 29.2y |
The path, not just the endpoint
| Year | Opening | Growth | Fee drag | Closing | % of target |
|---|---|---|---|---|---|
| Y1 | $100,000 | +$7,800 | −$200 | $107,800 | 10% |
| Y2 | $107,800 | +$8,408 | −$232 | $116,208 | 11% |
| Y3 | $116,208 | +$9,064 | −$267 | $125,273 | 11% |
| Y4 | $125,273 | +$9,771 | −$306 | $135,044 | 12% |
| Y5 | $135,044 | +$10,533 | −$350 | $145,577 | 13% |
| Y6 | $145,577 | +$11,355 | −$400 | $156,932 | 13% |
| Y7 | $156,932 | +$12,241 | −$454 | $169,173 | 14% |
| Y8 | $169,173 | +$13,196 | −$515 | $182,369 | 14% |
| Y9 | $182,369 | +$14,225 | −$583 | $196,593 | 15% |
| Y10 | $196,593 | +$15,334 | −$658 | $211,928 | 16% |
| Y11 | $211,928 | +$16,530 | −$741 | $228,458 | 17% |
| Y12 | $228,458 | +$17,820 | −$833 | $246,278 | 17% |
| Y13 | $246,278 | +$19,210 | −$936 | $265,487 | 18% |
| Y14 | $265,487 | +$20,708 | −$1,049 | $286,195 | 19% |
| Y15 | $286,195 | +$22,323 | −$1,174 | $308,519 | 20% |
| Y16 | $308,519 | +$24,064 | −$1,313 | $332,583 | 21% |
| Y17 | $332,583 | +$25,941 | −$1,466 | $358,525 | 22% |
| Y18 | $358,525 | +$27,965 | −$1,635 | $386,489 | 23% |
| Y19 | $386,489 | +$30,146 | −$1,822 | $416,636 | 24% |
| Y20 | $416,636 | +$32,498 | −$2,028 | $449,133 | 25% |
| Y21 | $449,133 | +$35,032 | −$2,255 | $484,166 | 26% |
| Y22 | $484,166 | +$37,765 | −$2,506 | $521,931 | 27% |
| Y23 | $521,931 | +$40,711 | −$2,782 | $562,641 | 29% |
| Y24 | $562,641 | +$43,886 | −$3,086 | $606,527 | 30% |
| Y25 | $606,527 | +$47,309 | −$3,420 | $653,836 | 31% |
| Y26 | $653,836 | +$50,999 | −$3,789 | $704,836 | 33% |
| Y27 | $704,836 | +$54,977 | −$4,194 | $759,813 | 34% |
| Y28 | $759,813 | +$59,265 | −$4,639 | $819,078 | 36% |
| Y29 | $819,078 | +$63,888 | −$5,129 | $882,966 | 37% |
| Y30 | $882,966 | +$68,871 | −$5,667 | $951,838 | 39% |
| Y31 | $951,838 | +$74,243 | −$6,258 | $1,026,081 | 41% |
| Y32 | $1,026,081 | +$80,034 | −$6,907 | $1,106,115 | 43% |
| Y33 | $1,106,115 | +$86,277 | −$7,620 | $1,192,392 | 45% |
| Y34 | $1,192,392 | +$93,007 | −$8,402 | $1,285,399 | 47% |
| Y35 | $1,285,399 | +$100,261 | −$9,260 | $1,385,660 | 49% |
| Y36 | $1,385,660 | +$108,081 | −$10,201 | $1,493,741 | 52% |
| Y37 | $1,493,741 | +$116,512 | −$11,234 | $1,610,253 | 54% |
| Y38 | $1,610,253 | +$125,600 | −$12,365 | $1,735,853 | 56% |
| Y39 | $1,735,853 | +$135,397 | −$13,606 | $1,871,249 | 59% |
| Y40 | $1,871,249 | +$145,957 | −$14,965 | $2,017,207 | 62% |
| Y41 | $2,017,207 | +$157,342 | −$16,454 | $2,174,549 | 65% |
| Y42 | $2,174,549 | +$169,615 | −$18,085 | $2,344,164 | 68% |
| Y43 | $2,344,164 | +$182,845 | −$19,871 | $2,527,009 | 71% |
| Y44 | $2,527,009 | +$197,107 | −$21,826 | $2,724,115 | 74% |
| Y45 | $2,724,115 | +$212,481 | −$23,967 | $2,936,596 | 78% |
| Y46 | $2,936,596 | +$229,055 | −$26,309 | $3,165,651 | 81% |
| Y47 | $3,165,651 | +$246,921 | −$28,872 | $3,412,572 | 85% |
| Y48 | $3,412,572 | +$266,181 | −$31,676 | $3,678,752 | 89% |
| Y49 | $3,678,752 | +$286,943 | −$34,742 | $3,965,695 | 93% |
| Y50 | $3,965,695 | +$309,324 | −$38,095 | $4,275,019 | 98% |
| Y51 | $4,275,019 | +$333,451 | −$41,761 | $4,608,470 | 102% |
- target = 1 × millions = 1000000.00 USD
- initial = 100 × thousands = 100000.00 USD
- growthFactor = 1 + 7.80% = 1.078000 per year (after 0.2% fee)
- t = ln(1000000 / 100000) / ln(1.0780 / 1.0300) = 50.5522 yrs
- The smooth projection is not a forecast. Returns are assumptions; tax and fee handling is simplified.
The deterministic time solve, sensitivity matrix, and milestone table are reachable as stateless REST endpoints and MCP tools. The three statuses are returned as structured fields, never error codes. Premium ticker prefill and the historical backtest sit behind scoped API keys.
calculate_investment_time_to_goal · backtest_investment_time_to_goal