Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesEarnSquareMore
daily_trading_volume_value
market_share59.13%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
daily_trading_volume_value
market_share59.13%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
daily_trading_volume_value
market_share59.13%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
how are stock returns calculated — Guide

how are stock returns calculated — Guide

This guide explains how are stock returns calculated in clear steps: holding‑period return, total return (including dividends and reinvestment), annualized/CAGR, log returns, inflation and tax adju...
2026-01-28 12:46:00
share
Article rating
4.3
103 ratings

How are stock returns calculated — Guide

This article answers the question how are stock returns calculated and shows practical, step‑by‑step methods investors use to measure gains or losses from stocks or digital assets. Read on to learn the standard formulas, how to include dividends and fees, how to annualize multi‑year performance, how log returns differ from simple returns, and how to handle corporate actions and crypto distributions. You will also find worked examples, spreadsheet tips (XIRR, LN, POWER), and practical reminders for choosing data sources and avoiding common pitfalls. Finally, we point to Bitget services and Bitget Wallet as tools to track and manage assets.

Note: this guide is educational and neutral. It does not offer investment advice.

Key concepts and terminology

Before we show calculations, here are concise definitions of terms you will see throughout the guide.

  • Price return: Change in the stock price only (P_end − P_start) / P_start.
  • Total return: Price return plus all cash distributions (dividends, interest) and any realized distributions from corporate actions.
  • Capital gain / loss: The monetary difference between sale price and purchase price (before fees).
  • Dividend yield: Dividends received in a period divided by the starting price (annualized when appropriate).
  • Holding‑period return (HPR): Simple return for a single holding period: (P1 − P0) / P0 (see below).
  • Return on investment (ROI): Informal synonym for HPR or total return depending on context.
  • Annualized return / CAGR: Compound annual growth rate: the average annual growth rate that links the beginning and ending values.
  • Arithmetic mean vs geometric mean: Arithmetic mean averages period returns; geometric mean (or CAGR) accounts for compounding.
  • Continuously‑compounded (log) return: r = ln(Pt / Pt−1), useful in statistics and models.
  • Nominal vs real return: Nominal is not adjusted for inflation; real return = (1 + nominal) / (1 + inflation) − 1.
  • Adjusted close price: Historical price series adjusted for dividends and splits (used for total‑return, dividend‑reinvested calculations).

Basic (simple) return / Holding‑period return (HPR)

The most direct way to answer how are stock returns calculated is the holding‑period return (HPR).

Formula (single period):

HPR = (Ending price − Beginning price) / Beginning price = (P1 − P0) / P0

Interpreting HPR:

  • Positive HPR (> 0) means a price gain.
  • Negative HPR (< 0) means a price loss.
  • HPR reflects only price movement unless you include distributions (see next section).

Example (single period): Assume you buy shares at P0 = $50 and sell at P1 = $60. HPR = (60 − 50)/50 = 10/50 = 0.20 = 20%.

This simple formula answers the direct question how are stock returns calculated for a single period when dividends and costs are excluded.

Including cash distributions (dividends, interest)

Most stocks pay dividends. To measure total economic gain you add cash distributions received while you owned the stock. The general formula becomes:

Total return = (Sale price − Purchase price + Distributions − Fees) / Purchase price

If you held the stock but did not sell, use current market value as Sale price. If you want percent return, multiply by 100.

Example (dividends included): Buy at $50, sell at $60, receive $2 in dividends, pay $0.50 in commissions. Total return = (60 − 50 + 2 − 0.5) / 50 = 11.5/50 = 23%.

When dividends are reinvested, your ending value includes the shares bought with each dividend; this increases total return versus dividends taken as cash (see Total return and dividend reinvestment section).

Total return and dividend reinvestment

Total return is the standard measure for comparing investments because it counts both price appreciation and distributions. For dividend‑paying stocks, the most informative approach assumes dividends are reinvested immediately at the market price on the payment date. Fund providers and index publishers often publish total‑return series that implicitly assume reinvestment.

Adjusted historical prices (adjusted close) typically reflect the effect of dividends and splits so that percent changes computed from adjusted prices approximate total return with reinvestment (subject to exact adjustment method).

Why total return matters:

  • Dividend reinvestment compounds returns faster than taking dividends as cash.
  • Price‑only comparisons understate the performance of dividend payers.
  • Benchmarks for asset managers often use total‑return indices.

Example (dividend reinvestment, simple):

  • Day 0: Buy 100 shares at $10 = $1,000.
  • Dividend $0.50 per share paid on Day 180 → $50 cash.
  • Reinvest $50 at price $11 → buy 4.5454 shares (ignoring fractional rules).
  • If final price is $12, ending shares 104.5454 × $12 = $1,254.55. Total return = (1,254.55 − 1,000)/1,000 = 25.455%.

