About If-Bought
If-Bought is a free calculator that shows what a stock or ETF would be worth today if you had bought it in the past, with dividends, monthly buys and a sell date if you want them.
How it works
- Pick a US stock or ETF, a start date and an amount.
- Choose a one-time buy or monthly buys, and whether to reinvest dividends.
- Optionally set a sell date, add more purchases (up to 10), or compare with the S&P 500.
- Read the value, the gain and the yearly return, scrub the chart, and share the result as a link.
The rules for how each buy, dividend and sale is priced are on the methodology page.
Try the calculatorFrequently asked questions
Where do the prices come from?
Daily closing prices from Yahoo Finance, from January 3, 2000 (or the first day the stock traded, if later) up to the latest close. Search covers US-listed stocks and ETFs.
What if my buy date was a weekend or a holiday?
The buy uses the closing price of the next trading day.
How are dividends handled?
On each ex-dividend date, the dividend is paid on the shares you held. With Reinvest dividends on, it buys more shares at that day's close. With it off, the dividends are kept as cash and still count toward the value.
Are stock splits taken into account?
Yes. Prices are split-adjusted, so a split doesn't change what your position is worth.
How do monthly buys work?
The first buy is on your start date, or the next trading day. After that, the same amount is invested on the first trading day of each month, until the Keep buying until date or, if you leave it empty, up to the latest close.
What does the sell date do?
The whole position is sold at the close on that date, or the next trading day. From then on it is held as cash: no more buys, and no more dividends.
What does Compare with S&P 500 use?
The same amounts on the same dates, invested in SPY, an ETF that tracks the S&P 500, with the same dividend and sell settings.
What is IRR, and why is it sometimes missing?
IRR is the yearly return that accounts for when each dollar went in, so monthly buys and a single buy can be compared fairly. It is shown once the first buy is at least a year old.
What isn't included?
Taxes, trading fees, bid-ask spreads and inflation. Fractional shares are assumed, so every dollar is invested.
Can I share a result?
Yes. Share copies a link that opens the same purchases for anyone who follows it.
Is this financial advice?
No. It is for education only. Past returns don't predict future results.
Data and disclaimer
Prices from Yahoo Finance daily closes. Past returns don't predict future results. For education only, not financial advice.
Who runs it
If-Bought is an independent project. It is not affiliated with Yahoo or with any broker.