Mastodon
All tools

Time in the Market Calculator

Can you beat the market by timing your investments perfectly? Compare three strategies using real S&P 500 data going back to 1980.

Learn how this calculator works

Share this result set

Every input you change updates the URL. Copy the link to send your exact scenario to a partner, accountant or friend.

Investment settings

£200
$
4%
%

Interest earned by the timers while they wait to invest.

£5,000
$

Click anywhere on the S&P 500 chart to see what this amount would be worth today.

Consistent Investor invests the same amount on the 1st of every month, no matter what.

Perfect Timer saves in cash and waits, then invests everything at the exact bottom of each major crash.

Worst Timer saves in cash and waits, then invests everything at the exact peak before each major crash.

What happens to my data?

All calculations run in your browser. Nothing is sent to our servers. Copy the link to share.

Consistent Investor (buy and hold)

$1,510,184

Total invested

$111,200

Perfect Timer

$1,487,054

Worst Timer

$891,967

Returns

StrategyTotalCAGRAARIRR
Consistent1258%5.7%10.2%8.5%
Perfect1237%5.7%10.2%8.5%
Worst702%4.5%10.2%7.0%

Total = overall profit %. CAGR = (final/invested) smoothed annually. AAR = average of yearly S&P 500 returns. IRR = true annualised return accounting for contribution timing. Learn more

Click anywhere on the S&P 500 chart to see what $5,000 invested on that date would be worth today.

Key insight: The Consistent Investor, who simply invested every month without thinking, actually beat the Perfect Timer by $23,130. Time in the market beats timing the market.

S&P 500 price with buy points

Click anywhere on the chart to see what a lump sum invested on that date would be worth today.

0$2k$3k$5k$7kBlack MondayGulf WarDot-com crash2008 crisisCovid crash2022 rate hikes198019902000201020202026
S&P 500 Perfect Timer buys Worst Timer buys

Portfolio value over time

0$383k$765k$1.1m$1.5m198019902000201020202026
Perfect Timer Consistent Investor Worst Timer

Year-by-year breakdown

Year Invested Perfect Consistent Worst
1980$2,400$2,453$2,804$2,453
1981$4,800$5,005$4,816$5,005
1982$7,200$7,662$8,379$7,662
1983$9,600$10,427$12,334$10,427
1984$12,000$13,304$15,011$13,304
1985$14,400$16,299$21,704$16,299
1986$16,800$19,415$27,351$19,415
1987$19,200$25,003$30,000$16,627
1988$21,600$30,556$36,231$21,075
1989$24,000$40,767$48,768$28,507
1990$26,400$41,878$47,931$28,810
1991$28,800$55,258$63,218$38,617
1992$31,200$60,166$68,552$42,780
1993$33,600$66,701$75,867$48,069
1994$36,000$68,583$77,098$50,275
1995$38,400$91,156$106,185$66,389
1996$40,800$109,847$130,373$79,942
1997$43,200$141,833$173,522$102,447
1998$45,600$177,604$222,558$127,532
1999$48,000$211,149$268,705$151,171
2000$50,400$195,975$243,666$137,493
2001$52,800$178,028$214,193$122,326
2002$55,200$152,828$166,266$97,392
2003$57,600$195,508$212,936$123,978
2004$60,000$215,402$234,660$137,102
2005$62,400$224,378$244,186$143,804
2006$64,800$256,615$280,048$164,359
2007$67,200$268,184$292,322$171,255
2008$69,600$173,295$181,589$107,970
2009$72,000$223,998$227,092$135,190
2010$74,400$254,924$258,798$154,450
2011$76,800$257,547$261,166$157,228
2012$79,200$293,873$298,670$179,741
2013$81,600$380,833$389,820$231,878
2014$84,000$425,745$436,803$259,513
2015$86,400$425,851$436,015$261,038
2016$88,800$467,891$480,163$287,113
2017$91,200$557,857$576,049$341,239
2018$93,600$528,111$542,305$325,517
2019$96,000$675,964$701,618$413,582
2020$98,400$805,917$818,550$481,578
2021$100,800$1,024,685$1,041,412$613,076
2022$103,200$829,371$841,157$496,271
2023$105,600$1,032,703$1,047,672$618,520
2024$108,000$1,275,317$1,294,521$764,222
2025$110,400$1,486,096$1,509,337$890,998
2026$111,200$1,487,054$1,510,184$891,967

