Skip to content

Portfolio backtesting: test any ETF or stock portfolio on real returns

Portfolio backtesting is the replay of a fixed mix of investments, with a stated rebalancing rule, over past market returns, to measure what the mix would have earned and how far it would have fallen along the way.

This free backtester, with no sign-up, runs up to ten holdings with your weights on real monthly total returns: 222 US and European ETFs and ready-made portfolios from the catalog, or any US or euro-area stock or ETF ticker you type. Test them against a fund or a second portfolio, with rebalancing and monthly contributions or withdrawals. It also shows the risk behind the result: the deepest falls and how long they lasted, past crises, rolling returns and the share of risk of each holding.

Data updated November 10, 2026

Short answer. The calculator starts with the 60/40 portfolio: 60% SPY and 40% BND, rebalanced every year. From May 2007 to Nov 2026 it returned +7.9% a year: $10,000 became $44,701. Its worst fall at month-end was −30.3% and its worst calendar year was 2008, at −19.3%. SPY alone returned +10.7% a year over the same months, with a worst fall of −50.8% and a worst year of −36.8% in 2008.

Annual return (CAGR)
+7.9%
Worst fall (max drawdown)
−30.3%
Worst calendar year (2008)
−19.3%
$10,000 became
$44,701

Monthly total returns with dividends reinvested, May 2007 to Nov 2026, 235 months (prices to November 10, 2026). Drawdowns at month-end. Before taxes and trading costs; past results are not a forecast.

1 · Your portfolio

Start from
  • SPY SPDR S&P 500 ETF Trust · USD%
  • BND Vanguard Total Bond Market ETF · USD%

● Total 100% · up to 10 holdings

2 · Compare with

Fund or ready-made portfolio

3 · Settings

Rebalancing 
Annual return (CAGR) 
+7.9%
$10,000 became
$44,701
Worst fall 
−30.3%
Sharpe ratio 
0.65

May 2007 to Nov 2026: 235 months that all chosen funds and SPY have in common. Rebalanced every December.

Return and risk of the portfolio and of SPY
Your portfolioSPY
Annual return (CAGR) +7.9%+10.7%
$10,000 became$44,701$72,643
Volatility 9.8%15.4%
Sharpe ratio 0.650.62
Sortino ratio 0.980.92
Worst fall (max drawdown) −30.3%−50.8%
Longest time below a previous high 3.0 years4.4 years
Best calendar year+22.3%+32.3%
Worst calendar year −19.3%−36.8%
Best month+8.1%+12.7%
Worst month−10.3%−16.5%
Months with a gain65%66%

Against SPY: correlation 0.98, beta 0.62. In the months SPY rose the portfolio moved 65% as much on average; in the months it fell, 60% as much.

Sharpe and Sortino use 1–3 month US Treasury bills (BIL) as the risk-free rate , over the 234 months it has data. Return, volatility and the ratios do not depend on the money added or withdrawn.

Growth of $10,000

$0$20k$40k$60k$80k2010201520202025
Your portfolio SPY

Falls from the previous high 

Distance from the previous high at each month-end.

-40%-20%0%200820152022
Your portfolio SPY

The five deepest falls of your portfolio

Deepest falls of the portfolio from a previous high, with the time to recover
HighLowFall High to recovery 
Oct 2007Feb 2009−30.3%3.0 years
Dec 2021Sep 2022−20.2%2.2 years
Jan 2020Mar 2020−11.5%6 months
Apr 2011Sep 2011−8.1%9 months
Sep 2018Dec 2018−7.9%6 months

How it held up in past crises

Return from the month-end before each episode to the month-end at its low. The dates follow the month-end highs and lows of the S&P 500.

Return of the portfolio and of the comparison in past market crises
EpisodeYour portfolioSPY
Global financial crisisOct 2007 – Feb 2009−30.3%−50.8%
2011 euro debt crisis and US downgradeApr 2011 – Sep 2011−8.1%−16.2%
Late-2018 sell-offSep 2018 – Dec 2018−7.9%−13.5%
Covid crashDec 2019 – Mar 2020−10.8%−19.4%
2022 inflation and rate risesDec 2021 – Sep 2022−20.2%−23.9%

Every calendar year

Lighter bars: year not complete in this period.

