Crypto Profit & Loss Calculator
PnL, ROI and ROE for any trade, long or short
Your inputs
How trade PnL is calculated
long PnL = (exit − entry) × size
short PnL = (entry − exit) × size
notional = entry × size
margin = notional ÷ leverage
ROI = PnL ÷ notional
ROE = PnL ÷ margin
ROI and ROE are not the same number
This trips up more people than any other part of leveraged trading. Long 20 units at $100 and exit at $112: profit is $240 on a $2,000 position, so ROI is 12% — the price moved 12%, and your return on the position matches it. But at 10x you only posted $200 of margin, so your return on equity is 120%.
Same trade, same dollars, two very different-looking percentages. Exchanges display ROE because it is the bigger number, which is worth remembering when someone posts a screenshot of a 400% gain — that is typically a 20% price move at 20x, not a 400% move.
Longs and shorts are not symmetrical
A long's worst case is bounded: price can only fall to zero, so you lose 100% of the position. A short's loss has no ceiling, because price can rise indefinitely. In practice liquidation closes the trade long before that becomes theoretical — but it is the reason shorts on low-float, easily-squeezed assets carry a different risk profile than the same size long, even at identical leverage.
This is gross PnL
No fees, no funding. That is deliberate: gross PnL is the right number for comparing setups against each other. Net PnL depends on your fee tier, whether you filled as maker or taker, and how long you held. For an active trader the gap between the two is not rounding error — the break-even calculator shows how far costs push your true starting line, and the funding calculator covers the holding cost.
If you want this computed automatically across every trade you have ever made, paste a wallet address — realised PnL, win rate, fees and funding are broken out per trade with no sign-up.
Frequently asked questions
How do I calculate crypto profit?
For a long: (exit price − entry price) × position size. For a short: (entry price − exit price) × position size. That gives profit in dollars. Divide by the margin you posted to get return on equity, or by the position notional to get return on the trade itself.
What is the difference between ROI and ROE?
ROI measures the price move against the full position value. ROE measures profit against the margin you actually put up. On a 10x position a 5% price move is 5% ROI but 50% ROE. Exchanges usually display ROE because the number is larger — it is the same trade either way.
Does this account for fees?
No — this calculator gives gross PnL, which is the right number for comparing setups. Fees and funding are separate and depend on your maker/taker tier and holding period. Run the result through the break-even calculator to see net.
How does PnL work on a short?
A short profits when price falls, so profit is entry minus exit. The asymmetry worth knowing: a long can only lose 100% of the position value, but a short has theoretically unlimited loss because price can rise without bound. In practice liquidation ends it long before that.