Backtest a portfolio: free portfolio backtesting tool
A portfolio backtest shows how a mix of funds would have grown on past prices. Type in your tickers and the share each one gets, then press the button. You can compare up to 3 portfolios side by side and pick the years. It’s free, and you don’t need an account.
- Use any US-listed stock or ETF, such as SPY, IEF, or GLD. Each portfolio holds up to 10.
- Shares are percentages that add up to 100, such as 60 and 40.
- Compare up to 3 portfolios over the same dates, next to SPY.
- Pick a start year and an end year, or test all the history there is.
- Rebalance every month, every quarter, or every year.
- Prices are daily, with dividends reinvested and a 0.05% cost on every trade.
- A backtest is hypothetical. It shows the past, not what comes next.
How to backtest a portfolio#
- Enter your tickers. Type one ticker per row, such as SPY for US stocks and IEF for Treasury bonds. Or press one of the classic mixes to fill in the form.
- Give each one a share. Shares are percentages of the whole portfolio. They must add up to 100%. The total stays red until they do.
- Pick when to rebalance. Rebalancing sells some of what grew and buys more of what shrank. That puts the mix back to your split.
- Pick the years, if you want. Leave “Earliest” and “Today” to use all
the history your funds have. Or pick a start and an end, such as 2007 to
- Press “Backtest this portfolio”. The results open on their own page. The page has a link you can copy or post, on Reddit for example. Anyone with the link sees the same chart and numbers.
How to compare portfolios#
Press + Compare another portfolio under the tickers. A new column opens. Each column is one portfolio, and you can have up to 3.
Type a share in a column for each ticker that portfolio holds. Leave a cell empty if that portfolio doesn’t hold the ticker. Each column must add up to 100%. To fill one column with a classic mix, click in it, then press the mix. The button changes to Compare 2 portfolios, or 3.
The comparison opens on one page with one link. It shows:
- A table with each portfolio’s growth, yearly growth, worst drop, swings, Sharpe ratio, and best and worst year, next to SPY.
- One chart of how $1 grew in each.
- The return of every calendar year, side by side.
- A Download CSV button, with the daily value of $10,000 in each one.
Every portfolio runs over the same dates. If one holds a younger fund, the others start on its first day too. That keeps the race fair.
Example: 60/40 vs All Weather vs the S&P 500#
We ran this comparison with the tool. $10,000 went into each portfolio at the last close of 2006. Each one was rebalanced once a year until December 31, 2025. Open it in the form to run it yourself.
| Classic 60/40 | All Weather | S&P 500 (SPY) | |
|---|---|---|---|
| Holds | SPY 60%, IEF 40% | VTI 30%, TLT 40%, IEF 15%, GLD 7.5%, DBC 7.5% | SPY 100% |
| $10,000 grew to | $45,465 | $34,017 | $68,486 |
| Yearly growth (CAGR) | 8.3% | 6.7% | 10.7% |
| Worst drop | -29.8% | -23.8% | -55.2% |
| Swings (volatility) | 10.6% | 8.2% | 19.8% |
| 2008 | -14.9% | +3.1% | -36.8% |
| 2022 | -17.0% | -19.2% | -18.2% |
Prices through December 31, 2025, run on November 11, 2026.
Here is what the numbers say:
- Stocks alone grew the most. They also fell the most. SPY lost 55% from its high in 2007 to its low in 2009.
- Bonds made the fall smaller. In 2008, the 60/40 lost 14.9%. SPY lost 36.8%.
- All Weather made money in 2008. But 2022 hit it hardest of the three. Stocks and bonds fell together that year, and All Weather holds the most bonds.
- No mix wins every year. So test more than one, over good years and bad. The SEC tells investors to question any result that leaves out down markets (Investor.gov).
How accurate is this backtest?#
We checked it against two well-known tools. Each one ran the same test: $10,000 in 60% SPY and 40% AGG, rebalanced once a year, from January 2017 to December 2025.
| Tool | End balance | Yearly growth (CAGR) | Worst drop |
|---|---|---|---|
| Tactfolio | $23,441 | 9.93% | -21.00% |
| Portfolio Visualizer | $23,433 | 9.92% | -20.11% |
| testfol.io | $23,433 | 9.92% | -20.99% |
The end balances are $8 apart. That’s less than a tenth of a percent. Portfolio Visualizer shows a smaller worst drop because it uses monthly prices. The 2020 crash hit bottom on March 23, in the middle of a month, so monthly prices miss that day. We ran the other two tools on October 16, 2026, and Tactfolio on November 11, 2026. Our comparison of 8 backtesting tools has the full test.
What the results page shows#
The page for one portfolio shows the same numbers the builder shows for every strategy, so you can compare mixes fairly. What a backtest simulates lists every assumption.
| Result | What it tells you |
|---|---|
| Growth of $1 | How your mix grew next to SPY over the same dates |
| CAGR | The average yearly growth, compounded. Check one with the CAGR calculator. |
| Max drawdown | The biggest drop from a high point to a low point |
| Volatility | How much the value swings in a typical year |
| Sharpe and Calmar | How much growth you got for the swings and the drops |
| Turnover | How much of the portfolio it traded each year |
| Reality checks | The same trades at higher costs, and SPY held at your mix’s level of risk |
| Drawdown and allocation charts | Every drop over time, and how far the mix drifted from its split |
A comparison adds every calendar year side by side and a CSV of the daily values. Reading a backtest explains how to use these numbers together.
How far back the test goes#
A backtest can only start once every fund in it has prices. SPY started trading on January 22, 1993 (State Street), so the form’s earliest year is 1993. IEF and TLT start in 2002, GLD in 2004, and VXUS in 2011. So a mix that holds VXUS starts in 2011, even if the rest is older.
The years work like this:
- From 2017 buys at the last close of 2016, so all of 2017 counts. Portfolio Visualizer and testfol.io count a year the same way.
- To 2025 ends on the last trading day of 2025.
- Earliest starts when your youngest fund has its first price.
- Today runs to the latest close.
On Plus and Pro, the builder can reach further back for young funds with simulated history. GLD, for example, goes back to 1968 with modelled values. These are estimates, and the results say which funds used them. Simulated history explains how each fund is extended.
Why rebalancing matters#
A mix drifts as prices move. Say you start with 60% stocks and 40% bonds. After a strong year for stocks, you might hold 68% stocks and 32% bonds. That is more risk than you chose.
Rebalancing puts the split back. Doing it every month keeps the mix closest to your plan. Doing it once a year trades less, so it pays less in costs. The SEC’s guide for beginners says rebalancing “tends to work best when done on a relatively infrequent basis” (Investor.gov). Try each schedule here and compare. Portfolio rebalancing goes deeper.
Classic mixes to start from#
Each button above the form fills in one of these well-known mixes. Each one also has its own article with its full backtest, its history, and its sources.
| Mix | What it holds | Rebalanced |
|---|---|---|
| Classic 60/40 | SPY 60%, IEF 40% | Every month |
| All Weather | VTI 30%, TLT 40%, IEF 15%, GLD 7.5%, DBC 7.5% | Every year |
| Permanent Portfolio | VTI, TLT, GLD, and SHV, 25% each | Every year |
| Golden Butterfly | VTI, VBR, TLT, SHY, and GLD, 20% each | Every year |
| Ivy Portfolio | SPY, EFA, IEF, VNQ, and GSG, 20% each | Every year |
The Permanent Portfolio article checks the mix once a year, but only trades when a fund has drifted 10 points from its 25%. The form rebalances every year instead. The builder can add the drift rule.
What this tool does and does not do#
| Does | Does not |
|---|---|
| Tests up to 3 portfolios of up to 10 US-listed stocks and ETFs each | Test options, forex, crypto, or funds listed outside the US |
| Rebalances every month, quarter, or year | Add monthly deposits or withdrawals |
| Uses daily prices with dividends reinvested | Model taxes or broker fees |
| Charges 0.05% on every trade | Borrow money or sell short. Every mix is long only. |
| Lets you pick start and end years from 1993 | Go back before a fund’s first price |
| Shows results with no account, on a page you can share | Keep your mix private once you post its link |
| Shows every year’s return, and a CSV, when you compare | Promise future returns. A backtest only shows the past. |
Turn the mix into a strategy#
Press Save and keep building on the results page to keep the mix in a free account. In the builder, your mix is one Weight block with your split. That block can grow into a rules-based strategy. For example, an If block can move the mix into bonds when stocks fall below their 10-month average, like Faber’s trend model. Backtesting your own rules is part of Plus and Pro (pricing).
On Plus and Pro, a saved mix can also run on a paper account with pretend money, or in your own Alpaca account. A rebalancing bot keeps a mix on its split for you. Backtesting on Tactfolio covers testing rules as well as fixed mixes.
Keep learning#
- Backtesting explained: the idea in plain words, with the traps to avoid.
- Portfolio rebalancing: how often to rebalance, and what it costs.
- Risk parity: a way to split a mix by risk, not by money.
- Monte Carlo simulation, efficient frontier, and portfolio optimizer: more free tools for a mix. Every tool is on the free trading tools page.
- Fund pages for SPY, IEF, and GLD, and all ETF pages: facts and daily figures for common building blocks.
- AGG vs BND and IEF vs TLT: bond funds compared, with more ETF comparisons.
- Best portfolio backtesting tools, Portfolio Visualizer alternatives, and testfol.io alternatives: how this tool compares.
Common questions#
Is this portfolio backtest free?#
Yes. This portfolio backtest is free for everyone, with or without an account. Comparing portfolios and picking years are free too.
Do I need an account?#
No. The results page opens without an account, and its link works for anyone. You need a free account only to save the mix and keep building on it.
Can I compare two or three portfolios?#
Yes. Press + Compare another portfolio on the form. You can compare up to 3 portfolios over the same dates, next to SPY. You get one link for the whole comparison, with every year’s return and a CSV.
Can I pick the start and end dates?#
You pick years. “From 2007” buys at the last close of 2006, so all of 2007 counts. “To 2025” ends on the last trading day of 2025. Portfolio Visualizer and testfol.io count years the same way, so the results line up.
Can I link to a form that is already filled in?#
Yes. Add the mixes to the page’s address, such as
/trading-tools/backtest-portfolio?p=SPY:60,IEF:40&p=VTI:100&rebalance=yearly&from=2010.
Each p is one portfolio, written as ticker:share pairs. rebalance is
monthly, quarterly, or yearly, and from and to are years. The form opens
filled in and runs when you press the button.
What is the best free tool to backtest a portfolio?#
It depends on what you need. Portfolio Visualizer has the most analysis, but its free plan shows 10 years of mostly monthly data. testfol.io uses daily data and has very long simulated histories. This tool is free with no account, compares up to 3 mixes on daily prices, and gives you a link to share. Our test of 8 tools covers each one.
Can I share my backtest?#
Yes. Every result has its own link, such as tactfolio.com/r/ followed by a short code. Copy it, or post it to Reddit or X from the page. The page shows the mix, its rules, and its results up to the day you made it. It never shows who made it.
Why does my backtest start later than I expected?#
The test starts when the youngest fund in your mix has its first price. For example, VXUS starts in 2011. On Plus and Pro, simulated history in the builder reaches further back with modelled values for young funds.
Can I backtest single stocks, not only ETFs?#
Yes. Any US-listed stock with daily prices works. The ticker list only holds stocks that still trade, though. Companies that failed are missing, which can make a stock mix look better than it would have been. This is called survivorship bias.
How much should I trust the results?#
Use them to learn how a mix behaves in good and bad years. They are not a forecast. The SEC reminds investors that backtested results are hypothetical and are not real performance. A mix that did well in the past can still fall in the future.
Sources
- Investor Bulletin: Performance Claims, U.S. Securities and Exchange Commission, Investor.gov, accessed November 11, 2026
- Beginners' Guide to Asset Allocation, Diversification, and Rebalancing, U.S. Securities and Exchange Commission, Investor.gov, accessed November 11, 2026
- State Street SPDR S&P 500 ETF Trust (SPY), State Street Global Advisors, accessed November 11, 2026
- Backtest Portfolio Asset Allocation, Portfolio Visualizer, accessed October 16, 2026
- Portfolio backtester, testfol.io, accessed October 16, 2026
More in Trading tools
- Pip calculator: what one pip is worth in any forex pair
- Asset allocation calculator: stocks and bonds by age
- Margin calculator: how much margin a forex trade needs
- Portfolio rebalancing calculator: what to buy and sell
- Forex profit calculator: profit, loss and pips
- Monte Carlo simulation: will your money last?