-20%0%20%2010201520202025
Your portfolio SPY
Table of yearly returnsShow
YearPortfolioSPY
2026(partial)+6.6%+11.5%
2025+13.5%+17.7%
2024+15.5%+24.9%
2023+18.0%+26.2%
2022−16.1%−18.2%
2021+16.4%+28.7%
2020+14.0%+18.3%
2019+22.3%+31.2%
2018−2.7%−4.6%
2017+14.5%+21.7%
2016+8.2%+12.0%
2015+1.0%+1.2%
2014+10.4%+13.5%
2013+18.5%+32.3%
2012+11.1%+16.0%
2011+4.3%+1.9%
2010+11.5%+15.1%
2009+17.3%+26.4%
2008−19.3%−36.8%
2007(partial)+2.3%+0.0%

Every month

Return of the portfolio in every month, by year
YearJanFebMarAprMayJunJulAugSepOctNovDecYear
20261.00.1−3.76.33.3−0.6−0.41.8−1.20.3−0.2+6.6%*
20251.9−0.0−3.2−0.33.23.81.31.72.61.70.3−0.1+13.5%
20240.92.62.3−3.43.82.51.62.01.8−1.54.2−2.2+15.5%
20235.0−2.53.31.2−0.23.92.0−1.3−3.9−1.97.44.2+18.0%
2022−4.0−2.21.1−6.90.5−5.56.3−3.6−7.14.24.8−3.8−16.1%
2021−1.01.02.33.60.51.82.01.8−3.44.5−0.52.9+16.4%
20200.8−4.0−7.78.13.01.34.03.7−2.3−1.76.92.3+14.0%
20195.22.01.92.5−3.44.71.0−0.01.01.52.31.8+22.3%
20182.9−2.6−1.4−0.01.80.32.22.20.2−4.71.4−4.7−2.7%
20171.12.60.10.91.10.41.40.51.11.51.91.0+14.5%
2016−2.50.34.30.41.01.02.4−0.10.0−1.41.21.4+8.2%
2015−0.82.8−0.70.50.6−1.71.7−3.8−1.25.00.1−1.1+1.0%
2014−1.52.90.40.71.81.3−0.92.8−1.11.62.1−0.1+10.4%
20132.81.02.41.60.8−1.43.4−2.22.43.31.81.5+18.5%
20123.02.71.8−0.0−3.42.51.21.61.6−1.20.50.5+11.1%
20111.42.2−0.02.3−0.2−1.2−0.6−2.6−3.86.2−0.31.1+4.3%
2010−1.72.03.51.4−4.4−2.44.3−2.05.12.4−0.33.6+11.5%
2009−5.8−6.55.15.93.80.25.02.72.6−1.14.40.7+17.3%
2008−3.1−1.5−0.32.60.5−4.9−0.51.2−5.6−10.3−1.63.1−19.3%
20071.7−1.0−1.51.42.61.2−1.6−0.3+2.3%*

Monthly returns in %. * year not complete in this period.

Rolling returns 

Annualised return over every period of that length inside the dates above: what you would have earned starting in any month.

Worst, median and best annualised return over every rolling period
Holding period WorstMedian Best
1 year224 periodsYour portfolio−25.5%+10.8%+33.5%
SPY−43.4%+15.3%+56.2%
3 years200 periodsYour portfolio−1.9%+9.2%+17.9%
SPY−9.8%+13.2%+26.0%
5 years176 periodsYour portfolio+2.9%+9.0%+15.6%
SPY−1.0%+13.9%+22.9%

Risk of each holding 

Each holding over the same months, and how much of the portfolio’s ups and downs it accounts for at the target weights.

Return, volatility, worst fall and share of risk of each holding
HoldingShare of the moneyShare of the risk Money vs riskReturn a year Volatility Worst fall 
SPY60%92%+10.7%15.4%−50.8%
BND40%8%+2.9%4.6%−17.5%

SPY has 60% of the money and 92% of the risk. Grey bar: share of the money; coloured bar: share of the portfolio’s variance.

Monthly total returns with dividends reinvested; the funds’ own costs are included, trading costs, taxes and inflation are not. Historical simulation, not a forecast and not investment advice.

Worked example: backtesting a 60/40 portfolio step by step

