AI-Powered Market Intelligence

Understand the reason behind any stock move.

Separate realized outcomes from still-open unrealized positions.

AI-Powered InsightsReal-Time DataNo Noise. Just Clarity.
WhyStockMove tools intelligence banner

Realized Gain/Loss Calculator

Calculate realized profit or loss from sold shares.

Use this deterministic realized gain/loss calculator to quantify profit from completed sales using cost basis per share.

Inputs

Results

Realized gain/loss

+$1,350.00

Realized result on sold shares is +$1,350.00.

Sell price
$73.80
Cost basis/share
$68.40
Shares sold
250.0000
Realized P/L
+$1,350.00

Formula

Realized Gain/Loss = (Sell Price - Cost Basis Per Share) × Shares Sold

Example

  • Sell price: 73.8
  • Cost basis per share: 68.4
  • Shares sold: 250

What does this mean?

  • Realized P/L is closed and no longer market-dependent.
  • Use broker lot method (FIFO/LIFO/specific lot) for tax accuracy.
  • Exclude unsettled fees unless explicitly included.

Measure what has actually been locked in

Separate realized outcomes from still-open unrealized positions.

What is a realized gain/loss?

Use this deterministic realized gain/loss calculator to quantify profit from completed sales using cost basis per share. In practice, this means you can quantify realized gain/loss using sell price, cost basis per share, and shares sold without relying on hidden assumptions or black-box scoring.

Primary input set for this calculator: Sell price, Cost basis per share, Shares sold.

How to calculate realized gain/loss

  1. 1.Step 1: Enter sell price with the timeframe/context you want to evaluate.
  2. 2.Step 2: Enter cost basis per share with the timeframe/context you want to evaluate.
  3. 3.Step 3: Enter shares sold with the timeframe/context you want to evaluate.
  4. 4.Step 4: Apply formula Realized Gain/Loss = (Sell Price - Cost Basis Per Share) × Shares Sold.
  5. 5.Step 5: Interpret output together with risk, liquidity, and catalyst context.

Why this metric matters

This metric turns trade assumptions into explicit numbers for sizing, entry/exit planning, and portfolio discipline.

Pair this calculator with catalyst context from headlines, filings, and options flow to avoid relying on isolated numbers.

When to use this calculator

  • Before opening a new position where realized gain/loss impacts sizing or risk.
  • After a catalyst to quantify how much conditions changed versus your baseline.
  • When comparing setups across multiple tickers with one consistent formula.
  • During weekly review to keep decision-making tied to measurable inputs.

Common scenarios

Realized P/L is closed and no longer market-dependent

Use this realized gain/loss workflow to quantify this scenario with deterministic inputs.

Use broker lot method (FIFO/LIFO/specific lot) for tax accuracy

Use this realized gain/loss workflow to quantify this scenario with deterministic inputs.

Exclude unsettled fees unless explicitly included

Use this realized gain/loss workflow to quantify this scenario with deterministic inputs.

Event reaction review

Recalculate realized gain/loss immediately after earnings, filings, or macro headlines.

Interpretation tips

  • Re-run realized gain/loss whenever key inputs change materially, not only when price moves.
  • Document assumptions so the same methodology can be repeated across watchlist names.
  • Use this metric as one layer in the decision stack, not as a standalone trade trigger.

Data caveats

  • Outputs are deterministic from your inputs; input quality determines output quality.
  • This page does not auto-adjust for broker fees, taxes, or slippage unless you include them in your assumptions.
  • Validate corporate action details, filing dates, and data freshness before acting on results.

FAQ

How does the realized gain/loss calculator work?

Realized Gain/Loss Calculator is deterministic and uses only your inputs (sell price, cost basis per share, shares sold). Formula: Realized Gain/Loss = (Sell Price - Cost Basis Per Share) × Shares Sold.

What does this output tell me in practice?

Calculate realized profit or loss from sold shares. Pair this with a stop-loss and thesis review, not just return math.

Does the realized gain/loss calculator use real-time market feeds?

No. This page does not auto-pull live data. You control all inputs and can rerun instantly as market conditions change.

Can I use this result directly for trading decisions?

Use it as a planning layer. Combine with position sizing, liquidity, and catalyst context before any execution.

Disclaimer: This calculator is for educational purposes and does not constitute financial advice. Verify assumptions with official filings, broker statements, and your own risk framework.