Stock Portfolio Return Calculator

📈 Free Portfolio Analytics Tool

Stock & Portfolio
Return Calculator

Track investment performance across multiple assets. Calculate total return, CAGR, inflation-adjusted real returns, and benchmark comparison — instantly.

Multi-Asset Portfolio Tracking
CAGR & Real Returns
Investor-Grade Insights

Build Your Portfolio

Add your investments below. Each row calculates individual returns automatically. Portfolio totals update in real time.

Used for real return calculation
0 = no tax estimate
Default: ~10.5% (S&P 500 long-term historical average, nominal)
Asset / Ticker Buy Price Current/Sell Price Shares Dividends ($) Fees ($) Buy Date Sell Date Remove row
Total portfolio value
—
—
—
Total Invested
—
Net Profit / Loss
—
Weighted CAGR
—
Real Return
—
Benchmark CAGR: —
Your portfolio CAGR: —
Difference: —
—
Estimated Tax Liability—
After-Tax Profit—
After-Tax Return—
—
AssetInvestedCurrent ValueGain / LossReturn %CAGRHolding
📊 Return % per asset
📈 Projected growth: your CAGR vs benchmark, next 20 years
Your portfolio at current CAGR
Same start value at benchmark CAGR

This projection assumes your current weighted CAGR and the benchmark CAGR both hold steady going forward. Real markets do not grow in a straight line, so treat this as an illustration of how a CAGR gap compounds, not a forecast.

📈 Portfolio insight:
—
💡 Benchmark analysis:
—
⚠️ Inflation & fees:
—
⚠️ Disclaimer: This calculator provides estimates for educational purposes only. It does not constitute financial advice. Returns shown are pre-tax unless a tax rate is specified. Past performance is not indicative of future results. Always consult a qualified financial adviser for investment decisions.

Stock & Portfolio Return Calculator: Track Your Investment Performance

Most investors know roughly how their portfolio has done — “up about 40% since I bought it” — but few can answer more precise and important questions: What was my annualized return? Am I outperforming the market? What is my real return after inflation? How much have fees and taxes actually cost me? These questions matter enormously for long-term wealth building, yet the tools to answer them have historically been locked behind expensive brokerage platforms or professional portfolio management software. This free portfolio return calculator puts investor-grade analytics in your hands — add multiple investments, enter purchase and current prices, and instantly see total return, CAGR, inflation-adjusted real returns, and benchmark comparison.

Quick example: You bought 50 shares of a stock at $120 in January 2020 and they’re now worth $210 (June 2025) — plus you received $400 in dividends. Total invested: $6,000. Current value: $10,500 + $400 dividends = $10,900. Absolute return: +81.7%. CAGR: approximately 11.6% annualized (over roughly 5.4 years). Against the S&P 500’s ~14% CAGR over the same period, you underperformed the benchmark by about 2.4 percentage points annually. Enter your specific holdings above to see your own analysis instantly.

What Is a Portfolio Return Calculator?

A portfolio return calculator is an analytical tool that evaluates the performance of one or more investments over time, producing both total and annualized return metrics across the entire portfolio and for individual holdings. Unlike a simple stock profit calculator that tells you only whether you made or lost money, a comprehensive investment return calculator accounts for dividends received, transaction fees paid, the time value of money (through CAGR), inflation’s erosion of purchasing power, and how your portfolio stacks up against a relevant benchmark.

The value of a portfolio calculator lies not just in knowing your return, but in understanding the quality of that return. A 50% total return over 10 years sounds impressive until you realize it equates to only 4.1% annualized — below the rate of inflation and well below what a simple S&P 500 index fund would have delivered. Context transforms a number into insight.

How to Calculate Stock Returns

At its most fundamental, stock return calculation measures the change in value of an investment, including any income received. The key components are:

  • Capital gain/loss: (Sell price − Buy price) × Number of shares
  • Dividend income: Total dividends received during the holding period
  • Transaction costs: Brokerage commissions, platform fees, stamp duty
  • Total return: (Capital gain + Dividends − Fees) ÷ Total cost × 100

Total Return Formula:
Total Return % = [(Current Value − Cost Basis + Dividends − Fees) ÷ Cost Basis] × 100

