Stock Total Return Calculator (with Dividends Reinvested)
Stock Total Return iTotal return = price change PLUS dividends, with each dividend reinvested into more shares (DRIP). The Price-Only calculator strips dividends out for the contrast.
Pick a stock or use Manual mode iIn ticker mode we fetch split-adjusted daily price history and the dividend stream. In manual mode you supply a hypothetical start price, end price, years, and optional annual dividend rate.
-
Where the money came from:
- From price change: -
- From dividends received: -
- From reinvestment compounding: -
Dividends + reinvestment added - (-) over the price-only baseline.
CAGR not shown - the period is shorter than 1 year.
Price data is older than usual - refresh in a minute.
CPI series ends before the calculation period; real-return uses the latest available month for the tail.
No dividend events found for this ticker over this window - total return equals price-only return for this period.
The most recent dividend was paid after our last available price candle and is included as cash, not reinvested.
-
SPY benchmark unavailable right now - your numbers above are unaffected.
Methodology & full breakdown
DRIP model
Each historical dividend is reinvested at the next trading day's split-adjusted close on or after the ex-dividend date. Fractional shares allowed, no taxes, no transaction costs. If two dividends share the same date, both reinvest at the same next-candle close. If the most recent dividend's ex-date is after our last available price candle, the cash is added to your end value but not reinvested.
Decomposition identity
End value − Start investment = Price contribution + Dividends received as cash + Reinvestment compounding lift. The identity holds within rounding even when a trailing dividend cannot be reinvested (the cash is included in the end value via an unreinvested-cash term).
Real return (CPI-adjusted)
End value is multiplied by CPI(start) / CPI(end) to express it in start-period dollars, then annualized. CPI source: BLS series CUUR0000SA0. Each endpoint snaps to its year+month observation; if the matching month is missing, both endpoints fall back to the nearest preceding observation symmetrically. If the period extends past the latest available CPI month we reuse that month and surface a small note.
Benchmark
SPY (the S&P 500 ETF), fetched at the same period. SPY's quarterly distributions are reinvested using the same DRIP algorithm.
Limitations
- No taxes, no transaction costs, no FX.
- DRIP reinvests on the next trading day after ex-div; real brokerages reinvest a few weeks later on pay date. The difference is on the order of 1-2% of the dividend contribution over typical 5-10y windows.
- Manual mode uses a quarterly-payment, linearly-interpolated-price DRIP model. For real ticker analysis, use ticker mode.
- CAGR is suppressed for windows shorter than one year.
- Custom range is sliced client-side from the smallest covering preset to maximize cache reuse.
How It Works - How does the total return calculator work?
This is the dividend-inclusive sibling of the Price-Only calculator. Where Price-Only asks "what did the share price do?", Total Return asks "what would I actually have ended up with, dividends and all?" - and shows you the dollar gap between the two as the headline insight. For long-held dividend payers that gap can be a meaningful fraction of the total result.
Pick a ticker (or switch to Manual mode for hypothetical numbers), pick a period, and pick an investment amount. We fetch the split-adjusted daily price history AND the dividend stream, run a DRIP simulation that reinvests each dividend into more shares at the next trading day's close, and report the total return, CAGR, end value, and a three-way breakdown: how much came from price change, how much from dividends as cash, and how much from the bonus of compounding those reinvested shares. We also show a CPI-adjusted real CAGR for the inflation lens.
Things to keep in mind: total return assumes 100% reinvestment with no taxes or transaction costs - real DRIP plans face both. CPI is monthly while prices are daily, so real CAGR is a low-precision number (good for cross-comparison, not arbitrage modeling). Sub-1-year windows hide the CAGR row. SPY benchmark is also computed on a total-return basis so the comparison is apples to apples.
Not financial advice. For informational and educational purposes only. Numbers come from public market data and may be stale. Always consult a licensed financial advisor before making investment decisions.