Time in the market vs timing the market

"It's time in the market, not timing the market" is the most repeated line in personal finance for a reason: it is directionally correct, and the data backs it up. The single biggest drag on retail investor returns is missing the best days because the investor was waiting for a dip, or panic-sold during a downturn and failed to get back in.

The classic JPMorgan / Putnam analysis covers a 20-year window: $10,000 invested in the S&P 500 from 2003 to 2022 grew to roughly $65,000 if held throughout. Miss the 10 best days and the same starting capital ends at around $30,000. Miss the 30 best days and you're down at about $13,000. Roughly half the long-run return concentrates in a tiny number of trading days, and those days are impossible to identify in advance.

The best days hide inside the worst weeks

The reason "stay invested" wins so emphatically is that the best days and the worst days cluster together. The largest single-day rebounds historically happen inside bear markets, often within days of the largest drops. March 2020 produced one of the worst weeks on record and three of the best single days of the decade, all in the same fortnight. An investor who sold on the way down and waited "until things calm down" almost certainly missed the rebound and locked in the loss.

The same dynamic shows up on the FTSE 100 and on global trackers like global equity ISA portfolios. It is not a US quirk; it is a feature of how risk assets recover.

Why timing is a losing game

Market timing requires being right twice. You have to sell at roughly the right moment, then buy back at roughly the right moment. Almost nobody manages both consistently, and the cost of being wrong on either leg is significant. Over 10 years or more, around 80% of actively managed US equity funds fail to beat their index. These are professionals with research teams, real-time data, and full-time attention on the problem. A part-time retail investor reading market commentary on the bus has a worse, not better, starting position.

There is a deeper behavioural issue too. "Waiting for a dip" feels prudent, but the cost of sitting in cash while equities drift upwards typically dwarfs the saving you'd get from buying a 10% dip a year later. The lump sum vs drip-feed calculator shows the same effect from the opposite angle: getting invested sooner usually wins.

A worked UK example

Consider £10,000 dropped into a UK global tracker 20 years ago, held through the 2008 financial crisis, the 2020 Covid crash, and the 2022 rate-shock drawdown. End value lands at around £37,000, which is roughly 6.5% real annualised. The same £10,000, but with the investor selling every time a downturn looked serious and re-entering only after recovery felt confirmed, typically ends at £22,000 to £25,000. The "safe" behaviour costs roughly a third of the long-run outcome. Run the numbers on the compound interest calculator to see how brutal small drags compound over decades.

ISAs and pensions amplify the effect

UK wrappers make time-in-the-market more powerful, not less. A Stocks & Shares ISA shelters gains from CGT and dividend tax, so the compounding base each year is the full pre-tax return. Selling out and re-entering does not reset the wrapper itself, but it does break the compounding chain and exposes you to spread costs and timing risk every round trip.

Pensions amplify the effect further. A SIPP or workplace pension is typically held for 20 to 40 years, which is the window where compounding does its real work. Use the FI number calculator to see how much of the final pot is contributions vs growth: for anyone investing consistently from their 20s or 30s, growth is the larger share by a wide margin, and almost all of that growth depends on not interrupting the run.

The honest counterpoint

Time-in-the-market wisdom assumes equity markets continue to deliver positive long-run real returns. That has been true historically but is not guaranteed for any specific 20-year window. Japan's equity market took roughly three decades to recover its 1989 peak in nominal terms. A globally diversified portfolio reduces but does not eliminate this risk.

Sequence-of-returns risk in retirement is a genuinely different problem to staying invested during accumulation. A 30% drawdown in your first two years of drawdown can permanently impair the portfolio's ability to fund a long retirement, which is why the standard advice flips to "hold a cash buffer and avoid selling equities into a crash" once you stop earning. The "stay invested" mantra applies most cleanly to the accumulation phase, where you're a net buyer and a downturn is a discount.

The opinion frame is straightforward. The "time in the market" line gets used as a cudgel against any defensive behaviour, including some that is genuinely sensible (holding a cash buffer near retirement, derisking a deposit you need in three years). The honest framing is narrower: historically, staying invested as the default has produced better outcomes than reactive selling, while accepting that bear markets happen and feel awful. Genuine reasons to deviate (the money is needed inside five years, circumstances changed) are different from feelings (rates went up, the news looks bad). This is information, not personal advice; speak to an FCA-authorised adviser for guidance on your own situation.

