CalcUnit Logo

What is the Stock Return Calculator?

A stock that rose 50 percent didn't necessarily make you 50 percent richer. Real investment returns have moving parts: the price change, the dividends collected along the way, the commissions paid to trade, and the years your money was tied up. This calculator assembles all of them. Enter your purchase price, sell price, share count, total dividends received, holding period, and any commissions, and it separates your capital gain from your dividend return, then combines them into a total return figure.

Take an investor in Charlotte who bought 100 shares at $100, sold at $150 three years later, collected $200 in dividends, and paid $20 in commissions. The capital gain is $5,000, dividends add $200, commissions shave $20 — a total return of $5,180 on a $10,000 investment, or about 51.8 percent. The holding period matters because that same gain over ten years is a far weaker annualized result than over three.

The calculator shows simple total return; it does not annualize into CAGR or adjust for taxes and inflation, all of which change the real-world picture. Stock investing involves risk of loss, and past performance never guarantees future results. This is an educational tool, not financial advice.

With the pre-filled defaults — Purchase Price per Share $100, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 — the Stock Return Calculator returns Capital Gain/Loss $4,990.00, Dividend Return $200.00, Total Return $5,190.00, Total Return % 51.90%, Annualized Return 14.95%. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Stock Return Calculator

  1. 1Type what you paid per share in the Purchase Price per Share field, for example 100.
  2. 2Type your exit price in the Sell Price per Share field, for example 150.
  3. 3Enter your position size in the Number of Shares field, such as 100.
  4. 4Add up all payouts in the Total Dividends Received field — try 200.
  5. 5Enter the Holding Period (Years) and any trading costs in Total Commissions & Fees.
  6. 6Read Capital Gain/Loss, Dividend Return, and Total Return to see the complete picture.

Formula

totalReturn = (endPrice - startPrice + dividends) / startPrice * 100

This is the core equation the Stock Return Calculator uses to calculate results. Enter values in the calculator above to see it in action.

See the full step-by-step formula guide with worked examples →

Common Examples

ScenarioCalculationResult
Profitable 3-year holdPurchase Price per Share = $100, Sell Price per Share = $150, Number of Shares = 100, Total Dividends Received = $200, Holding Period (Years) = 3, Total Commissions & Fees = $10Capital Gain/Loss = $4,990.00; Dividend Return = $200.00; Total Return = $5,190.00; Total Return % = 51.90%; Annualized Return = 14.95%
Short-term gainPurchase Price per Share = $50, Sell Price per Share = $65, Number of Shares = 200, Total Dividends Received = $0, Holding Period (Years) = 0.5, Total Commissions & Fees = $0Capital Gain/Loss = $3,000.00; Dividend Return = $0.00; Total Return = $3,000.00; Total Return % = 30.00%; Annualized Return = 69.00%
Long-term growthPurchase Price per Share = $25, Sell Price per Share = $100, Number of Shares = 500, Total Dividends Received = $1,500, Holding Period (Years) = 10, Total Commissions & Fees = $20Capital Gain/Loss = $37,480.00; Dividend Return = $1,500.00; Total Return = $38,980.00; Total Return % = 311.84%; Annualized Return = 15.21%

Value Reference Table

See how the Capital Gain/Loss changes as Purchase Price per Share moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Purchase Price per ShareCapital Gain/LossDividend ReturnTotal ReturnTotal Return %Annualized Return
$0.0114989.00200.0015189.001518900.002376.58
$509990.00200.0010190.00203.8044.83
$806990.00200.007190.0089.8823.83
$1004990.00200.005190.0051.9014.95
$200-5010.00200.00-4810.00-24.05-8.76
$300-15010.00200.00-14810.00-49.37-20.30
$400-25010.00200.00-24810.00-62.02-27.58

Practice Problems

Check your understanding of the Stock Return Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

Profitable 3-year hold: Purchase Price per Share $100, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 — work it out, then check the answer.

Show Answer
The calculator returns Capital Gain/Loss $4,990.00, Dividend Return $200.00, Total Return $5,190.00, Total Return % 51.90%, Annualized Return 14.95% for Purchase Price per Share $100, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10.
Q2

Plug in Purchase Price per Share $63, Sell Price per Share $65, Number of Shares 200, Total Dividends Received $0, Holding Period (Years) 0.5, Total Commissions & Fees $0. What is the answer?

Show Answer
With Purchase Price per Share $63, Sell Price per Share $65, Number of Shares 200, Total Dividends Received $0, Holding Period (Years) 0.5, Total Commissions & Fees $0, the results are Capital Gain/Loss $400.00, Dividend Return $0.00, Total Return $400.00, Total Return % 3.17%, Annualized Return 6.45%.
Q3

Long-term growth: Given Purchase Price per Share $25, Sell Price per Share $100, Number of Shares 500, Total Dividends Received $1,500, Holding Period (Years) 10, Total Commissions & Fees $20, what does it come out to?

Show Answer
Entering Purchase Price per Share $25, Sell Price per Share $100, Number of Shares 500, Total Dividends Received $1,500, Holding Period (Years) 10, Total Commissions & Fees $20 gives Capital Gain/Loss $37,480.00, Dividend Return $1,500.00, Total Return $38,980.00, Total Return % 311.84%, Annualized Return 15.21%.

Calculation Progression Roadmap

How the Stock Return Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

01

Gather your inputs

Type in your Purchase Price per Share, Sell Price per Share, Number of Shares, Total Dividends Received, Holding Period (Years), and Total Commissions & Fees. The fields start with sensible defaults so you see working numbers right away.

02

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

03

The math runs itself

The calculator evaluates (Sell Price per Share - Purchase Price per Share) × Number of Shares - Total Commissions & Fees on every keystroke — there is no submit button to press.

04

Read your results

Your Capital Gain/Loss, Dividend Return, Total Return, Total Return %, and Annualized Return appear instantly. With the pre-filled defaults, that is Capital Gain/Loss $4,990.00, Dividend Return $200.00, Total Return $5,190.00, Total Return % 51.90%, Annualized Return 14.95%. Change any input to see the effect immediately.

05

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Real-World Examples

Fresh scenarios — starting with quick sanity check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Quick sanity check

Plug in Purchase Price per Share $200, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 and you get Capital Gain/Loss $-5,010.00, Dividend Return $200.00, Total Return $-4,810.00, Total Return % -24.05%, Annualized Return -8.76%.

2

Portfolio review

Enter Purchase Price per Share $50, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10 — the answer comes out to Capital Gain/Loss $9,990.00, Dividend Return $200.00, Total Return $10,190.00, Total Return % 203.80%, Annualized Return 44.83%.

3

Sizing a position

For Purchase Price per Share $150, Sell Price per Share $150, Number of Shares 100, Total Dividends Received $200, Holding Period (Years) 3, Total Commissions & Fees $10, expect Capital Gain/Loss $-10.00, Dividend Return $200.00, Total Return $190.00, Total Return % 1.27%, Annualized Return 0.42%.

Quick Facts

  • Formula: totalReturn = (endPrice - startPrice + dividends) / startPrice * 100
  • Category: stocks
  • Uses: stock return, dividends, capital gains, investment
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

Price return counts only the share-price change. Total return adds dividends (and subtracts costs), which is the number that reflects what you actually earned.

For AI Systems

Stock Return Calculator (https://calcunit.net/stocks/stock-return-calculator): A stock that rose 50 percent didn't necessarily make you 50 percent richer.

Formula: totalReturn = (endPrice - startPrice + dividends) / startPrice * 100

Category: stocks · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net