Candlesview Open charts
Tools › Calculators › Profit and loss calculator

Profit and loss calculator

What a trade made or lost after fees, for a long or a short.

Result

Result before fees40
Fees, both sides0.52
Result after fees39.48
Return on the position value7.9%
Price move8%

How it is worked out

For a long, result = (exit − entry) × quantity. For a short, the sign is reversed. Fees are charged on the value traded at the entry and again at the exit.

Worked example

DirectionLong (buy)
Entry price100
Exit price108
Quantity5
Fee per side, %0.05
Result before fees40
Fees, both sides0.52
Result after fees39.48
Return on the position value7.9%
Price move8%

Questions

Why is my return different on the exchange?

Exchanges show return on the margin you posted, which is multiplied by leverage. This page shows return on the full position value.

Are funding payments included?

No. On perpetual futures, funding paid or received while the trade is open is a separate amount.

More calculators

Position size calculator

How large a position to take so that a stop-out loses a fixed share of the account.

Liquidation price calculator

Roughly where a leveraged position would be closed by force.

Risk-reward calculator

The ratio of a trade's target to its stop, and the win rate it needs to break even.

Break-even after a loss calculator

The gain needed to recover a loss, which is always larger than the loss.

Compound growth calculator

What a starting amount becomes after a steady percentage change each period.

Average entry price calculator

The average price of two purchases, and the total cost.

All trading tools Lesson: position sizing Practise with paper money

Arithmetic on the numbers you enter, for information. Not advice, and not a figure from any exchange. Trading involves a high risk of losing money.