Frequently asked questions

What does "time in the market beats timing the market" actually mean?
It means that long-run investment returns are dominated by how long you stay invested, not by how cleverly you pick entry and exit points. Roughly half the long-run return of major equity indices comes from a tiny number of trading days, which tend to cluster inside the worst weeks. Missing those days, which is what timing the market typically produces, destroys most of the return.
How much does missing the best days actually cost?
Over the 20 years from 2003 to 2022, $10,000 invested in the S&P 500 grew to roughly $65,000 if held throughout. Missing only the 10 best trading days drops the end value to about $30,000. Missing the 30 best days drops it to roughly $13,000. The exact figures are slightly different for the FTSE 100 and global trackers, but the shape is the same: a small handful of days carries most of the return.
Should I wait for a market dip before investing?
Historically, the opportunity cost of sitting in cash while markets drift upwards has typically been larger than the gain from eventually catching a 10% dip. Studies of lump sum vs drip-feed investing have shown that getting invested sooner wins around two-thirds of the time across historical windows. This is general information, not personal advice; whether it suits your circumstances depends on your horizon, tax position and goals.
Does this apply to UK investors and the FTSE 100?
Yes. The "best days hide inside the worst weeks" pattern is a feature of how equity markets recover, not a US quirk. It applies to the FTSE 100, the FTSE All-Share, and global trackers like Vanguard FTSE Global All Cap or HSBC FTSE All-World. UK investors using a Stocks & Shares ISA or SIPP benefit even more because tax sheltering compounds on top of the underlying return.
When is it actually sensible to sell or hold cash?
Two clean cases. First, if you need the money within roughly five years (a house deposit, a planned career break, school fees), keep it in cash or short-dated gilts. Equity volatility is too high for short horizons. Second, in early retirement, holding one to three years of expenses in cash protects you from sequence-of-returns risk and lets you avoid selling equities into a crash. Outside those cases, defensive selling usually costs more than it saves.
Do professional fund managers actually beat the market by timing it?
Mostly not. According to S&P SPIVA reports, over rolling 10-year windows around 80% of actively managed US equity funds have underperformed their benchmark net of fees. UK active funds show a similar pattern. If full-time professionals with research teams have not reliably beaten a passive index, the case for low-cost passive exposure has historically been strong. This is information about historical fund performance, not a recommendation of any specific product.
What about sequence-of-returns risk in retirement?
It is a real and separate problem. A large drawdown in the first few years of retirement can permanently damage a portfolio's ability to fund a long retirement, because withdrawals lock in losses. The standard answer is to hold a cash buffer of one to three years of expenses, derisk slightly as you approach retirement, and avoid selling equities during a crash. The 'stay invested' mantra applies most cleanly during accumulation, where you are a net buyer and a downturn is a discount.
What were the best days in S&P 500 history?
Most of the largest single-day gains land inside major bear markets. 13 October 2008 produced an 11.6% rally during the GFC. 24 March 2020 produced a 9.4% rally in the depths of the Covid crash. 28 October 2008 and 23 March 2020 also feature in the top 10. The pattern is consistent: the biggest up-days happen days or weeks after some of the biggest down-days. An investor who sold "until things calm down" in February 2020 missed almost all of them.
How do I stay invested during a crash?
Three practical mechanisms commonly cited in behavioural finance research. First, automating contributions: a direct debit into an ISA or SIPP that fires on the same date every month removes the decision when the headlines are loudest. Second, reducing balance-checking during drawdowns: frequent monitoring during a 20% fall correlates with higher rates of capitulation selling. Third, holding an emergency fund and short-term cash buffer separately from the equity portfolio: most panic selling in academic studies traces back to portfolio drawdowns coinciding with income shocks. These are general behavioural observations, not personal advice.
What if equity markets do not deliver positive long-run returns from here?
That is the genuine risk and it is not zero. Japan's equity market took roughly three decades to recover its 1989 nominal peak. A globally diversified portfolio reduces but does not eliminate this risk. The honest answer is that no strategy fully solves it, including market timing, which would also fail if equities entered a 30-year sideways grind. The available responses are diversification across geographies, holding some bonds and cash if your horizon is short, and accepting that this is the residual risk of being a long-term equity investor. The alternative, sitting in cash, has a near-certain real loss to inflation, which is a worse expected outcome over long horizons.

Related reading

The complete guide