Example: 100 shares bought at $50 = $5,000 invested. Now worth $72/share = $7,200. Dividends received: $300. Fees paid: $20.
Total Return = [(7,200 − 5,000 + 300 − 20) ÷ 5,000] × 100 = +49.6%

While total return is important, it’s an incomplete picture without the time dimension. A 49.6% return over 2 years is extraordinary. The same return over 15 years is merely adequate. This is where CAGR comes in.

What Is CAGR (Annualized Return)?

CAGR — Compound Annual Growth Rate — is the most important single metric for evaluating and comparing investment performance. It measures the rate at which an investment would have grown each year if it had grown at a steady rate, removing the distortion of volatile year-to-year performance.

CAGR Formula:
CAGR = [(Ending Value ÷ Beginning Value)^(1 ÷ Years)] − 1

Example: $5,000 grows to $7,200 over 3.5 years:
CAGR = [(7,200 ÷ 5,000)^(1 ÷ 3.5)] − 1 = (1.44)^0.286 − 1 = 10.8% per year

This means the investment grew at the equivalent of 10.8% compounded annually for 3.5 years.

CAGR is the preferred metric for comparing investments held over different time periods, evaluating a fund manager’s track record, and understanding whether your returns justify the risk you’re taking. The SEC’s Investor.gov glossary explains how compounding drives investment growth, which is the same principle CAGR reverses to find an equivalent steady annual rate. The CAGR calculator functionality built into the portfolio return tool above computes this automatically for each investment and for the overall portfolio.

Total Return vs Annualized Return

These two metrics measure fundamentally different things and are often confused by investors:

MetricWhat it measuresBest used for
Total Return (%)Cumulative gain/loss over the entire holding periodMeasuring absolute wealth creation from an investment
CAGR (%)Equivalent annual growth rateComparing investments held over different time periods
Absolute Gain ($)Dollar profit or lossMeasuring the actual wealth change in currency terms
Real Return (%)Return after adjusting for inflationUnderstanding purchasing power gain
Tax-adjusted Return (%)Net return after estimated capital gains taxUnderstanding actual after-tax wealth gain

A sophisticated investor tracks all five. The stock return calculator above generates all of them simultaneously, giving you a complete multi-dimensional view of each investment’s performance.

Importance of Dividends in Investment Returns

Dividends are frequently underestimated as a component of total investment return. Research consistently shows that dividend income has accounted for approximately 40% of the S&P 500’s total return over the past century. An investor who tracks only price appreciation misses nearly half the story.

Consider two stocks: Stock A appreciates 8% annually with no dividends. Stock B appreciates 5% annually but pays a 3% dividend yield. Their nominal total returns are identical. However, if Stock B’s dividends are reinvested (DRIP — Dividend Reinvestment Plan), the compounding of those reinvested dividends means Stock B’s long-term total return substantially exceeds Stock A’s due to the compounding of reinvested income.

The dividend return calculator functionality in the portfolio tool above allows you to enter total dividends received per investment, which are added to the gain calculation before computing both total and annualized return.

Inflation-Adjusted (Real) Returns Explained

A nominal return of 8% per year when inflation is running at 4% means your purchasing power is growing at only about 3.85% per year — your “real return.” This distinction is critical for retirement planning and long-term wealth building, because it’s real returns (after inflation) that determine your actual increase in purchasing power.

Real Return Formula (Fisher Equation):
Real Return ≈ Nominal Return − Inflation Rate
(Precise: Real Return = [(1 + Nominal) ÷ (1 + Inflation)] − 1)

Example: 10% nominal return with 3.5% inflation:
Approximate: 10% − 3.5% = 6.5%
Precise: [(1.10) ÷ (1.035)] − 1 = 6.28% real return

Over 20 years, 10% nominal at 3.5% inflation: $10,000 grows to $67,275 nominally but only $34,200 in today’s purchasing power.

Historical US inflation has averaged approximately 3% over the long term, with significant variation, from under 2% in the 2010s to over 8% in 2022. The U.S. Bureau of Labor Statistics publishes the Consumer Price Index, the standard reference for measuring US inflation over time. The default 3% in the investment return calculator above is a reasonable long-term planning assumption, though you can adjust it to match current conditions or a specific planning scenario.