How the backtest above reaches the numbers in the short answer, with its starting settings.

  1. Take the monthly total returns of SPY and BND, with dividends reinvested, over the months both have in common: May 2007 to Nov 2026, 235 months.
  2. Each month the portfolio earns 60% of SPY’s return plus 40% of BND’s return, at the weights it holds at that point. The weights drift with the returns, and every December they are reset to 60/40.
  3. Chain the 235 monthly returns: $10,000 becomes $44,701. The annual return is ($44,701 ÷ $10,000)^(12 ÷ 235) − 1 = +7.9%.
  4. Follow the value and its highest point so far. The deepest fall ran from the end of Oct 2007 to the end of Feb 2009: −30.3%. The portfolio was back at its high at the end of Oct 2010, 3.0 years after the peak.
  5. Compound the twelve monthly returns of each complete calendar year, 18 in all: the lowest is 2008, at −19.3%, and 3 of the 18 years ended with a loss.
  6. The same steps for SPY alone give +10.7% a year and a worst fall of −50.8%, with a worst year of −36.8% in 2008. Over these months the portfolio returned 2.7 percentage points a year less, and its worst fall was 20.5 percentage points smaller.

More on this allocation, with its own backtest, is on the 60/40 portfolio page. To check whether the result depends on the start date, use the rolling returns calculator; for how long each fall took to recover, the drawdown recovery calculator. The fund pages, such as SPY and BND, have their own returns and drawdowns. How this backtester compares with other free tools is in Portfolio Visualizer alternatives.

How to backtest a portfolio in seven steps

The procedure is the same whether you test a single fund, a classic allocation or your own mix of funds and stocks. The order of the last two steps matters: the worst fall decides whether a portfolio is held through a crisis, so read it before the return.

  1. 1. Choose the holdings. Add up to ten: ETFs and ready-made portfolios from the catalog, or any US or euro-area stock or ETF ticker typed in the box (up to 5 outside the catalog). Or start from a ready-made mix such as 60/40.
  2. 2. Set the weights. Type a weight for each holding. If they do not add up to 100% they are scaled to 100%; “Equal weights” splits the portfolio evenly.
  3. 3. Pick a comparison. Compare with a single fund such as SPY or VWCE, with a second portfolio built the same way, or with nothing.
  4. 4. Choose a rebalancing rule. Monthly, quarterly, yearly or never. Rebalancing brings the weights back to their targets at month-end; without it they drift with the returns.
  5. 5. Add cash flows and dates. Set the starting amount and, if you want, a monthly contribution or withdrawal. Pick the dates or use Max, 10Y, 5Y, 3Y or 1Y.
  6. 6. Read the risk before the return. Look at the worst fall, how long the portfolio stayed below its previous high, the worst calendar year and the crises, then the annual return and the Sharpe ratio.
  7. 7. Check that the result holds. Use the rolling returns to see other start dates, compare with a simple benchmark, then copy the link or download the CSV.

Tickers outside the catalog: US listings as they are (AAPL, BRK.B), euro-area listings with the exchange suffix (SAP.DE, ASML.AS, ENI.MI, MC.PA). Each needs at least 12 months of prices.

Famous portfolios, backtested

27 well-known allocations, from a single US stock fund to the All Weather, Permanent and Golden Butterfly portfolios, tested the same way: total return in US dollars with dividends reinvested, rebalanced to their targets at the start of every year, all over the same period, Dec 2011 to Nov 2026. They are ordered from the smallest worst fall to the largest. Each name opens the portfolio’s own page, with its holdings, history and yearly returns; “Test” loads it in the backtester above.

