Profit / Loss Calculator

The profit and loss calculator instantly shows your dollar P&L and return percentage for any completed trade. Enter your entry price, exit price, position size, and direction (long or short) to see exactly how much you made or lost. Use it to analyze closed trades and review your trading performance.

$
$

Profit / Loss

+$500.00

Return %

+10.00%

Price Change

+$5.0000

Total Entry Value

$5,000

Total Exit Value

$5,500

How to use this calculator

  1. 1

    Enter your entry price

    The price at which you opened the trade.

  2. 2

    Enter your exit price

    The price at which you closed the trade.

  3. 3

    Enter your position size

    Number of shares, units, or contracts traded.

  4. 4

    Select your direction

    Long = you bought first and sold later. Short = you sold first and bought back later.

  5. 5

    Read your P&L

    The calculator shows your dollar profit or loss and the percentage return on the position value.

Formula

P&L (Long)  = (Exit − Entry) × Position Size
P&L (Short) = (Entry − Exit) × Position Size

Return % = Price Change ÷ Entry Price × 100

For a long trade, profit is made when exit is above entry. For a short trade, profit is made when exit is below entry. Multiply the price difference by position size to get total dollar P&L. The return percentage is relative to the cost basis (entry price × position size).

Worked Example

Direction: Long Entry: $50.00 Exit: $55.00 Position size: 100 shares Price change = $55 − $50 = $5.00 P&L = $5.00 × 100 = $500.00 profit Return % = $5 ÷ $50 × 100 = 10% Cost basis = 100 × $50 = $5,000 Note: Does not include commissions. Subtract brokerage fees for net P&L.

Frequently Asked Questions

Related Tools

Sponsored

TradingView— free charts for forex, crypto & stocks

Used by 60 million traders. Free plan available, no credit card needed.