Free tool · no signup

Portfolio backtest, free

Backtest your portfolio against the S&P 500: pick up to five stocks, set the weights and a rebalancing rule, and see how it would have done over the last three years. Any ticker works.

Build a draft index

Up to 5 stocks · any ticker
Total100%
Rebalance
Tested: AAPL 20% · MSFT 20% · NVDA 20% · AMZN 20% · GOOGL 20% · rebalanced quarterly
Your total return
Worst drawdown
vs SPY
Running the example backtest · last 3 years

The free backtest covers the last 3 years against SPY. Full history, your choice of benchmarks (2 on Investor, 5 on Portfolio Manager), costs & taxes and every metric are part of Investor & Portfolio Manager. Hypothetical results, for research only.

What a portfolio backtest tells you

A backtest replays history. You choose a basket of stocks and how much of each to hold, and the backtest runs that exact portfolio through real past prices, day by day, as if you had owned it. At the end you see what $10,000 would have become, how bumpy the ride was, and how it compared with simply buying the market.

That makes it the quickest way to pressure-test an idea before real money is involved. A basket of companies you believe in might have beaten the S&P 500, or it might have taken twice the risk for the same return. A backtest shows you which, in seconds.

How to backtest a portfolio in four steps

  1. Choose your stocks. Type a ticker: shares or ETFs from the US, Canada and eight European markets. Prices are converted to one currency (US dollars by default) so everything compares fairly. Testing an ETF? See what's inside it first on our ETF holdings pages, and clone its top 10 straight into the builder.
  2. Set the weights. Decide how much of the portfolio each stock gets. They need to add up to 100%.
  3. Pick a rebalancing rule. Never rebalance and let winners grow, or reset to your target weights every quarter or year.
  4. Run it against a benchmark. The free backtest compares with SPY, an S&P 500 fund, so you can see whether the basket beat the market.

How to read the results

Total return and annual returnHow much the portfolio grew overall, and the same growth expressed per year (CAGR) so different periods compare.
Max drawdownThe worst fall from a peak to a later low. The pain you would have had to sit through.
VolatilityHow much returns bounced around. Higher means a bumpier ride, even if the destination was good.
Sharpe ratioReturn per unit of volatility. A quick way to compare portfolios that took different amounts of risk.
Versus the benchmarkThe gap with the market over the same dates. The question most backtests are really asking.
Growth of $10,000The path, not just the end point: when the portfolio pulled ahead, and when it fell behind.

Rebalancing changes the answer

Two backtests with the same stocks can end up far apart depending on the rebalancing rule. Never rebalancing lets your best performers grow into a bigger share of the portfolio, which helps in a long winning streak and hurts if they reverse. Calendar rebalancing (quarterly or yearly) trims what ran ahead and tops up what lagged, keeping the shape you chose. In the full app you can also rebalance only when a weight drifts too far from target, and see what each rule costs after trading fees and tax. Our rebalancing study compares seven rules over 20 years, after costs and tax.

Backtest individual stocks, not just funds

Many backtesting tools are built around asset classes and index funds: 60% stocks, 40% bonds, and so on. That's useful, but it can't tell you how your basket of companies would have done. Indices Lab is built the other way round: start from the individual stocks you believe in, weight them however you like, and test the result as if it were your own custom index. You can still add ETFs alongside them, or compare against one.

What a backtest can't tell you

Our methodology explains how prices, dividends, currencies and rebalancing are handled. Want to know the best weights for your stocks? Try the portfolio optimizer. To see what's inside a portfolio you already own, use the portfolio analyzer.

The full backtest in Indices Lab

Save your index and the full backtest opens up: each stock's full price history, your choice of benchmarks, costs and taxes, rolling returns, monthly heatmaps, drawdown charts, what each holding contributed, and live tracking from the day you save.

Growth chart in the Indices Lab backtest Growth chart in the Indices Lab backtest

FAQ

Portfolio backtest questions

How do I backtest a stock portfolio?

Choose the stocks, give each a weight, pick how often to rebalance, and run it against a benchmark such as the S&P 500 (SPY). The backtest replays real historical prices to show what the portfolio would have returned and how far it fell along the way.

Is this portfolio backtester free?

Yes. The backtest on this page is free with no account: up to five stocks, the last three years, against SPY. A free account lets you save the index and track it; Investor and Portfolio Manager add full history, more holdings and benchmarks, costs and taxes, and the full set of analytics.

Can I backtest individual stocks, not just ETFs?

Yes. You can mix any listed stocks and ETFs. Many backtesting tools are built around asset classes or funds; Indices Lab is built for baskets of individual companies, like your own custom index.

What does max drawdown mean?

The largest fall from a peak to a later low during the period. It shows the worst stretch you would have had to sit through, which often matters more than the average return.

Does rebalancing change the result?

Often by a lot. Rebalancing resets the weights to your targets, trimming winners and topping up laggards. Never rebalancing lets winners grow; rebalancing keeps the shape you chose. You can compare both in the tool.

Do past results predict future returns?

No. A backtest shows what would have happened with hindsight. It is a way to understand how a basket behaves, not a forecast or a recommendation.

Backtest your own index

Save it, track it from day one, and unlock the full analysis when you're ready.

Get started free →