Backtest results of famous portfolios over the same period
PortfolioFundsReturn a year Volatility Sharpe Worst fall Back at the high after Worst year Load in the backtester
Permanent PortfolioHarry Browne4+5.7%7.2%0.59−17.5%2.4 years−12.5% (2022)Test
Desert PortfolioGyroscopic Investing3+5.7%6.4%0.66−19.3%2.5 years−15.0% (2022)Test
Golden Butterfly PortfolioTyler (Portfolio Charts)5+6.7%8.3%0.64−19.5%2.7 years−13.3% (2022)Test
Couch Potato PortfolioScott Burns (1991)2+8.4%8.7%0.79−20.0%2.2 years−15.6% (2022)Test
Benjamin Graham 50/50 PortfolioBenjamin Graham (1949)2+8.0%8.9%0.74−20.7%2.3 years−16.3% (2022)Test
4% Rule Portfolio (Bengen 50/50)William Bengen (1994)2+8.1%8.2%0.81−20.8%2.4 years−16.7% (2022)Test
Ultimate Buy and Hold PortfolioPaul Merriman13+6.5%9.4%0.55−21.0%10 months−13.8% (2022)Test
Larry PortfolioLarry Swedroe (2014)4+3.8%6.4%0.37−21.3%4.1 years−15.4% (2022)Test
60/40 PortfolioClassic balanced allocation2+9.2%10.4%0.75−21.8%5 months−16.9% (2022)Test
Two-Fund PortfolioBogleheads2+7.5%10.0%0.61−22.3%2.3 years−16.3% (2022)Test
Three-Fund PortfolioBogleheads (Taylor Larimore)3+7.9%10.0%0.66−22.3%2.3 years−16.2% (2022)Test
Pinwheel PortfolioTyler (Portfolio Charts)8+7.2%10.7%0.56−23.1%6 months−14.3% (2022)Test
Coffeehouse PortfolioBill Schultheis7+7.4%10.2%0.60−23.6%9 months−14.3% (2022)Test
All Weather PortfolioRay Dalio (simplified version popularised by Tony Robbins)5+5.5%8.0%0.51−23.8%3.8 years−19.2% (2022)Test
Margaritaville PortfolioScott Burns3+7.9%10.9%0.61−23.8%6 months−15.9% (2022)Test
David Swensen PortfolioDavid Swensen (Yale endowment)6+7.8%11.0%0.60−24.7%7 months−18.2% (2022)Test
Talmud PortfolioBabylonian Talmud (Bava Metzia 42a)3+7.8%10.8%0.61−24.8%2.7 years−20.0% (2022)Test
Ivy PortfolioMebane Faber and Eric Richardson (2009)5+7.0%10.8%0.54−25.8%9 months−11.0% (2022)Test
7Twelve PortfolioCraig Israelsen (2008)12+6.2%10.7%0.47−26.2%10 months−8.3% (2022)Test
No-Brainer PortfolioWilliam Bernstein4+8.9%12.5%0.62−26.8%10 months−13.1% (2022)Test
JL Collins Simple Path PortfolioJL Collins (2016)2+10.9%12.7%0.76−26.8%5 months−17.9% (2022)Test
Gone Fishin’ PortfolioAlexander Green (2008)9+7.7%12.1%0.55−26.8%7 months−14.9% (2022)Test
Core Four PortfolioRick Ferri4+9.6%12.9%0.66−28.5%6 months−17.9% (2022)Test
Warren Buffett 90/10 PortfolioWarren Buffett (2013 letter to shareholders)2+13.3%14.9%0.81−30.4%6 months−16.7% (2022)Test
Second Grader’s PortfolioAllan Roth (2009)3+10.8%14.7%0.67−31.2%6 months−17.8% (2022)Test
100% StocksAll-equity benchmark1+13.8%16.9%0.76−35.0%6 months−19.5% (2022)Test
Merriman 4 Fund ComboPaul Merriman4+12.3%17.8%0.65−39.3%10 months−12.8% (2022)Test

Daily values: “Worst fall” is the largest peak-to-trough decline, “Back at the high after” counts from that peak to the day the portfolio returned to it, and the Sharpe ratio uses 1–3 month US Treasury bills (BIL) as the risk-free rate. Each portfolio is replicated with US-listed ETFs. Before taxes and trading costs. Past performance is not a forecast. Source: MEDGE Capital backtests on end-of-day fund prices. All portfolios and method.

Across the 27 portfolios the yearly return ranges from +3.8% to +13.8%. The smallest worst fall belongs to Permanent Portfolio, −17.5%, and the largest to Merriman 4 Fund Combo, −39.3%. The all-stock portfolio returned +13.8% a year and fell 35.0% at its worst; the 60/40 portfolio returned +9.2% and fell 21.8%. 4% Rule Portfolio (Bengen 50/50) and Warren Buffett 90/10 Portfolio share the highest Sharpe ratio in the table, 0.81. A single period favours whatever did well in it: the table says how these mixes behaved, not which one is best.

Five market crises: stocks, bonds, gold and a 60/40 mix

The average return hides the moments that decide whether a portfolio is kept or sold. This table isolates them: the return of each asset from the month-end before the episode to the month-end at its low, for a US stock fund (SPY), a US bond fund (BND), gold (GLD) and a 60/40 mix of the first two rebalanced every year.