How Taxes Impact Investment Returns

Capital gains taxes can significantly erode the apparent performance of a portfolio. Per the IRS’s guidance on capital gains and losses, assets held over 12 months qualify for long-term rates of 0%, 15%, or 20% depending on income level, while assets held one year or less are taxed as ordinary income (up to 37% federally). State taxes add another 0 to 13%.

The tax impact compounds dramatically over time. An investor in the 20% capital gains bracket who earns 10% annualized for 20 years doesn’t simply keep 80% of their gains — the tax drag on an annually-taxed portfolio versus a tax-deferred account can amount to 20–35% less terminal wealth over multi-decade periods, depending on when and how gains are realized.

Holding periodUS Federal CGT rate (2024)Impact on $50,000 gain
Short-term (<12 months)Up to 37% (ordinary income)Up to $18,500 in tax
Long-term (12+ months, lower income)0%$0
Long-term (middle income)15%$7,500
Long-term (higher income)20% (+3.8% NIIT)$11,900

Enter your estimated capital gains tax rate in the calculator above to see after-tax profit and after-tax return figures for your portfolio.

Comparing Portfolio vs Benchmark (S&P 500)

Perhaps the most important performance question any investor can ask is: am I doing better than I would have done just buying an index fund? The S&P 500 is the most common benchmark for US equity investors, with a long-term nominal CAGR of approximately 10–11% and a real (inflation-adjusted) CAGR of approximately 7%.

Research consistently shows that approximately 80–90% of actively managed funds underperform their benchmark over 15+ year periods, net of fees. For individual investors, the benchmark comparison is even more sobering — the average retail investor significantly underperforms market indices due to poor timing, high-fee products, and behavioral errors.

The benchmark comparison feature in the portfolio performance calculator above compares your weighted portfolio CAGR against the benchmark CAGR you specify, showing outperformance or underperformance in percentage points. Even a 2% annual underperformance compounds dramatically: on a $500,000 portfolio, the difference between 10% and 8% CAGR over 20 years is approximately $1.45 million in terminal wealth.

Real-Life Portfolio Examples

Example 1: Three-Stock Technology Portfolio

Asset 1 — AAPL: 20 shares at $150, now $225. Dividends: $48. Holding: 3 years.
Invested: $3,000 | Value: $4,500 | Gain: +$1,548 | CAGR: 14.9%

Asset 2 — MSFT: 10 shares at $280, now $410. Dividends: $90. Holding: 3 years.
Invested: $2,800 | Value: $4,100 | Gain: +$1,390 | CAGR: 14.4%

Asset 3 — META: 15 shares at $200, now $550. No dividends. Holding: 3 years.
Invested: $3,000 | Value: $8,250 | Gain: +$5,250 | CAGR: 40.1%

Portfolio total: Invested $8,800 → Value $16,850 + $138 divs → Total return: +93.0% · Weighted CAGR: 23.3%
vs S&P 500 CAGR ~10.5% over same period — outperforming by ~12.8% annualized

Example 2: Diversified Long-Term Portfolio (10 Years)

US Large Cap index fund: $20,000 → $52,000 over 10 years. CAGR: 10.0%
International equity fund: $10,000 → $18,000 over 10 years. CAGR: 6.1%
Bond fund: $10,000 → $14,200 over 10 years. Dividends: $3,200. CAGR: 5.7% (with income)

Portfolio total: $40,000 invested → $87,400 total value
Total return: +118.5% · Weighted CAGR: 8.0%
Real return (3% inflation): ~4.8% p.a., a solid long-term wealth-building outcome

Example 3: A Losing Position and What It Teaches

Asset (small-cap growth stock): 40 shares bought at $85 ($3,400 invested), now trading at $61. No dividends. $15 in fees. Holding: 2.2 years.
Current value: 40 × $61 = $2,440 | Gain: $2,440 − $3,400 − $15 = −$975 | Return: −28.7%

CAGR: [($2,425 ÷ $3,400)^(1 ÷ 2.2)] − 1 = −14.2% per year

