Stock Return Calculator: Total Return With Dividends
Reviewed by Jerry Croteau, Founder & Editor
Table of Contents
I Was Calculating My Returns Wrong for Years
So here's something embarrassing. For the first three or four years I was investing, I'd check my brokerage account, look at the share price change from when I bought in, and think that was my return. Like, I bought shares of a utility company at 42 per share, it was trading at 47, and I'd tell myself I was up about 12%. Cool, right?
Except I was completely ignoring the dividends.
This particular stock was paying a 3.8% dividend yield, and I'd been reinvesting those dividends the entire time. When I finally sat down and did the math properly — price appreciation plus all the dividends received plus the compounding from reinvesting those dividends — my actual total return was closer to 28%. That's not a rounding error. That's a fundamentally different number, and it changed how I thought about basically every position in my portfolio.
If you've been eyeballing your returns the same way I was, you're probably underselling yourself. Or worse, you're comparing your dividend-paying stocks against growth stocks on an uneven playing field. A
Price Return vs. Total Return — They're Not the Same Thing
Price return is just the change in share price. You bought at 50, now it's 60, that's a 20% price return. Simple enough.
Total return includes everything — the price change, any dividends paid out, and (this is the part people miss) the growth you get from reinvesting those dividends back into more shares. Over short periods, the difference might seem trivial. Over 10 or 20 years? It's enormous.
Here's a real-ish example that kind of blew my mind when I first ran the numbers. Say you put 10,000 into a stock that grows at 7% per year in price, and it pays a 2.5% dividend yield that you reinvest:
| Year | Price Return Only | Total Return (With Reinvested Dividends) | Difference |
|---|---|---|---|
| 5 | 14,026 | 15,905 | 1,879 |
| 10 | 19,672 | 25,297 | 5,625 |
| 15 | 27,590 | 40,227 | 12,637 |
| 20 | 38,697 | 63,998 | 25,301 |
| 25 | 54,274 | 101,800 | 47,526 |
Look at year 25. The dividends and their compounding nearly doubled your money compared to price appreciation alone. That's not some exotic strategy — that's just reinvesting a pretty average dividend. And this is why I get a little worked up when people say "dividends don't matter" because they technically come out of the share price. Mathematically, sure, on ex-dividend day. But over decades of compounding? Come on.
If you want to model this with your own numbers, the
How to Actually Calculate Total Return
There are a couple ways to do this depending on how precise you want to be.
Dividends Received = total cash dividends if NOT reinvested
Beginning Value = original purchase price × original number of shares
But here's the thing — if you're reinvesting dividends, the "Dividends Received" part gets folded into "Ending Value" because those dividends bought more shares, which are now worth whatever the current price is. So you'd just compare your total current portfolio value against what you originally put in. The formula simplifies, but tracking the actual share count gets messy because you're accumulating fractional shares every quarter.
Let me walk through a quick worked example because I think it helps.
Scenario: You buy 200 shares at 50 each (10,000 total). The stock pays 1.25 per share annually in dividends. After 3 years, the stock price is 58.
Without reinvestment:
Dividends collected: 200 shares × 1.25 × 3 years = 750
Price gain: (58 − 50) × 200 = 1,600
Total return: (1,600 + 750) / 10,000 = 23.5%
With reinvestment: This gets trickier because each year's dividends buy more shares at whatever the price was at the time, and those new shares also earn dividends the next year, and so on. It cascades. Which is exactly why a
For annualized returns (which is what you want when comparing investments held for different time periods), you'd use the CAGR approach. There's a dedicated
A Few Things That Trip People Up
Taxes. If you're holding dividend stocks in a taxable account, your actual return is lower than the total return calculation suggests. Qualified dividends get taxed at the capital gains rate (which is 0%, 15%, or 20% depending on your income bracket in the US), but that still chips away at your compounding. In a tax-advantaged account like an IRA? Doesn't matter until withdrawal. Big difference.
Inflation is the other sneaky one. A 9.5% total return sounds great until inflation was running at 4% that year and your real return was more like 5.5%. I always try to think in real (inflation-adjusted) terms, even though it's less fun. The
And then there's the question of yield vs. yield on cost. Your yield on cost — that's the current annual dividend divided by what you originally paid — can be wildly different from the current yield if you've held the stock for a while and the dividend has grown. I've got one position where the current yield is about 2.8% but my yield on cost is over 6% because I bought it ages ago and the dividend has roughly doubled since then. Both numbers are "right" but they tell you different things.
If you're trying to figure out how much passive income your portfolio actually generates, the
One more thing — don't forget to account for any additional purchases you've made over time. Dollar-cost averaging into a position means your cost basis is a weighted average, not just your first purchase price. Getting that wrong can throw off your return calculation by a surprising amount. I learned that one the hard way when I thought I was up 35% on a position and it was actually closer to 22% because I'd bought a bunch more shares at higher prices. Still good! Just.. not what I thought.
For a broader look at how your net worth is tracking across all your assets (not just stocks), the
FAQ
Does total return include dividends that I didn't reinvest?
Yes! Total return counts all dividends paid to you, whether you reinvested them or let them sit as cash. The difference is that reinvested dividends compound (they buy more shares, which earn more dividends, which buy more shares..), so your total return will typically be higher if you reinvest. But even cash dividends sitting in your account are part of the total return calculation — they're real money you received from owning the stock.
How do I annualize a total return?
Take your total return as a decimal (so 45% becomes 1.45), raise it to the power of (1 / number of years held), and subtract 1. For a 45% total return over 3 years: (1.45)^(1/3) − 1 = about 13.2% annualized. This gives you the CAGR, which is the standard way to compare returns across different holding periods.
Why is my brokerage showing a different return than what I calculated?
Usually it's one of three things: they're using a time-weighted return instead of a money-weighted return (these diverge when you've added or withdrawn funds), they're not including dividends, or there's a cost basis discrepancy from wash sales or lot accounting methods. Check which return methodology your brokerage uses — it's usually buried in the settings or help docs somewhere.
Related Calculators
Get smarter with numbers
Weekly calculator breakdowns, data stories, and financial insights. No spam.
Discussion
Be the first to comment!