Return of stocks, bonds, gold and a 60/40 mix in past market crises
EpisodeMonth-endsStocks (SPY)Bonds (BND)Gold (GLD)60/40 mix
Global financial crisisOct 2007 – Feb 2009−50.8%+7.0%+17.8%−30.3%
2011 euro debt crisis and US downgradeApr 2011 – Sep 2011−16.2%+4.8%+3.7%−8.1%
Late-2018 sell-offSep 2018 – Dec 2018−13.5%+1.6%+7.5%−7.9%
Covid crashDec 2019 – Mar 2020−19.4%+2.2%+3.6%−10.8%
2022 inflation and rate risesDec 2021 – Sep 2022−23.9%−14.5%−9.5%−20.2%

Month-end values with dividends reinvested, so the falls are smaller than the daily peak-to-trough figures usually quoted. The dates follow the month-end highs and lows of the S&P 500. Source: MEDGE Capital calculations on end-of-day prices.

The 60/40 mix did better than stocks in 5 of 5 episodes. Bonds rose in 4 of 5 and gold in 4 of 5. Bonds fell together with stocks in 1 of them (2022 inflation and rate rises: −14.5%), and there the mix had little to cushion it: the protection of bonds depends on the kind of crisis. The calculator above runs the same episodes on your own portfolio.

Does rebalancing change the result?

Rebalancing brings the weights back to their targets by selling part of what rose and buying what fell. Without it the fastest-growing holding takes a larger share every year, and the portfolio you end with is not the one you chose.

Perold and Sharpe compared buying and holding with rebalancing to a constant mix and showed that neither is best in every market: a constant mix does relatively well when markets swing back and forth, and relatively poorly when they move in one direction for a long time.[1] Rebalancing is first of all a way to keep the mix you chose.

A 60/40 mix of SPY and BND under four rules, May 2007 to Oct 2026

A 60/40 portfolio under four rebalancing rules
RebalancedReturn a yearVolatilityWorst fall$10,000 became
Every month+7.83%9.9%−32.2%$43,494
Every quarter+7.93%9.9%−31.6%$44,260
Every year+7.99%9.8%−30.3%$44,792
Never+8.68%10.5%−28.0%$50,695

Month-end rebalancing: every month, at the end of each quarter, every December, or never. Before taxes and trading costs, which rebalancing more often increases. Source: MEDGE Capital calculations on end-of-day prices.

Across the four rules the yearly return ranges from +7.83% to +8.68% and the volatility from 9.8% to 10.5%. The worst fall was 30.3% with yearly rebalancing and 28.0% without any. Left alone, the 60% in stocks became 86% of the portfolio by Oct 2026.

How to read a portfolio backtest

Annual return (CAGR). The constant yearly rate that turns the starting value into the final one. It says nothing about the path in between.

CAGR = (final value ÷ starting value)^(1 ÷ years) − 1

Example: $10,000 that becomes $20,000 in 10 years has a CAGR of 7.18%, whether it rose steadily or halved along the way.

Volatility. The standard deviation of the monthly returns, scaled to a year by multiplying by √12. It measures how much the returns swing around their average, in both directions.

Maximum drawdown. The deepest fall from a previous high, and the number that most often decides whether an investor holds on. A fall needs a larger gain to be recovered:

Gain needed to recover from a fall
Fall from the high−10%−20%−30%−40%−50%
Gain needed to get back+11.1%+25.0%+42.9%+66.7%+100.0%

gain needed = 1 ÷ (1 − fall) − 1

Time below the previous high. How long the portfolio stayed under a level it had already reached. A fall of 20% that is recovered in six months and one that takes six years are different experiences with the same depth.

Sharpe and Sortino ratios. The Sharpe ratio is the average return in excess of a benchmark such as the risk-free rate, divided by the standard deviation of that excess return.[2] The Sortino ratio replaces total volatility with downside deviation, so that only returns below a minimum acceptable return count as risk.[3]

Sharpe = average (portfolio return − risk-free return) ÷ standard deviation of that difference

Both are estimates with a margin of error. Lo showed that scaling a monthly Sharpe ratio to a year by √12 is exact only when returns are independent from one month to the next, and that with serially correlated returns the annual figure can be overstated.[4] Small differences between two portfolios’ ratios mean little.