If this were the investor’s only holding, a capital gains tax rate wouldn’t apply at all, since capital losses aren’t taxed, and the calculator above correctly hides the tax row whenever the net result is a loss. Held alongside the two winning positions from Example 1, this loss would pull the portfolio’s weighted CAGR down in proportion to how much of the total invested capital it represents, which is exactly the behavior a cost-weighted portfolio calculation should produce. The lesson isn’t that a single loss is fatal. It’s that a concentrated position carries the same downside math shown here that it carries on the upside, demonstrated by Example 1’s META position.

Important Notes and Assumptions

This calculator is built for clarity and speed, not for replicating brokerage statement accounting to the cent. A few things worth knowing before you rely on the numbers:

  • Weighted CAGR, not a single compounding path: the portfolio’s overall CAGR is a cost-weighted average of each holding’s individual CAGR. It’s a useful summary figure, but it isn’t the same as running one unified cash-flow model with contributions added at different dates (an XIRR calculation), which can diverge from a simple weighted average when large positions are added or removed mid-stream.
  • Dividends are entered as a lump sum: the calculator treats total dividends received as a single figure added at the end of the holding period, rather than modeling each individual dividend reinvested on its payment date. This slightly understates the benefit of dividend reinvestment (DRIP) on long holding periods.
  • Tax estimate is simplified: the capital gains tax figure applies one flat rate to the total gain. It doesn’t distinguish short-term from long-term holdings, doesn’t account for tax-loss harvesting across positions, and doesn’t reflect state taxes, the net investment income tax, or your specific tax bracket.
  • Inflation and benchmark figures are user inputs, not live data: the calculator doesn’t pull a current inflation rate or benchmark return from any external feed. The 3% inflation default and 10.5% benchmark default are long-run historical approximations you should update to match your own assumptions or a more recent figure.
  • Rounding: dollar figures in the results are rounded to the nearest whole unit for readability. Percentages are shown to two decimal places. Very small portfolios or very short holding periods can make percentage changes look more dramatic than the dollar amounts suggest.
  • Not financial or tax advice: this tool is for personal planning and education. It doesn’t know your full financial picture, filing status, or goals. For decisions with real tax or legal consequences, a licensed financial adviser or tax professional can give guidance the calculator isn’t built to provide.

How to Improve Portfolio Performance

📊

Minimize costs relentlessly

Expense ratios, trading commissions, and advisory fees are the most predictable drag on returns. A 1% fee difference compounded over 30 years on $100,000 costs approximately $430,000 in terminal wealth. Prioritise low-cost index funds.

⏰

Maximize holding periods

Longer holding periods increase compounding benefits, reduce realized tax events, and smooth out short-term volatility. The best investors are distinguished not by superior stock selection but by superior patience.

🔄

Reinvest dividends consistently

Dividend reinvestment (DRIP) captures compounding on income, not just capital appreciation. Over decades, reinvested dividends can account for 50%+ of total portfolio value in dividend-paying stocks.

🌍

Diversify across asset classes

Diversification reduces volatility without proportionally reducing expected return. As the SEC’s Investor.gov notes, spreading money across investments means a loss in one holding can be offset by gains elsewhere, which is why a well-diversified portfolio tends to produce steadier risk-adjusted returns than a concentrated bet, even one that occasionally wins.

🧘

Avoid behavioral mistakes

Studies consistently show that the average investor’s actual returns lag the funds they invest in by 1–2% annually due to mistimed buying and selling. Regular rebalancing and a written investment plan reduce emotional decision-making.

💰

Maximize tax-advantaged accounts

Maximising contributions to 401(k), IRA, ISA, or equivalent tax-sheltered accounts eliminates the annual tax drag and allows full compounding on the pre-tax return, producing dramatically better long-term outcomes.

Common Investing Mistakes

  • Chasing recent performance: Investors who shift money to last year’s top-performing funds consistently buy high and sell low, producing returns significantly below the funds themselves.
  • Ignoring total return (including dividends): Investors focused only on price appreciation miss a critical component of long-term returns, particularly in dividend-paying stocks and REITs.
  • Over-trading: Each trade incurs commissions, bid-ask spreads, and potentially short-term capital gains taxes. High turnover is one of the most consistent destroyers of retail investor returns.
  • Not accounting for inflation: Treating a nominal 6% return as a “6% gain” when inflation is 4% means your actual purchasing power gain is under 2%. Real returns are what matter for long-term planning.
  • Concentration risk: Holding more than 10–15% in any single stock, sector, or geography exposes the portfolio to company-specific or sector-specific risk that offers no additional expected return premium.
  • Market timing: Missing the 10 best days in the S&P 500 between 2003 and 2023 would have reduced a $10,000 investment from ~$64,000 to ~$29,000 — a dramatic cost of being out of the market at the wrong time.

