IfOnly Invest Calculator — What If You Invested Years Ago?

Calculate what your stock investment would be worth today if you had invested years ago. Supports dividend reinvestment calculations for US stocks.

Popular Stocks

Market Indices P/E Ratios

Frequently Asked Questions

What is the average annual return of the U.S. stock market (S&P 500)?

Over long periods, the S&P 500 has historically delivered roughly 9%–10% per year on average when dividends are reinvested (total return). Year-to-year returns swing a lot, and past performance isn't a promise.

How do you calculate total return on a stock (including dividends)?

Total return includes both the price change and dividends received. Formula: Total return (%) = ((Ending price − Starting price + Dividends received) ÷ Starting price) × 100.

Total return vs price return: what's the difference?

Price return only measures price movement. Total return includes dividends. Two stocks can have the same price return, but the dividend-paying one can deliver higher total return over time.

Is it too late to buy a stock today?

Usually "too late" isn't about a single day's price—it depends on your time horizon, risk tolerance, and plan. Consider business fundamentals, diversification, and risk management.

Why does starting early matter for long-term investing?

Compounding: returns earn returns, and time gives that process more chances to work. Regular investing adds up, and reinvested dividends can boost long-term growth.

Should you reinvest dividends?

Reinvesting dividends increases share count, which can generate more dividends and more price exposure over time. The effect tends to be more visible over longer periods (10–20+ years).

Disclaimer: This calculator is for illustrative and informational purposes only, does not constitute investment advice, and uses market data sourced from Yahoo Finance.