Rolling returns. The return over every period of the same length, for example every five years inside the test. They answer the question a single start date cannot: what would have happened starting in a different month.

Share of risk. How much of the portfolio’s ups and downs each holding accounts for. In a 60/40 mix of SPY and BND from May 2007 to Oct 2026, the 60% in stocks accounted for 92% of the risk. The weights you set are not the risks you take.

Backtest vs Monte Carlo vs stress test

A backtest is one of several ways to look at a portfolio’s risk, and the one most tied to what actually happened. It shows a real sequence of crises and recoveries, which makes it concrete, and only one sequence, which makes it narrow. The other methods start from the same holdings and ask different questions:

Backtest, Monte Carlo simulation, stress test, risk analysis and walk-forward optimization compared
MethodQuestion it answersWhat it usesWhat you get
BacktestThis pageWhat would this mix have done in the past?The one path history took, month by monthAnnual return, worst fall, worst year, recovery time, behaviour in crises
Monte Carlo simulationMonte Carlo simulatorWhat range of outcomes is plausible from here?Thousands of paths drawn from past returnsPercentiles of the final value, odds of a loss or of running out
Stress testStress Lab (MEDGE app)What happens to today’s holdings if a given shock hits?A chosen scenario: a past crisis, or shocks to rates, indices, sectors or currenciesLoss of each holding and of the portfolio
Risk analysisPortfolio risk analysisHow risky is the portfolio now, and where does the risk come from?Past returns at today’s weightsVolatility, VaR and CVaR, drawdown, correlations, each holding’s share of risk
Walk-forward optimizationRolling optimizationWould choosing the weights with only the data known at the time have worked?A trailing window, re-optimised step by stepOut-of-sample against in-sample results of an optimisation rule

Backtest first, then widen the view. The backtest tells you how deep the falls were and how long they lasted on real data. A Monte Carlo simulation then shows how wide the range of outcomes is around that one path, and how often a plan of contributions or withdrawals would have run short. A stress test asks the question a backtest cannot: what a shock that has not happened yet, such as a jump in rates with stocks falling, would do to the holdings you own today.

Separate the rule from the result. The portfolio risk analysis measures the risk of the current weights, including value at risk and each holding’s share of it. If the weights themselves come from an optimisation, the rolling optimization tests the rule out of sample, choosing the weights each time with only the data known then: the honest version of “which mix would have been best”.

What a backtest cannot tell you

It is one path of history. The period tested contains one sequence of crises and recoveries, and the next one will differ. The mix that did best in one period is the one that held most of what rose in that period, which says little about the next.

The more variants you try, the better the best one looks. Bailey, Borwein, López de Prado and Zhu showed that high simulated performance is easy to obtain after trying a relatively small number of variants of a strategy, and that a backtest selected this way tends to disappoint out of sample; they call it backtest overfitting.[5] Harvey, Liu and Zhu counted hundreds of factors proposed to explain stock returns and argued that, with so many tests, a new one should clear a much higher bar than the usual one: a t-statistic above 3.0.[6]

Only the survivors are in the data. Brown, Goetzmann, Ibbotson and Ross showed that looking only at funds that survived can make past winners appear to keep winning even when they do not.[7] The catalog here contains funds that exist today, and any ticker you add is one that still trades; the funds and companies that closed or were taken over along the way are not in the data.

Costs, taxes and behaviour are outside. The funds’ own costs are in their returns; trading costs, taxes and inflation are not. Nor is the hardest part: holding the portfolio through its worst fall instead of selling at the low.

Five checks before trusting a backtest

  1. 1. Change the start date. Use the rolling returns and the date range: a result that holds only from one particular month is luck.
  2. 2. Read the worst fall before the return. Look at its depth and at how long the portfolio stayed below its previous high.
  3. 3. Compare with something simple. A single broad fund or a 60/40 mix: if the difference is small, the simpler portfolio wins.
  4. 4. Look at the crises. The episodes show whether the holdings fell together when it mattered.
  5. 5. Decide the rule first. A mix chosen for a reason and then tested is worth more than the best of twenty mixes tried.

How this backtest works

Data. Monthly total returns with dividends reinvested, computed from end-of-day prices, for up to 20 years: of each ETF in the catalog, of each ready-made portfolio, and of any ticker you add. A ticker outside the catalog comes from the same price archive as the MEDGE app, adjusted for splits and with cash dividends reinvested on the ex-date, and its monthly return is the change from one month-end close to the next. Only the months all chosen holdings have in common are used, so every holding is measured over the same period.

