What if I had invested…? Calculator with real ETF, stock and crypto data
Pick an ETF, a stock or a crypto, a start date and how much you would have invested (a lump sum, a monthly contribution or both). The calculator replays the purchases with real daily closes and tells you what it would be worth today, what you put in, the annualized return, the worst drop along the way and how long it took to recover. It opens with the example of VOO (an S&P 500 ETF) from 10 years ago with 200 a month.
What if I had invested…?
What exactly it calculates
- Final value, total contributed and gain: the value of what was bought at the last close, against what you put in.
- Annualized return (XIRR): the yearly rate that accounts for when each contribution went in. With monthly contributions the total gain looks small because the latest money had little time to grow; XIRR corrects for that.
- Largest drop and time to recover: how much the asset fell from a high to its low in the period and how many days it took to get back to that high.
- The same plan in another symbol: the S&P 500 by default (through SPY), to see whether you would have done better or worse than the market.
- All at once or spread out: the same total invested on day one against spread over equal monthly contributions.
How the calculation works
- Each month it buys at the close of the first trading day from the day of the month you chose (the first month, the lump sum plus the contribution).
- Prices are adjusted for splits: a split does not change the value of what you held.
- Dividends are paid on their ex-date with the units you held that day. If you reinvest them, more units are bought at that day’s close; if not, they stay as cash and add to the final value.
- It does not deduct fees, currency exchange or taxes: it is the gross result of the asset, in the currency it trades in.
Invest it all at once or spread it out?
With the same money, investing everything on day one usually ends higher when the market rises over the period, because all the capital grows from the start. Spreading it over monthly contributions wins when prices fall early on, because you buy cheaper. The calculator shows what happened in that period; the next one can be different.
An asset that rises 10% every year for 5 years, and 6,000 to invest.
All on day one: the 6,000 grow for the full 5 years.
Spread over 60 contributions of 100: the last one barely had time to grow, so the final value is lower, even though both have an XIRR of about 10%.
What your free account adds
Without an account you can use a list of popular ETFs, stocks and crypto and compare with one symbol. With your free account you pick any symbol, see the full chart of the simulated portfolio and compare several at once. And you can apply it to your own portfolio: the same calculation with your current mix.
Frequently asked questions
Does this tell me what will happen?
No. It shows what would have happened with real past prices. Informational and educational; not financial advice or a recommendation.
Why does the annualized return not match the total gain?
Because with monthly contributions each part of the money was invested for a different time. XIRR spreads the gain according to how long each contribution was in.
Does it include fees or taxes?
No. It is the gross result of the asset, without fees, currency exchange or taxes.
Does it work with crypto?
Yes, with BTC and ETH on the site and any crypto in the app. Crypto pays no dividends and trades every day.
By Asterholm TeamUpdated:
Educational content, not investment or tax advice. Rules, fees and rates change: check with your broker or an advisor. Risk notice.
All your brokers in one read-only portfolio
Asterholm brings your statements and read-only connections together: value, real returns, dividends with their withholding and fees, in the currency you choose.
Free plan with 1 broker, no card.