Stock Return Calculator
Calculate the total return, annualized return, and profit/loss on any stock investment. Use this free financial calculator for instant results. No signup.
How to Calculate Stock Investment Returns
The total return on a stock investment includes both price appreciation (or depreciation) and any dividends received. This calculator focuses on price-based return, computing three key metrics: total profit/loss, total return percentage, and annualized (CAGR) return.
Total Return % = (Sell Price − Buy Price) / Buy Price × 100. A stock bought at $50 and sold at $75 generates a 50% total return, regardless of how long you held it.
Annualized Return (CAGR) = (Sell Price / Buy Price)1/years − 1. This normalizes returns across different holding periods, allowing meaningful comparison. A 50% total return over 1 year is spectacular; the same 50% return over 10 years represents only 4.1% annually—well below the long-run S&P 500 average.
| Buy Price | Sell Price | Shares | Total Return | CAGR (5 yrs) |
|---|---|---|---|---|
| $50 | $75 | 100 | $2,500 / 50% | 8.45% |
| $100 | $200 | 50 | $5,000 / 100% | 14.87% |
| $30 | $18 | 200 | −$2,400 / −40% | −9.45% |
| $500 | $750 | 20 | $5,000 / 50% | 8.45% |
Understanding CAGR — Compound Annual Growth Rate
CAGR is the most honest way to compare investment returns across different time horizons. When a fund advertises "200% returns over 10 years," that sounds impressive until you calculate the CAGR: (1 + 2.0)1/10 − 1 = 11.6% per year — roughly in line with the S&P 500 average, implying no outperformance was delivered.
CAGR smooths out the volatility of individual years, showing the steady rate of growth that would produce the same result. A portfolio that gained 50% in year one and lost 30% in year two has a total return of 5% but a very different story than one that gained 2.5% each year. CAGR of the first portfolio is approximately 2.47%/year—nearly identical, despite the wild swings.
| Holding Period | Total Return | CAGR | Meaning |
|---|---|---|---|
| 1 year | 50% | 50.00% | Exceptional single-year gain |
| 5 years | 50% | 8.45% | Solid above-market return |
| 10 years | 50% | 4.14% | Below long-run S&P 500 average |
| 20 years | 50% | 2.05% | Barely beating inflation |
| 10 years | 200% | 11.61% | In-line with index performance |
The formula: CAGR = (End Value / Start Value)1/n − 1, where n is the number of years. For calculating the end value of an investment: End Value = Principal × (1 + CAGR)n.
The Role of Dividends in Total Return
This calculator measures price-only return. For many stocks, especially mature blue-chip companies, dividends constitute a substantial portion of total return. Historically, dividends have accounted for roughly 40% of the S&P 500's total return since 1926 — meaning a price-only calculation significantly understates real-world performance.
The dividend yield = Annual Dividend / Share Price. A stock at $100 paying $3/year in dividends has a 3% yield. If the share price stays flat and you hold for 10 years, your total return from dividends alone is approximately 34% (with reinvestment via dollar-cost averaging into new shares, compounding increases this further).
Dividend Reinvestment Plans (DRIPs) automatically use dividends to purchase additional shares, creating compounding returns over time. A $10,000 investment in an index fund with a 2% dividend yield, 7% price appreciation, and dividends reinvested grows to approximately $38,700 over 20 years — compared to $28,700 with price appreciation only. That $10,000 difference underscores why dividend reinvestment matters enormously in long-term wealth building.
Risk-Adjusted Returns: Thinking Beyond Raw Percentage
Raw return is only part of the picture. A hedge fund returning 15% annually with massive volatility is less attractive than an index fund returning 11% steadily — especially for investors who cannot stomach watching 40% drawdowns.
The Sharpe ratio = (Portfolio Return − Risk-Free Rate) / Standard Deviation of Returns. A Sharpe ratio above 1.0 is generally considered good; above 2.0 is excellent. Two portfolios both returning 15% might have Sharpe ratios of 0.8 and 1.6 — the latter delivers more return per unit of risk taken.
Maximum drawdown measures the largest peak-to-trough decline in portfolio value before a new peak is established. A growth stock returning 200% over 5 years might experience a 70% drawdown during a bear market. Many investors panic-sell during large drawdowns, crystallizing losses and missing the recovery. Understanding historical maximum drawdowns helps you assess whether a strategy's volatility matches your risk tolerance.
| Investment Type | Expected Return | Typical Max Drawdown | Sharpe (approx.) |
|---|---|---|---|
| T-Bills (risk-free) | 4–5% | <1% | N/A (benchmark) |
| S&P 500 Index Fund | 9–11% | 34–57% | 0.5–0.7 |
| Small-Cap Index Fund | 10–13% | 45–65% | 0.4–0.6 |
| Individual Growth Stock | Variable (−100% to +500%) | 50–90%+ | Highly variable |
Tax Considerations for Stock Returns
The US tax code distinguishes between short-term and long-term capital gains, and the difference is significant. Short-term gains (assets held ≤ 1 year) are taxed as ordinary income at rates up to 37%. Long-term gains (assets held > 1 year) receive preferential rates of 0%, 15%, or 20% depending on your taxable income.
Tax-Loss Harvesting: When a position is down, you can sell it to realize a loss, which offsets capital gains elsewhere in your portfolio — potentially eliminating your tax bill for the year. You can then repurchase a similar (but not identical, due to wash-sale rules) position 30+ days later to maintain your market exposure.
Tax-advantaged accounts (401k, IRA, Roth IRA) eliminate or defer these taxes entirely. In a Roth IRA, all gains are tax-free — a stock that grows from $10,000 to $100,000 over 30 years generates $90,000 in gains with zero tax on withdrawal. In a traditional IRA or 401k, taxes are deferred until withdrawal, typically in a lower tax bracket during retirement.
Building a Long-Term Investment Portfolio
Individual stock selection is a high-variance strategy. Research consistently shows that over 15+ year periods, 80–95% of active fund managers and individual stock pickers underperform simple low-cost index funds. This is partly due to fees, partly due to the difficulty of consistently outperforming a market that rapidly incorporates all available information (Efficient Market Hypothesis).
A well-constructed portfolio for a long-term investor typically includes:
- Core equity allocation: 60–80% in broad-market index funds (e.g., total US market + international index)
- Bond allocation: 10–30% in investment-grade bonds for stability and rebalancing opportunities during equity downturns
- Alternatives: 0–10% in REITs, commodities, or other uncorrelated assets
- Emergency fund: 3–6 months of expenses in cash/money market, kept separate from investment portfolio
The equity:bond split is often simplified as (100 − Age) in equities — a 30-year-old holds 70% equities, a 60-year-old holds 40%. More aggressive versions use 110 or 120 minus age to reflect longer lifespans and the need for growth even in retirement.
Common Investment Mistakes to Avoid
Performance chasing: Buying last year's best-performing stocks or funds is one of the most reliably poor strategies. Morningstar research shows that average investor returns significantly lag fund returns because investors buy after strong performance and sell after poor performance — exactly backwards.
Ignoring fees: A 1% annual management fee sounds trivial but reduces a $100,000 30-year portfolio by over $90,000 compared to a 0.05% index fund — nearly 20% of final wealth transferred to fund managers in exchange for underperformance.
Overconcentration: Holding one or a few stocks exposes you to company-specific risk that diversification eliminates for free. Even professional portfolio managers with entire teams of analysts rarely beat diversified index funds over 15+ year periods.
Market timing: Missing the 10 best trading days per decade cuts portfolio returns roughly in half — and those best days often occur during or just after the worst periods of panic selling, when most market-timers are out of the market.
Frequently Asked Questions
What is a good annual stock market return?
The S&P 500 has averaged approximately 10% annually (7% after inflation) over the past 50 years. Individual stock picks are far more variable — many underperform the index. For planning purposes, using 7% nominal or 4–5% real (after inflation) is conservative and defensible for long-term projections.
How do I calculate my total return including dividends?
Total return including dividends = (Sell Price − Buy Price + Total Dividends Received) / Buy Price × 100. For accuracy, if dividends were reinvested, calculate the number of additional shares purchased and include those in your final share count and proceeds.
How do taxes affect my stock returns?
Capital gains taxes reduce effective returns significantly. Short-term gains (held < 1 year) are taxed as ordinary income (10–37%). Long-term gains (held ≥ 1 year) are taxed at 0%, 15%, or 20%. Tax-advantaged accounts like 401k, IRA, and Roth IRA eliminate or defer these taxes, substantially boosting long-term outcomes.
Should I invest in individual stocks or index funds?
For most investors, low-cost index funds are the superior choice. Over any 15+ year period, 80–95% of actively managed funds and individual stock pickers underperform simple S&P 500 or total market index funds after fees. Index funds eliminate stock-picking risk, reduce costs dramatically, and match the overall market's long-run growth.
What is the difference between total return and annualized return?
Total return is the overall percentage gain or loss over the entire holding period. Annualized return (CAGR) converts that total return into a per-year figure, enabling comparison across different holding periods. A 100% total return over 5 years equals a 14.87% annualized return. The same 100% total return over 10 years equals only 7.18% per year.
How do I calculate my return if I made multiple purchases at different prices?
Use the money-weighted return (IRR) method. Calculate the total cost basis (sum of all purchases), total proceeds (sum of all sales plus current market value of remaining shares), and use an IRR calculator to find the annualized return. Brokerages typically display this in your account dashboard.
What does a negative return mean?
A negative return means you sold (or would sell) the stock for less than you paid. For example, buying at $100 and selling at $70 gives a −30% return. Capital losses can offset capital gains for tax purposes, and in some cases reduce ordinary income by up to $3,000 per year, with the remainder carried forward.
How is stock return different from bond return?
Stock returns come from capital appreciation (price gains) and dividends, and are variable — stocks can lose 50% or gain 50% in a year. Bond returns come primarily from coupon interest payments and are more predictable, though bonds also have price risk when interest rates change. Long-term, stocks historically outperform bonds by 3–5% per year (the equity risk premium).
What is the Rule of 72?
The Rule of 72 estimates how long it takes to double an investment: Years to double ≈ 72 / annual return %. At 8% annual return, your money doubles every 9 years (72 ÷ 8 = 9). At 6%, it doubles every 12 years. This quick mental calculation helps evaluate the real power of compound returns.
How do I account for inflation in my stock return?
Subtract the inflation rate from your nominal return to get the real return. If your stocks returned 9% and inflation was 3%, your real return is approximately 6%. Over long periods, only real returns matter for purchasing power. Use the formula: Real Return = (1 + Nominal Rate) / (1 + Inflation Rate) − 1 for precision.
Benchmarking Your Returns: Are You Beating the Market?
A common mistake is evaluating stock returns in isolation. A 12% annual return sounds great — until you learn the S&P 500 returned 20% that same year. Outperformance (alpha) is only visible when compared against an appropriate benchmark.
Common benchmarks by asset class:
- US large-cap stocks: S&P 500 index (SPX) — the standard benchmark for US equities
- US total market: Wilshire 5000 or CRSP US Total Market Index
- International developed: MSCI EAFE Index (Europe, Australasia, Far East)
- Emerging markets: MSCI Emerging Markets Index
- Bonds: Bloomberg US Aggregate Bond Index
- REITs: FTSE NAREIT All REITs Index
The S&P 500 has returned approximately 10.2% annually since 1928 (nominal) or 7.1% real (after inflation). This is the most cited baseline for US equity performance. If your portfolio of individual stocks consistently underperforms this index over 5+ year periods, you are destroying value through stock selection — your time, taxes, and transaction costs are generating negative alpha. In that case, switching to a low-cost index fund is a strictly superior strategy.
To calculate excess return (alpha): α = Portfolio Return − Benchmark Return. A portfolio returning 8% when the S&P 500 returned 12% has α = −4% (underperformed by 4 percentage points). Alpha must be adjusted for risk (beta) to be meaningful — a portfolio that takes twice the market's risk and earns twice the return has not generated true alpha. True alpha (Jensen's alpha) = Portfolio Return − [Risk-Free Rate + Beta × (Benchmark Return − Risk-Free Rate)]. Generating consistent positive risk-adjusted alpha over market cycles is extraordinarily rare; fewer than 5% of professional fund managers achieve it over any 20-year period.
The Compound Interest Foundation
The power of stock returns lies in compound growth — earning returns not just on your original investment but on all accumulated gains. Albert Einstein is often (apocryphally) credited with calling compound interest the eighth wonder of the world. Whether or not he said it, the mathematics is genuinely remarkable.
A $10,000 investment at 10% annual return:
- After 10 years: $10,000 × 1.1010 = $25,937
- After 20 years: $10,000 × 1.1020 = $67,275
- After 30 years: $10,000 × 1.1030 = $174,494
- After 40 years: $10,000 × 1.1040 = $452,593
The same investment doubling every 7.2 years (the Rule of 72 at 10%) grows from $10,000 to over $450,000 in 40 years — a 44× return, with $440,000 being pure compound growth on an initial $10,000 investment. No single-year return achieved this; it is the slow, relentless accumulation of compounding over decades.
Starting earlier has a disproportionate impact. An investor who puts $10,000 in at age 25 and does nothing else will have $452,593 at age 65 (at 10%). An investor who waits until age 35 invests the same $10,000 and earns the same return — but ends up with only $174,494. That 10-year delay cost $278,099 in final wealth, even though only $10,000 was ever invested. Time in the market is far more valuable than timing the market.
| $10,000 at 7%/yr | $10,000 at 10%/yr | Years | Multiplier |
|---|---|---|---|
| $19,672 | $25,937 | 10 | 2.0×–2.6× |
| $38,697 | $67,275 | 20 | 3.9×–6.7× |
| $76,123 | $174,494 | 30 | 7.6×–17.4× |
| $149,745 | $452,593 | 40 | 15×–45× |
Dollar-Cost Averaging and Lump-Sum Investing
Beyond single-purchase return calculations, most real investors deploy capital gradually — through payroll contributions to a 401(k), periodic DRIP reinvestments, or deliberate monthly investment plans. Dollar-cost averaging (DCA) automatically purchases more shares when prices are low and fewer when prices are high, since you invest a fixed dollar amount each period.
Research comparing DCA to lump-sum investing (investing all available capital immediately) consistently shows that lump-sum investing outperforms DCA about two-thirds of the time in rising markets. However, DCA reduces the emotional difficulty of investing — it removes the anxiety of "is now a good time?" by removing the decision entirely. For regular investors contributing from ongoing income (not a windfall), DCA is the natural strategy and the psychological benefits are real.
To calculate the average cost per share from multiple DCA purchases: divide total dollars invested by total shares purchased. This is the average cost basis for tax purposes. Example: buy 10 shares at $50, 10 at $40, 10 at $60 → total cost = $1,500, total shares = 30, average cost = $50/share. If the stock is now at $65, your total return is ($65−$50)/$50 × 100 = 30%, and profit is 30 × ($65−$50) = $450.