Rebalancing. At month-end: every month, at the end of each quarter, every December, or never. Between two dates the weights drift with each fund’s returns. A second portfolio follows the same rule.

Cash flows. The amount you add, or withdraw, enters at the start of every month after the first. Annual return, volatility and the ratios are time-weighted and do not depend on it; the money-weighted return of your cash flows is shown separately.

Risk measures. Volatility, Sharpe and Sortino are computed on monthly returns and scaled to a year. The risk-free rate is the monthly return of 1–3 month US Treasury bills (BIL), or of the euro overnight rate (XEON) for portfolios of euro funds only. Drawdowns are measured at month-ends, so a fall that reversed within a month looks smaller than on daily prices.

Share of risk. For each holding, its weight times its covariance with the portfolio, divided by the portfolio’s variance, at the target weights. The shares add up to 100%.

Not included. Trading costs, taxes and inflation: the results are nominal and before tax. Returns are in each fund’s trading currency.

Portfolio backtesting: questions

What is portfolio backtesting?

Portfolio backtesting is the replay of a fixed mix of investments, with a stated rebalancing rule, over past market returns, to measure what the mix would have earned and how far it would have fallen along the way. It describes the past, which helps compare choices such as the mix of stocks and bonds or how often to rebalance; it is not a forecast.

How do I backtest a portfolio?

Use the backtester at the top of this page: it is free, with no sign-up and nothing to install. Add up to ten holdings, either ETFs and ready-made portfolios from the catalog or any US or euro-area stock or ETF ticker, and set their weights. Choose what to compare with: a fund, a second portfolio of your own or nothing. Set the rebalancing rule, the starting amount, any monthly contribution or withdrawal and the dates. The results update as you type: annual return, worst fall, worst year, crises, rolling returns and the risk of each holding. The link to your settings can be shared, and the monthly results downloaded as CSV.

What has a 60/40 portfolio returned?

With 60% SPY and 40% BND, rebalanced every year, a 60/40 portfolio returned +7.9% a year from May 2007 to Nov 2026, with dividends reinvested. Its worst fall at month-end was −30.3% (Oct 2007 to Feb 2009) and its worst calendar year was 2008, at −19.3%. SPY alone returned +10.7% a year over the same months, with a worst fall of −50.8%. Before taxes and trading costs; past results are not a forecast.

Can I backtest stocks as well as ETFs?

Yes. Type a ticker in the box under the holdings: a US listing such as AAPL or BRK.B, or a euro-area listing with its exchange suffix, such as SAP.DE, ASML.AS or ENI.MI. Up to 5 tickers outside the catalog per backtest, and ten holdings in all. The prices come from the same end-of-day archive as the MEDGE app, adjusted for splits with cash dividends reinvested, for up to 20 years. A ticker that cannot be found, or with less than 12 months of prices, is refused with a message saying why. A single company can fall much further than a broad fund, so read its worst fall before its return.

How far back can I backtest a portfolio?

Up to 20 years, on monthly total returns with dividends reinvested, computed from end-of-day prices. The backtest starts in the first month that all chosen holdings have in common, so one young fund or a recent listing shortens the whole test: the catalog shows the first year available for each fund, and the row of each holding shows when its data starts. For some ETFs the price history in our data starts later than the fund’s launch.

Can I backtest a portfolio with monthly contributions?

Yes. Enter an amount to add each month, or a negative amount to withdraw. The growth chart then shows the value against the money paid in, and the table adds the money-weighted return of your cash flows. Annual return, volatility and the risk ratios stay time-weighted, so they do not depend on the cash flows. The DCA calculator focuses on a regular investment plan alone.

Can I compare two portfolios?

Yes. Choose “A second portfolio” under “Compare with” and build Portfolio B with its own funds, tickers and weights. Both portfolios are tested on the same months, with the same rebalancing rule and the same cash flows, and every table shows them side by side.

Does rebalancing change the result?

For a 60/40 mix of SPY and BND from May 2007 to Oct 2026, rebalancing every year returned +8.0% a year with a volatility of 9.8% and a worst fall of −30.3%; never rebalancing returned +8.7% with a volatility of 10.5% and a worst fall of −28.0%, and the stock share drifted from 60% to 86%. Without rebalancing the portfolio you end with is not the one you chose.