Always state assumptions when you report total return (timing of reinvestment, fees, fractional shares).

Annualized returns and CAGR

Time matters. If you hold an investment across multiple years, you usually want an annualized measure that makes returns comparable across investments with different holding periods.

The standard annualized metric is the compound annual growth rate (CAGR):

CAGR = (Ending value / Beginning value)^(1 / years) − 1

CAGR assumes you compound the beginning value at a steady rate to reach the ending value. It is equivalent to the geometric mean of periodic returns.

Example (CAGR): Buy at $100 and sell three years later at $150 (no dividends). CAGR = (150/100)^(1/3) − 1 = 1.5^(0.3333) − 1 ≈ 0.1447 = 14.47% per year.

When to use CAGR vs simple average:

  • Use CAGR (geometric) to describe the effective annual growth rate over multi‑period horizons.
  • Use arithmetic mean when estimating expected return per period (not compounded) or when averaging independent period returns.

Arithmetic vs geometric averages

  • Arithmetic mean = sum of returns / number of periods. It overstates long‑run experience when returns vary and when compounding matters.
  • Geometric mean (CAGR) = (product of (1 + r_t))^(1/n) − 1. It gives the realized compounded rate across periods and is the correct long‑run growth measure.

Example: Returns over two years: +50% then −20%.

  • Arithmetic mean = (0.5 + (−0.2)) / 2 = 0.15 = 15%.
  • Geometric return = (1.5 × 0.8)^(1/2) − 1 = (1.2)^(1/2) − 1 ≈ 9.54%.

Geometric mean < arithmetic mean when volatility exists. For performance reporting across years use geometric mean (CAGR).

Continuously‑compounded (log) returns

Log returns are defined as r_t = ln(P_t / P_{t−1}). They have useful mathematical properties:

  • Time additivity: multi‑period log return = sum of single‑period log returns.
  • Approximate normality for many asset returns in short samples (used in statistical modeling and option pricing).

Conversion to simple return:

  • Simple return R = P_t / P_{t−1} − 1.
  • Log return r = ln(1 + R).
  • For small R, r ≈ R.

Example (convert): If price rises from 100 to 110, simple return R = 0.10, log return r = ln(1.10) ≈ 0.09531 (9.531%). Converting back: exp(0.09531) − 1 ≈ 0.10.

Log returns are common in research and risk models. For investor reporting and intuitive percent gains, simple or CAGR returns are more readable.

Real returns (inflation‑adjusted) and after‑tax/net returns

Nominal returns ignore price level change. To measure purchasing‑power improvement you compute real return:

Real return ≈ (1 + nominal return) / (1 + inflation rate) − 1

Example (inflation adjustment): Nominal return = 8%, inflation = 3% → real return = (1.08/1.03) − 1 ≈ 0.0485 = 4.85%.

Taxes and fees reduce realized return.

  • After‑tax return depends on the investor’s tax bracket and whether gains are short‑term or long‑term.
  • Subtract commissions, spreads, lending fees, or exchange fees from cash flows before computing returns.

Always report whether returns are gross or net of fees and whether they are pre‑ or post‑tax for accurate comparisons.

Handling corporate actions and data adjustments

Corporate actions (splits, reverse splits, spin‑offs, special dividends, mergers) change share counts and prices and can distort raw price‑only returns.

Best practices:

  • Use adjusted close prices that reflect splits and standard cash dividends.
  • For special dividends or spin‑offs, check provider notes to see whether adjustments assume reinvestment or cash treatment.
  • When precise accounting is required, treat each corporate action as a discrete cash flow or change in holdings and compute returns with cash‑flow methods (XIRR for irregular flows).

Example: 2‑for‑1 split: price halves, shares double. Raw price change shows −50%, but adjusted series shows continuity.

Returns for non‑dividend assets and crypto parallels

For non‑dividend stocks and many cryptocurrencies, total return is dominated by price change. For crypto assets, include these additional income sources when computing total return:

  • Staking rewards
  • Yield from lending or liquidity provision
  • Airdrops and token distributions

Treat staking rewards and airdrops like dividends: record the time and the market value when received. If rewards are reinvested (compounded), include the reinvested value in ending balance; if cashed out, treat as cash flows for XIRR.

Important for crypto:

  • Volatile prices mean the USD value of staking rewards changes quickly; record timestamps and USD values when rewards are received.
  • Use XIRR for irregular cash flows when you have multiple deposits, withdrawals, and income events.
  • Bitget and Bitget Wallet users can export transaction histories and staking records to support accurate total‑return calculations.

