FinanceMarch 29, 2026

Stock Return Calculator: How to Calculate Investment Returns

By The hakaru Team·Last updated March 2026
Investment Education Disclaimer: This guide is for educational purposes only and does not constitute investment advice, a recommendation to buy or sell any security, or a guarantee of future results. Past performance does not predict future returns. All investing involves risk, including potential loss of principal. Consult a qualified financial advisor before making investment decisions.

Quick Answer

  • *Simple return formula: Return% = (Ending Value − Beginning Value + Dividends) ÷ Beginning Value × 100
  • *CAGR (annualized return): (Ending Value ÷ Beginning Value)^(1/Years) − 1 — the steady compounding rate that explains your actual result
  • *Total return includes reinvested dividends; over 30 years, dividends account for roughly 40% of the S&P 500's total return
  • *S&P 500 long-run average: ~10.5% nominal per year since 1957 inception, ~7% after inflation

How to Calculate Stock Return

Stock return measures how much money you made (or lost) on an investment. The complete formula captures both price appreciation and dividend income:

Return% = (Ending Value − Beginning Value + Dividends) ÷ Beginning Value × 100

Worked Example

You bought 10 shares at $50 each — a total investment of $500. Over the holding period, the stock rose to $75 per share ($750 total) and paid $20 in dividends.

Return = ($750 − $500 + $20) ÷ $500 × 100 = 54%

Without counting dividends, the price-only return would be ($750 − $500) ÷ $500 = 50%. The $20 in dividends added 4 full percentage points to your total return — a meaningful difference that compounds even more over decades.

Annualized Return and CAGR

A raw return percentage is incomplete without knowing the time frame. A 54% return over 1 year is very different from 54% over 10 years. That's why investors use the Compound Annual Growth Rate (CAGR)— the steady annual rate that, if compounded each year, would produce the same total result.

CAGR = (Ending Value ÷ Beginning Value)^(1/Years) − 1

CAGR Example

A $10,000 investment grows to $18,000 over 6 years.

CAGR = (18,000 ÷ 10,000)^(1/6) − 1 = (1.8)^0.1667 − 1 = 10.3% per year

That 10.3% is the single rate that would compound $10,000 into $18,000 in exactly 6 years. It smooths out the volatility of the individual years — some years were up 25%, some down 10% — to give you a meaningful benchmark for comparison.

Starting ValueEnding ValueYearsCAGR
$10,000$18,000610.3%
$5,000$15,0001011.6%
$20,000$40,000710.4%
$10,000$25,000156.3%

Total Return vs Price Return

These two numbers tell very different stories about the same investment.

Price returntracks only the change in share price. If a stock goes from $50 to $75, price return is 50%. That's it.

Total returnadds dividends — and assumes those dividends are reinvested to buy more shares. Over long periods, this distinction becomes enormous.

According to Hartford Funds research, dividends have accounted for approximately 40% of the S&P 500's total returnover the past 30 years. An investor who only tracked the index price was missing nearly half the actual wealth created. The S&P 500 total return index has historically been roughly double the price return index over multi-decade periods — entirely due to reinvested dividends.

$10,000 invested in S&P 500Price Return OnlyTotal Return (dividends reinvested)
After 10 years (7% price / 10% total)$19,672$25,937
After 20 years$38,697$67,275
After 30 years$76,123$174,494

After 30 years, the reinvested-dividend investor has more than twice as much money. Always use total return when evaluating long-term investment performance.

Inflation-Adjusted (Real) Return

Nominal returns tell you how much your dollars grew. Real returns tell you how much your purchasing powergrew — which is what actually matters for retirement and long-term financial goals.

Real Return = (1 + Nominal Return) ÷ (1 + Inflation Rate) − 1

If your portfolio returned 10% and inflation ran at 3%, your real return is (1.10 ÷ 1.03) − 1 = 6.8%. Not 7% (the simple subtraction), but close. The formula matters more when either number is large.

This is why the S&P 500's long-run 10.5% nominal return drops to approximately 7% real — inflation erodes roughly 3–3.5 percentage points of nominal return over time.

S&P 500 Historical Benchmarks

These are the numbers every investor should have in their head as a baseline.

PeriodNominal Avg Annual ReturnReal (Inflation-Adjusted)
10-year avg (2014–2024)~13%~10%
30-year avg (1994–2024)~10.7%~7.5%
Since 1957 inception~10.5%~7%

The 2014–2024 decade was unusually strong — driven by tech-sector growth, historically low interest rates, and two major bull markets. Don't anchor to that 13% figure for long-term planning. The since-inception ~10.5% nominal (7% real) is the more conservative and historically grounded baseline.

Dollar-Cost Averaging and Time-Weighted Returns

When you invest fixed dollar amounts regularly — say, $500 every month into an index fund — you're dollar-cost averaging (DCA). You buy more shares when prices are low and fewer when they're high, which smooths your average entry price over time.