Long-Term Investing vs Short-Term Trading

The data on long-term buy-and-hold investing versus active short-term trading is unambiguous: for the vast majority of investors, long-term diversified investing produces superior risk-adjusted returns. The reasons are compounding of returns, reduced transaction costs, reduced capital gains tax events, and elimination of behavioral timing errors.

This doesn’t mean short-term trading is impossible to do profitably — some market participants with edge (quantitative models, information advantages, superior discipline) do generate consistent alpha. But for the typical investor using a stock return calculator to evaluate their holdings, the findings consistently favor patience: the longer a well-diversified portfolio is held, the more certain the positive outcome becomes, and the more powerfully compounding works in the investor’s favor.

The power of compounding: $10,000 invested at 10% CAGR for 10 years = $25,937. For 20 years = $67,275. For 30 years = $174,494. For 40 years = $452,593. The growth from year 30 to 40 alone ($278,099) exceeds the total value at year 30. Time in the market, not timing the market, is the primary driver of long-term wealth accumulation.

How to Track Your Investments Effectively

Effective investment tracking goes beyond knowing your current account value. A comprehensive tracking practice includes:

  • Record keeping: Maintain records of all purchase prices, dates, and fees for accurate cost basis calculation. This is essential for accurate return calculation and tax reporting.
  • Regular performance review: Quarterly portfolio reviews against benchmark return and original investment thesis are sufficient for most long-term investors. More frequent review increases the temptation to over-trade.
  • Rebalancing discipline: When asset allocation drifts significantly from target (e.g., by 5+ percentage points), rebalancing back to target enforces buy-low-sell-high discipline systematically.
  • Total return tracking: Always include dividends and income in performance calculations — price-only return dramatically understates the performance of income-generating assets.
  • Benchmark comparison: Regularly comparing your portfolio’s CAGR against a relevant benchmark tells you whether your active decisions are adding or destroying value relative to simply owning the market.

Related Investment Calculators

Frequently Asked Questions