What are CAGR, maximum drawdown and the Sharpe ratio?

CAGR is the constant yearly growth rate that turns the starting value into the final one: $10,000 that becomes $20,000 in 10 years has a CAGR of 7.18%. Maximum drawdown is the deepest fall from a previous high. The Sharpe ratio divides the average return in excess of the risk-free rate by the volatility of that excess return: the higher, the more return per unit of risk.

What is a good CAGR for a portfolio?

There is no universal threshold. A CAGR means something only next to the risk taken to earn it, and next to a simple benchmark over the same months: a higher return with a much deeper worst fall is a different portfolio, not simply a better one. For reference, from May 2007 to Nov 2026 SPY returned +10.7% a year with a worst month-end fall of −50.8%, and 60% SPY and 40% BND, rebalanced yearly, returned +7.9% with a worst fall of −30.3%.

Can I backtest European ETFs?

Yes: UCITS ETFs such as VWCE, SWDA, CSSPX or EIMI are in the catalog, and other euro-area listings can be typed with their exchange suffix (.DE, .MI, .PA, .AS and others). Returns are in each fund’s trading currency, so mixing US-dollar and euro holdings also mixes currency effects; the calculator warns you when that happens.

Is Portfolio Visualizer free?

Portfolio Visualizer has a free tier with limits, and its Basic and Pro plans are billed yearly: $360 and $660 a year at the prices it listed in October 2026. Its backtest asks you to sign in before it runs. The backtester on this page is free with no sign-up: a result is on screen when the page loads, and the link to your settings can be shared. The MEDGE vs Portfolio Visualizer page compares the two feature by feature.

What is the difference between a backtest, a Monte Carlo simulation and a stress test?

A backtest replays the one path history actually took. A Monte Carlo simulation draws thousands of possible paths from past returns to show a range of outcomes and the odds of a loss. A stress test applies a chosen shock, a past crisis or a hypothetical move in rates or markets, to today’s holdings. They answer different questions and are best used together.

Is a good backtest a reason to expect the same result in future?

No. A backtest is one path of history, and the more variants you try before choosing, the more likely the best one looks good by chance. Check the result over different start dates with the rolling returns, look at the worst fall and how long it lasted, and compare with a simple benchmark.

What does the full MEDGE backtest add?

Daily data and listings on more exchanges, transaction costs and threshold rebalancing, exact per-holding attribution, behaviour in bear, neutral and bull markets, what-if replays, stress tests on past crises and hypothetical shocks, and Monte Carlo projections on your actual weights.

Sources

  1. Perold, A. F., & Sharpe, W. F. (1988). Dynamic Strategies for Asset Allocation. Financial Analysts Journal, 44(1), 16–27. doi.org/10.2469/faj.v44.n1.16
  2. Sharpe, W. F. (1994). The Sharpe Ratio. The Journal of Portfolio Management, 21(1), 49–58. doi.org/10.3905/jpm.1994.409501
  3. Sortino, F. A., & Price, L. N. (1994). Performance Measurement in a Downside Risk Framework. The Journal of Investing, 3(3), 59–64. doi.org/10.3905/joi.3.3.59
  4. Lo, A. W. (2002). The Statistics of Sharpe Ratios. Financial Analysts Journal, 58(4), 36–52. doi.org/10.2469/faj.v58.n4.2453
  5. Bailey, D. H., Borwein, J. M., López de Prado, M., & Zhu, Q. J. (2014). Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance. Notices of the American Mathematical Society, 61(5), 458. doi.org/10.1090/noti1105
  6. Harvey, C. R., Liu, Y., & Zhu, H. (2016). … and the Cross-Section of Expected Returns. The Review of Financial Studies, 29(1), 5–68. doi.org/10.1093/rfs/hhv059
  7. Brown, S. J., Goetzmann, W., Ibbotson, R. G., & Ross, S. A. (1992). Survivorship Bias in Performance Studies. The Review of Financial Studies, 5(4), 553–580. doi.org/10.1093/rfs/5.4.553

More free tools

Source: MarketStack end-of-day prices, total return with dividends reinvested; academic sources listed above. Figures are historical and descriptive; they are not forecasts and not investment advice. MEDGE Capital does not recommend buying or selling any instrument. Risk disclaimer.