For DCA portfolios, the correct performance metric is the Time-Weighted Rate of Return (TWRR), not a simple return calculation. TWRR eliminates the distortion caused by the timing and size of cash flows (your monthly contributions), giving a fair picture of investment performance independent of when you added money.

DCA vs lump sum is a classic debate. Academic research (including Vanguard's 2012 study) consistently shows lump-sum investing outperforms DCA roughly two-thirds of the time over 12-month horizons because markets tend to rise. But DCA reduces regret risk — the pain of investing a large sum right before a crash. For most people, DCA wins on behavioral grounds even when it slightly underperforms mathematically.

Tax Drag on Investment Returns

Taxes are the silent return-killer most investors underweight. Understanding tax drag is essential for calculating your actual after-tax return.

Tax EventRateApplies To
Long-term capital gains15–20%Assets held >1 year
Short-term capital gainsUp to 37%Assets held ≤1 year
Qualified dividends15–20%Most U.S. stock dividends
Ordinary dividendsUp to 37%REITs, money market funds

A 10% gross return becomes roughly 8–8.5% after long-term capital gains tax for most investors — and can drop to 6.3% for high earners subject to the 37% short-term rate. This is why tax-advantaged accounts (401k, IRA, Roth) dramatically improve long-run returns. Tax-free compounding inside a Roth IRA versus a taxable account can be worth hundreds of thousands of dollars over a 30-year horizon.

Risk-Adjusted Return: The Sharpe Ratio

Raw return comparison is misleading without accounting for risk. A portfolio returning 15% by taking wild swings is not “better” than one returning 10% with low volatility — not if the risk-adjusted return is similar or worse.

The Sharpe Ratio standardizes this comparison:

Sharpe Ratio = (Portfolio Return − Risk-Free Rate) ÷ Standard Deviation

A higher Sharpe ratio means more return per unit of risk. If the risk-free rate (e.g., 10-year Treasury yield) is 4.5% and your portfolio returned 12% with a standard deviation of 15%, your Sharpe ratio is (12% − 4.5%) ÷ 15% = 0.50. A ratio above 1.0 is generally considered good; above 2.0 is excellent.

This is also why index funds consistently beat active managers on a risk-adjusted basis. According to the S&P SPIVA report, more than 80% of actively managed funds underperform the S&P 500 over 20-year periods— even before accounting for the higher fees they charge. A low-cost S&P 500 index fund typically delivers a superior Sharpe ratio simply by minimizing costs and avoiding stock-picking errors.

Calculate your stock returns instantly

Use our free Stock Return Calculator →
Disclaimer: This guide is for educational purposes only and does not constitute investment advice. Past performance does not guarantee future returns. All investing involves risk, including the possible loss of principal. Consult a qualified financial advisor before making investment decisions.

Frequently Asked Questions

How do you calculate stock return?

Stock return is calculated as: Return% = (Ending Value − Beginning Value + Dividends) ÷ Beginning Value × 100. For example, buying 10 shares at $50 ($500 total), selling at $75 ($750), with $20 in dividends: return = ($750 − $500 + $20) ÷ $500 × 100 = 54%. This captures both price appreciation and dividend income — the complete picture of what you earned.

What is CAGR and how is it calculated?

CAGR (Compound Annual Growth Rate) is the annualized return that, if compounded each year, explains your actual total result. Formula: CAGR = (Ending Value ÷ Beginning Value)^(1/Years) − 1. A $10,000 investment growing to $18,000 in 6 years has a CAGR of (18,000 ÷ 10,000)^(1/6) − 1 = 10.3%. CAGR smooths year-to-year volatility into a single comparable rate.

What is the average stock market return?

The S&P 500 has returned approximately 10.5% annually (nominal)since its 1957 inception, or roughly 7% after inflation. The 30-year average (1994–2024) is about 10.7% nominal. The recent 10-year average (2014–2024) ran higher at ~13% due to an unusually strong bull market cycle. For planning purposes, most financial planners use 7% real or 10% nominal as a conservative long-run baseline.

What is total return vs price return?

Price return measures only the change in share price. Total return adds dividends and assumes they are reinvested. Over long periods, the gap is enormous — dividends have accounted for approximately 40% of the S&P 500's total return over the past 30 years according to Hartford Funds. Always use total return when evaluating investment performance; price return dramatically understates actual wealth accumulation.

How do dividends affect stock returns?

Dividends boost total return directly and, when reinvested, compound on top of price gains. A stock yielding 2% adds 2 percentage points to total annual return before compounding. Over 30 years, that reinvested 2% yield becomes transformational — turning what looks like a modest income stream into a doubling of terminal wealth relative to a price-only return. This is why dividend reinvestment programs (DRIPs) are so powerful for long-term investors.