How do I calculate stock returns?
Stock return is calculated as: [(Sell Price − Buy Price) × Shares + Dividends − Fees] ÷ [Buy Price × Shares] × 100. For example, buying 100 shares at $50 ($5,000 invested), selling at $70 ($7,000), with $200 dividends and $20 in fees: Return = [(7,000 − 5,000 + 200 − 20) ÷ 5,000] × 100 = 43.6%. For annualized return (CAGR), use: [(Ending Value ÷ Beginning Value)^(1 ÷ Years)] − 1. The stock return calculator above handles all of this automatically — simply enter your buy/sell prices, shares, dividends, fees, and dates.
What is CAGR?
CAGR (Compound Annual Growth Rate) is the rate at which an investment would have grown each year if it grew at a steady rate. It smooths out year-to-year volatility to give a meaningful average annual return figure. Formula: CAGR = [(Ending Value ÷ Beginning Value)^(1 ÷ Years)] − 1. CAGR is the most useful metric for comparing investments held over different time periods, because it normalizes for time. A 50% total return over 2 years (CAGR ~22.5%) and a 50% total return over 10 years (CAGR ~4.1%) sound the same but are dramatically different in quality of performance.
How do I calculate portfolio return?
Portfolio return is calculated as the weighted combination of individual investment returns, where each investment’s contribution is proportional to its cost basis. The portfolio return calculator above computes this automatically: (1) For each investment, calculate total cost, current value, dividends, and fees. (2) Sum all costs to get total invested. (3) Sum all current values plus dividends minus fees to get total portfolio value. (4) Portfolio total return = (Total Portfolio Value − Total Invested) ÷ Total Invested × 100. For CAGR, a value-weighted average of individual investment CAGRs is used.
What is annualized return?
Annualized return (equivalent to CAGR) expresses what your total return over a multi-year period would equate to on an annual basis, assuming compounding. It answers: “If my investment grew at the same rate each year, what rate would that be?” This makes it possible to meaningfully compare an investment held for 2 years against one held for 8 years. Annualized return = [(1 + Total Return)^(1 ÷ Years)] − 1. A 100% total return over 10 years = 7.18% annualized. The same 100% return over 3 years = 26% annualized — vastly different performance quality.
How do dividends affect investment returns?
Dividends are a direct component of total return. A stock that appreciates 5% per year and pays a 3% dividend yield has an 8% total return — significantly higher than the price appreciation alone would suggest. Historically, dividends have accounted for approximately 40% of the S&P 500’s total return since 1926. When dividends are reinvested (DRIP), they compound over time, generating returns on previously earned income. The dividend return calculator above adds total dividends received to the gain calculation before computing return percentages.
What is real return after inflation?
Real return is your nominal investment return adjusted for inflation. It measures the actual increase in purchasing power — how much more you can buy with your investment gains. Real Return = [(1 + Nominal Return) ÷ (1 + Inflation Rate)] − 1. Approximately: Real Return ≈ Nominal Return − Inflation. If your portfolio returned 9% and inflation was 3.5%, your real return is approximately 5.3%. This matters because a nominal 8% return in a 7% inflation environment means you’re barely growing your real wealth. The investment return calculator above computes real return using the inflation rate you specify.
How do taxes affect investment returns?
Capital gains taxes directly reduce your net investment return. In the US, long-term capital gains (assets held 12+ months) are taxed at 0%, 15%, or 20% federally, depending on income. Short-term gains are taxed as ordinary income (up to 37%). State taxes add further. The tax drag compounds over time: an investor taxed annually at 20% on gains generates significantly less terminal wealth than a tax-deferred investor over long periods, because they pay tax on gains before those gains can compound further. Tax-advantaged accounts (401k, IRA, ISA) defer or eliminate this drag.
What is a good return on investment?
A “good” return depends on the asset class, time period, risk taken, and relevant benchmark. For US equity investors, the S&P 500 has returned approximately 10–11% nominally and 7% in real terms over the long run. Outperforming this on a risk-adjusted basis consistently is what active management aims to achieve — and rarely succeeds in doing over 10+ year periods. For most investors, achieving the market return through low-cost index funds is an excellent outcome. Returns need to be evaluated in context: 8% in a 2% inflation environment is excellent; 8% in a 7% inflation environment is mediocre.
How do I compare my portfolio to the market?
The most meaningful comparison is between your portfolio’s CAGR and the CAGR of a relevant benchmark (typically the S&P 500 for US equity investors) over the same time period. Comparing total returns across different time periods is misleading — CAGR normalizes for time. Enter your benchmark CAGR in the portfolio return calculator above to see your portfolio’s outperformance or underperformance in percentage points. A portfolio CAGR 2% above benchmark over 20 years produces dramatically more wealth than one tracking the benchmark — conversely, 2% below benchmark produces dramatically less.
What is the S&P 500 average return?
The S&P 500’s long-term average annual return has been approximately 10–11% nominally (before inflation) and 7% in real (inflation-adjusted) terms, measured from the 1950s through 2024. However, returns vary enormously by decade: the 1990s saw ~18% annualized, the 2000s lost money over the decade, the 2010s delivered ~13.6%, and 2020–2024 has averaged around 13–15%. The most recent 10-year rolling return as of early 2025 is approximately 12–14%. For planning purposes, using 7% real or 10% nominal as a benchmark represents the broad historical average, though future returns cannot be guaranteed.
Is CAGR better than total return?
CAGR and total return measure different things and serve different purposes. Total return tells you the absolute percentage gain or loss over the entire holding period — useful for understanding the magnitude of wealth creation from a specific investment. CAGR tells you the equivalent annual growth rate — essential for comparing investments held over different time periods and for setting realistic expectations about future growth. For most comparative and planning purposes, CAGR is the more useful metric. For communicating the simple outcome of a single investment, total return is more intuitive. A sophisticated investor uses both.

Track Your Portfolio Performance

Multi-asset returns, CAGR, dividend-adjusted analysis, and benchmark comparison — free, instant, investor-grade.

Calculate my portfolio returns ↑