Portfolio Gain/Loss Calculator

Calculate total profit or loss across multiple stock positions.

Use this deterministic portfolio gain/loss calculator to sum unrealized or realized P/L across multiple holdings.

Inputs

Results

Total portfolio P/L

+$550.00

Portfolio P/L is +$550.00 (+3.79%).

Total cost basis
$14,500.00
Total current value
$15,050.00
Total P/L
+$550.00
Portfolio return %
+3.79%

Formula

Portfolio P/L = Σ(Current Value - Cost Basis)

Example

  • Position 1 cost basis: 5000
  • Position 1 current value: 5600
  • Position 2 cost basis: 7000
  • Position 2 current value: 6650
  • Position 3 cost basis: 2500
  • Position 3 current value: 2800

What does this mean?

  • •Positive total means your portfolio is above total cost basis.
  • •Negative total means your portfolio is below cost basis.
  • •Use this before trimming or adding positions to keep allocation decisions data-driven.

Track total portfolio performance at a glance

Aggregate position-level P/L quickly before rebalancing decisions.

What is a portfolio gain/loss?

Use this deterministic portfolio gain/loss calculator to sum unrealized or realized P/L across multiple holdings. In practice, this means you can quantify portfolio gain/loss using position 1 cost basis, position 1 current value, position 2 cost basis, position 2 current value, position 3 cost basis, and position 3 current value without relying on hidden assumptions or black-box scoring.

Primary input set for this calculator: Position 1 cost basis, Position 1 current value, Position 2 cost basis, Position 2 current value, Position 3 cost basis, Position 3 current value.

How to calculate portfolio gain/loss

  1. 1.Step 1: Enter position 1 cost basis with the timeframe/context you want to evaluate.
  2. 2.Step 2: Enter position 1 current value with the timeframe/context you want to evaluate.
  3. 3.Step 3: Enter position 2 cost basis with the timeframe/context you want to evaluate.
  4. 4.Step 4: Enter position 2 current value with the timeframe/context you want to evaluate.
  5. 5.Step 5: Enter position 3 cost basis with the timeframe/context you want to evaluate.
  6. 6.Step 6: Enter position 3 current value with the timeframe/context you want to evaluate.
  7. 7.Step 7: Apply formula Portfolio P/L = Σ(Current Value - Cost Basis).
  8. 8.Step 8: 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 portfolio 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

Positive total means your portfolio is above total cost basis

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

Negative total means your portfolio is below cost basis

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

Use this before trimming or adding positions to keep allocation decisions data-driven

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

Event reaction review

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

Interpretation tips

  • •Re-run portfolio 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 portfolio gain/loss calculator work?

Portfolio Gain/Loss Calculator is deterministic and uses only your inputs (position 1 cost basis, position 1 current value, position 2 cost basis, position 2 current value, position 3 cost basis, position 3 current value). Formula: Portfolio P/L = Σ(Current Value - Cost Basis).

What does this output tell me in practice?

Calculate total profit or loss across multiple stock positions. Pair this with a stop-loss and thesis review, not just return math.

Does the portfolio 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.

After the calculation

Understand what caused the move.