Index and fund total returns

Index providers publish price indices and total‑return indices. For example, a total‑return index assumes dividends are reinvested on the payment date.

Fund NAVs incorporate distributions differently:

  • Some funds reflect distributions in NAV reduction and may publish total‑return NAV series separately.
  • Always confirm whether a fund’s published performance includes reinvestment and whether it is gross or net of fees.

When benchmarking, compare like with like: use a total‑return benchmark against funds or portfolios that include distributions.

Risk‑adjusted return measures (overview)

Raw returns do not capture risk. Common risk‑adjusted metrics:

  • Sharpe ratio = (Average portfolio return − Risk‑free rate) / Standard deviation of returns. Measures return per unit of total volatility.
  • Sortino ratio = (Average portfolio return − Target or risk‑free rate) / Downside deviation. Focuses on harmful volatility.
  • Alpha = Excess return relative to a benchmark adjusted for beta (systematic risk). Used in performance attribution.
  • Beta = Sensitivity of asset returns to a benchmark.
  • Maximum drawdown = Largest peak‑to‑trough percentage drop. Useful for downside risk assessment.

These measures help put returns in context: a higher return with much higher volatility might be less attractive than a lower, steadier return.

Practical considerations and common pitfalls

When answering how are stock returns calculated, watch for these common mistakes:

  • Using unadjusted prices that ignore dividends and splits.
  • Ignoring transaction costs, which can meaningfully reduce returns, especially for active traders.
  • Survivorship bias in historical data sets (delisted or bankrupt companies are sometimes excluded).
  • Confusing arithmetic averages with compound growth rates across multiple periods.
  • Misstating reinvestment assumptions for dividends and distributions.
  • Mixing nominal and real returns without indicating inflation treatment.
  • Failing to account for taxes or withholding on dividends, especially for cross‑border investors.

Best practice: document all assumptions (fees, taxes, reinvestment, data sources) when publishing or comparing returns.

Worked examples

The following concise numerical examples illustrate how are stock returns calculated in typical scenarios.

  1. Simple HPR for one period (no dividends)
  • Buy at $40, sell at $55 after 8 months.
  • HPR = (55 − 40)/40 = 15/40 = 0.375 = 37.5%.
  • To annualize (simple approximation): 37.5% × (12/8) = 56.25% (not precise; use CAGR below for exact annualization).
  1. Total return including dividends (no reinvestment)
  • Buy at $40, sell at $55, receive $1.50 in dividends per share, pay $0.50 commission.
  • Total return = (55 − 40 + 1.50 − 0.50) / 40 = 16/40 = 40%.
  1. Total return with dividend reinvestment (one dividend event)
  • Buy at $40, hold 100 shares = $4,000.
  • Dividend $1.50 per share = $150; reinvest at price $45 → buy 3.3333 shares.
  • Ending shares = 103.3333 × final price $55 = $5,683.33.
  • Total return = (5,683.33 − 4,000)/4,000 = 42.0833%.
  1. Annualizing a multi‑year return via CAGR
  • Buy at $200, final value after 5 years with reinvested distributions = $365.
  • CAGR = (365/200)^(1/5) − 1 = (1.825)^(0.2) − 1 ≈ 0.1263 = 12.63% per year.
  1. Converting simple returns to log returns and vice versa
  • Price rises from 80 to 96: simple return = 0.20 (20%). Log return r = ln(96/80) = ln(1.2) ≈ 0.1823 = 18.23%.
  • Convert log back: exp(0.1823) − 1 ≈ 0.20.
  1. Crypto example with staking rewards (use XIRR)
  • Deposit 1,000 USD into token A at t0.
  • Receive staking reward of token value worth 25 USD at t1 (quarterly), reinvested.
  • Sell entire position after 1 year for 1,400 USD.
  • Use spreadsheet XIRR with dated cash flows: −1000 on t0, +25 on t1 (if withdrawn) or reinvest as increased holdings (adjust ending value), +1400 on t_final. XIRR returns the annualized IRR for irregular cash flows.

These worked examples show the different answers to how are stock returns calculated depending on whether you include dividends, reinvestment, fees, and the chosen annualization method.

Formulas and spreadsheet implementation

Key formulas (plain):

  • HPR (single period): HPR = (P_end − P_start) / P_start
  • Total return (with distributions): TR = (P_end − P_start + Distributions − Fees) / P_start
  • CAGR: CAGR = (Ending value / Beginning value)^(1/years) − 1
  • Log return (single period): r = ln(P_t / P_{t−1})
  • Real return: Real ≈ (1 + nominal) / (1 + inflation) − 1

