Profit & Loss Calculator

Calculate your investment profit or loss based on buy and sell prices.

Calculator

Result

Total Cost
$0.00
Total Revenue
$0.00
Profit/Loss
$0.00
Return
-

Formula & Guide

Formula

$

Profit/Loss

P&L = (Sell - Buy) × Qty - Fees

Net profit or loss in dollars

%

Return %

Return = P&L / Cost × 100

Percentage gain or loss

Formula Variables

Sell

Sell Price

Price per unit when selling

Buy

Buy Price

Price per unit when buying

Qty

Quantity

Number of units traded

Fees

Transaction Fees

Commissions, taxes, etc.

Step-by-Step Scenario

Example Scenario

Buy Price

$50 × 100

Sell Price

$65 × 100

Fees

$20

1

Calculate Total Cost

  • Total Cost = $50 × 100 = $5,000
2

Calculate Total Revenue

  • Total Revenue = $65 × 100 = $6,500
3

Calculate Profit

  • Profit = $6,500 - $5,000 - $20 = $1,480
4

Calculate Return %

  • Return = $1,480 / $5,000 × 100 = 29.6%
Profit = $1,480 (29.6% return)

Additional Examples

Profitable Trade

Buy: $50 × 100

Sell: $65 × 100

Fees: $20

Profit

$1,480

Return

29.6%

Losing Trade

Buy: $200 × 50

Sell: $180 × 50

Fees: $15

Loss

-$1,015

Return

-10.15%

Characteristics of Profit & Loss

Track Gains

Monitor profitable trades and winning strategies.

Manage Losses

Set stop-losses to limit downside on trades.

Include All Costs

Factor in fees, commissions, and taxes for true P&L.

Think Percentage

A $100 gain matters more on a $1,000 trade than $10,000.

Important Notes

  • Keep records of all trades for tax purposes.
  • Consider position size when evaluating risk.
  • Don't let emotions drive buy/sell decisions.
  • Paper losses aren't realized until you sell.

Frequently Asked Questions

Common questions about profit & loss.