Crypto futures calculator
Profit and return on margin for a leveraged position, after trading fees and funding, with the break-even and liquidation prices.
Your position
Result
+45.3% on your margin
Your position
Result
{{roe}} on your margin
How to read it
Full guide, 9 min readHow crypto futures PnL is calculated: ROE, fees, fundingRelated guide, 11 min readTake profit and stop loss: risk reward and trailing stops- Position size is margin times leverage. Profit and loss are counted on the whole position, so a 1% move is a 10% change in margin at 10×.
- Fees are charged when you open and when you close. Funding is paid every 8 hours between longs and shorts while the position is open.
- The break-even price includes both fees and the funding so far. The liquidation price is an estimate: exchanges use a mark price and tiered margin.
Formula
- Position size = margin × leverage; contracts = size ÷ entry
- Profit before costs = contracts × (exit − entry), reversed for a short
- Fees = size × fee + contracts × exit × fee
- Funding = size × funding rate × hours ÷ 8
- Net result = profit − fees − funding; ROE = net result ÷ margin
Worked example
A $1,000 long at 10× is a $10,000 position. Entry $60,000, exit $63,000: profit before costs is $500. Fees of 0.05% per side cost $10.25 and funding of 0.01% every 8 hours for 24 hours costs $3, so the net result is $486.75, a 48.7% return on margin. Break-even is $60,078 and the estimated liquidation price is $54,300.
Questions
What is ROE?
Return on equity: the net result divided by the margin you put up. With leverage it moves much faster than the price; at 10× a 1% price move is about a 10% change in ROE.
Who pays funding?
On perpetual futures, funding is exchanged between longs and shorts every 8 hours. When the rate is positive, longs pay shorts; when it is negative, shorts pay longs.
Is the liquidation price exact?
No. It assumes isolated margin with a 0.5% maintenance margin. Exchanges use a mark price and tiered margin, so check the figure on your exchange.
Want the reasoning behind the numbers?
AI coin reports are on the way: the trend, two scenarios and the price that cancels each one. Plans are listed with their prices.
See plans and prices