Common Excel/Google Sheets functions:

  • XIRR(values, dates) — internal rate of return for irregular cash flows.
  • IRR(values) — internal rate of return for regular period cash flows.
  • POWER(x, y) — use for (Ending/Beginning)^(1/years).
  • LN(x) — natural logarithm for converting returns to log form.
  • (Ending / Beginning)^(1/years) − 1 — manual CAGR.

Spreadsheet example for CAGR in Excel: = POWER(EndingValue/BeginningValue, 1/Years) - 1

Spreadsheet example for log return: = LN(P_t / P_{t-1})

XIRR is especially useful when you have multiple deposits/withdrawals or irregular income events (dividends paid and not reinvested). XIRR solves for the discount rate that sets the net present value of cash flows to zero.

Tools and calculators

Tools that help answer how are stock returns calculated include:

  • Broker or exchange account statements (exportable transaction histories and realized/unrealized P&L).
  • Fund prospectuses and index providers for official total‑return series and methodology notes.
  • Spreadsheet software with XIRR for irregular cash flows.
  • Online total‑return calculators and portfolio trackers (use reputable data sources and confirm whether they adjust for dividends/splits).

For crypto users, Bitget provides portfolio tools and Bitget Wallet lets you export transaction and staking records to compute accurate total returns. When choosing a tool, verify that it uses adjusted historical prices for total return and that it documents its treatment of dividends, staking rewards, and fees.

See also / further reading

For deeper coverage of specific calculations, sources include educational pages on total returns, rate of return and log returns from established financial education providers and regulator guidance on performance statements.

References and timely macro context

As of January 23, 2026, according to the U.S. Bureau of Economic Analysis, U.S. real GDP rose at a 4.4% annual rate in the third quarter of 2025 after revisions, reflecting stronger exports and smaller cuts to business inventories. The pace of GDP growth and inflation trends can affect expected stock returns because they influence corporate earnings, monetary policy, and risk premia. Other macro indicators like unemployment claims and personal consumption expenditures can also change return expectations and volatility.

Sources for methodology and examples used to build this guide include investment education pages and regulator guidance on total return calculations, dividend treatment, and annualization best practices. When reporting or calculating returns, use verifiable, authoritative data such as exchange or custodian statements, index provider notes, fund prospectuses, and official statistical releases (e.g., Bureau of Economic Analysis).

Practical checklist: computing returns step‑by‑step

  1. Define the period and units (days, months, years).
  2. Gather reliable data: adjusted close prices, dividend payment dates and amounts, trade confirmations, fees and tax withholding records.
  3. Decide whether to assume reinvestment or cash distribution.
  4. For single period simple return: use HPR.
  5. For multi‑period, compound returns: use CAGR (geometric mean).
  6. For many cash flows (deposits, withdrawals, dividends not reinvested): use XIRR.
  7. Adjust nominal returns for inflation (real returns) and for taxes/fees if reporting net performance.
  8. Document assumptions and data sources.

Common questions answered briefly

Q: Which measure should I use to compare funds? A: Use total return (with reinvestment) annualized as CAGR for cross‑period comparisons.

Q: How are stock returns calculated for crypto? A: Similar principles apply: include price change and any on‑chain income (staking, airdrops). Use XIRR for irregular cash flows and record USD values at receipt times.

Q: Are log returns better than simple returns? A: Use log returns for statistical modeling and when additivity across time is required. Use simple returns or CAGR for investor‑facing reporting.

Final notes and next steps

Understanding how are stock returns calculated helps you compare investments on equal footing and make clearer performance attributions. For accurate, repeatable calculations keep clean records of trade dates, dividend timestamps, fees, and taxes. If you manage crypto alongside equities, treat staking rewards and airdrops like dividends and use XIRR for irregular flows.

To track total returns and export transaction histories, consider Bitget account reporting and Bitget Wallet exports. These tools help you gather the required data for HPR, total return, CAGR, and XIRR calculations.

Further exploration: apply the formulas and spreadsheet functions shown above to a small historical sample and check results against a reputable total‑return index for practice.

As of January 23, 2026, the macroeconomic context described earlier may influence expected returns but does not change calculation methods. Always state dates and sources for any macro data you reference.

Want to compute your own total returns now? Export your trade history from Bitget, open a spreadsheet, and try the worked examples above. For help exporting transaction or staking records, consult your Bitget account tools or Bitget Wallet documentation.

The content above has been sourced from the internet and generated using AI. For high-quality content, please visit Bitget Academy.
Buy crypto for $10
Buy now!

Trending assets

Assets with the largest change in unique page views on the Bitget website over the past 24 hours.

Popular cryptocurrencies

A selection of the top 12 cryptocurrencies by market cap.
© 2025 Bitget