Profit/Loss & ROI Calculator
Calculate long or short gross PnL, round-trip fees, net ROI and breakeven price.
Profit/Loss & ROI Calculator calculation coverage
- 01
Long and short direction
- 02
Round-trip fee model
- 03
Net ROI and breakeven
Estimate only. Funding, borrow costs, taxes and price gaps are not included.
About this tool
A trading PnL calculator compares entry and exit value, then subtracts opening and closing fees to show net profit or loss. ROI expresses that result as a percentage of the capital committed to the position.
How it works
Long gross PnL = (exit − entry) × quantity. Short gross PnL reverses the price difference. Net PnL subtracts both transaction fees; ROI divides net PnL by entry exposure.
| Parameter | How it is used |
|---|---|
| Direction | Selects long or short PnL logic. |
| Entry and exit | Defines the price change captured. |
| Quantity | Scales the position outcome. |
| Trading fee | Estimates round-trip execution cost. |
A profitable trade after both fees
Buy 10 units at $100 and sell at $110. The fee is 0.1% on each transaction.
Gross profit = ($110 − $100) × 10 = $100. Fees = ($1,000 + $1,100) × 0.1% = $2.10.
Net profit is $97.90. ROI on the $1,000 entry exposure is 9.79%.
ROI uses entry exposure, not the smaller margin deposit for a leveraged trade. Funding and borrowing costs are separate.
How to use this tool
- Select long or short and enter both trade prices.
- Add quantity and the fee rate charged at entry and exit.
- Compare gross PnL, net PnL, ROI and breakeven before recording the trade.
Frequently asked questions
What is the difference between PnL and ROI?
PnL is the currency amount gained or lost. ROI divides net PnL by the capital used so trades of different sizes can be compared.
Why is net PnL lower than gross PnL?
Net PnL subtracts transaction costs such as entry and exit fees. Other real costs may reduce it further.
Can the calculator handle short trades?
Yes. For a short, profit occurs when exit price is below entry price, before fees and other borrowing costs.