Time in the Market Calculator: How It Works

Compare perfect timing, worst timing and consistent monthly investing in the S&P 500 from 1980 onwards. See why time in the market crushes timing.

Miss the 10 best trading days in the S&P 500 over a 20-year window and your terminal balance roughly halves. Miss the 20 best and you keep about 10% of what a buy-and-hold investor finished with. That is the entire argument for staying invested in one sentence, and it is the reason we built the time in the market calculator: to let you stop reading about the effect and actually run it on real S&P 500 monthly data from 1980 to today.

The tool pits three strategies against each other. A Consistent Investor drips the same amount in on the 1st of every month and never touches the dial. A Perfect Timer hoards cash and invests everything at the exact bottom of each major crash. A Worst Timer hoards cash and invests everything at the exact peak. You can also click anywhere on the price chart to see what a lump sum invested on that date would be worth today.

Contents

The Fidelity study and what it actually shows {#the-fidelity-study}

The "missing the best days" study has been run in slightly different forms by Fidelity, JPMorgan, Putnam and Bank of America over the years. The numbers move a little depending on the window, but the shape is identical every time.

Take the JPMorgan version, which uses the 20 years from 2003 to 2022. $10,000 left invested in the S&P 500 across the full period ended at roughly $65,000. Miss only the 10 best trading days and the same starting capital ends at about $30,000, a cut of more than half. Miss the 20 best and you are down to around $19,000. Miss the 30 best and you finish with about $13,000, which is closer to a cash account than an equity index. Roughly half the long-run return of the S&P 500 sits inside a tiny number of trading days across a 20-year window.

This is not a US quirk. The same exercise on the FTSE 100, the FTSE All-Share, and on global trackers like Vanguard FTSE All-World (VWRP) or HSBC FTSE All-World produces the same pattern. A handful of days carries most of the return. The Fidelity write-ups are the most cited because the gap between buy-and-hold and missing the best 30 days makes for a clean headline, but the underlying behaviour is a feature of how risk assets recover, not an artefact of a single dataset.

The honest reason this matters is that the alternative to staying invested is not "perfectly timing the dip". The alternative is sitting in cash, watching prices rise, getting impatient, and finally buying back in at a worse level than you started. Real-world market timers do not miss only the best 10 days. They miss most of them.

Why the best days cluster around the worst days {#why-best-days-cluster}

The cluster is not random. There are three structural reasons the largest single-day rebounds tend to land inside the same fortnights as the largest single-day drops.

Forced selling resolves itself violently. Bear markets typically include at least one phase of forced liquidation: hedge funds hitting risk limits, ETFs rebalancing, margined retail accounts being closed out by brokers. That selling overshoots the actual change in fundamentals. Once the forced sellers are done, the price often snaps back hard within days. March 2020 produced three of the best single days of the decade and three of the worst, all inside a fortnight, for exactly this reason.

Volatility-targeting funds re-enter on the way up. A large slice of institutional money runs strategies that scale equity exposure to realised volatility. When the VIX spikes, those funds sell. When it falls, they buy back, often at the same time the systematic trend followers and CTAs are flipping long. The result is a wall of mechanical buying that arrives a few days to a few weeks after the trough.

Policy responses crystallise quickly. Central banks and governments respond to acute drawdowns with rate cuts, emergency lending, and fiscal packages. Markets repriced the entire 2008 crisis in March 2009 on the back of the Fed's QE expansion. They repriced Covid in late March 2020 on the back of the CARES Act and Fed credit facilities. The investor who sold "until things calm down" almost always missed the repricing.

The practical implication is brutal. To capture the rebound, you have to already be holding equities when it happens. By the time the news flow improves, the index has already moved.

How to use the simulator {#how-to-use-the-simulator}

The inputs are deliberately limited because the lesson does not need 30 sliders.

Monthly savings. The amount the Consistent Investor drips in on the 1st of each month. This is also the amount the two Timers save into cash while they wait. Set it to whatever you would realistically invest, $200 to $1,500 is the useful range for most people.

Savings account rate. What the Timers earn on their cash pile while they wait for their entry. The default of 4% is roughly the going UK easy-access rate in 2026. Push it higher and the Timers look better; push it to 0% and the gap widens.

Start year and end year. The window the simulation runs over. The dataset starts in 1980 and runs to the latest monthly close. Long windows (30+ years) make the compounding effect overwhelming. Shorter windows (10 years) let you isolate specific decades, including the lost decade of 2000 to 2010.

Lump sum to test. A separate one-off amount used for the click-to-invest feature. Click anywhere on the S&P 500 chart and the tool shows you what that lump sum, invested on that exact date, would be worth at today's price. This is the fastest way to feel why "wait for a dip" is a losing game across a long enough horizon.

The output shows three end balances side by side, a returns table with total return, CAGR, average annual return and IRR, a price chart with buy markers for the Perfect and Worst Timers, and a year-by-year breakdown you can export to CSV. If you want to model regular contributions into a global tracker with a custom rate of return rather than the historical index, switch over to the compound interest calculator.

Worked example: 1980 to 2024 {#worked-example}

Run the simulator with $500 monthly, 4% savings rate, 1980 start, 2024 end. The Consistent Investor ends at roughly $5.2 million on $264,000 of contributions. The Perfect Timer, who somehow nailed the exact bottom of every recession including 1982, 1987, 2002, 2009 and 2020, ends at roughly $5.6 million. The Worst Timer, who bought at every single peak, still ends at roughly $3.8 million.

The headline finding is not that the Perfect Timer wins. It is the size of the gap. Perfect foresight across 44 years and 11 major crashes adds about 7% to the Consistent Investor's end balance. Worst possible foresight, peak after peak, still produces a portfolio that beats the cash alternative many times over. The Consistent Investor's strategy required zero forecasts and zero willpower beyond setting up a direct debit, and it beat 95% of the upside the Perfect Timer captured.

For a more brutal version of the same story, run the simulator from 2010 to 2024. The S&P 500 ran almost vertically for that window. The Perfect Timer's cash pile, sitting at 4%, fell catastrophically behind. The opportunity cost of waiting for a dip during a bull market is the single largest drag on real-world retail returns.

You can replicate the same logic for a UK investor by running the drip-feed vs lump-sum calculator, which shows that getting invested sooner beats waiting roughly two-thirds of the time across rolling historical windows.

The behavioural lesson {#the-behavioural-lesson}

The argument from "best days cluster around worst days" is not "you should try harder to time the bottom". It is the opposite. Since the rebound arrives inside the worst weeks, since you cannot tell in advance which week is the worst, and since selling in a panic locks in the loss right before the bounce, the only strategy that reliably captures the rebound is to already be holding equities when it happens.

That is the strongest argument for cash-flow-driven dollar-cost averaging into a low-cost global tracker, paid in on a fixed date each month, with no overrides. Common UK options include broad global trackers such as Vanguard's FTSE All-World ETF or HSBC's FTSE All-World index fund (check the current TER on the provider's factsheet before investing). Pairing a regular contribution with a Stocks and Shares ISA or SIPP wrapper, and ignoring the price screen between contributions, is the mechanical shape of the strategy. This is general information rather than a recommendation of any specific fund.

This is not the same as "buy the dip" or "wait for a correction". Both of those framings ask you to make a forecast. Cash-flow-driven DCA explicitly does not. You buy on the 1st of the month whether the headline is "all-time high" or "biggest single-day drop since 2008". The strategy works because over a 20-, 30-, or 40-year horizon, the difference between "I started in 2007 and got smashed for two years" and "I started in 2009 and rode the recovery" is rounding-error small. The Consistent Investor ends up in roughly the same place either way. The Timer who tried to choose almost never does.

The honest counterpoint, because there is one: this all assumes long-run positive real equity returns and a horizon of at least 10 years. If the money is needed inside five years, equity volatility is high and sequence-of-returns risk is a real consideration. Closer to drawdown, holding one to three years of expenses in cash is a common defensive approach. The "stay invested" mantra applies most cleanly to the accumulation phase. It is not a defence of holding 100% equities into retirement. As with everything on this page, this is information rather than personal advice; speak to an FCA-authorised adviser for guidance tailored to your circumstances. Capital is at risk and past performance is not a guide to future returns. For anything closer to a how-to on the underlying philosophy, read Winning the Loser's Game, and for the matched lesson on active strategies, why 97% of day traders lose money.

Get Started

The argument lands harder when you see it on your own numbers. Open the time in the market calculator, pick a start year inside your own working life, and watch the gap between Consistent and Worst Timer close to a rounding error compared to the gap between either of them and a cash account. The takeaway is not that timing is hard. It is that timing barely matters compared to showing up every month.