Crypto Futures P&L and ROE Calculator
Work out the net profit or loss of a USDT-margined futures or perpetual trade after the fees to open and close and the funding paid or received while it was open, and the return on the margin you put up (ROE).
- Net P&L
- –
Formula: P&L before fees = (exit − entry) × quantity for a long, (entry − exit) × quantity for a shortChecked Binance: USDⓈ-M futures trading fee rate (regular user 0.0200% maker / 0.0500% taker) All sources
- Funding paid (negative = received)
- –
- ROE (on margin)
- –
- P&L before fees
- –
- Fees paid
- –
- Initial margin
- –
Assumptions (5)
- A USDT-margined futures trade, opened at the entry price and closed at the exit price.
- The fee you enter is paid twice: on the entry value and on the exit value.
- ROE is the net P&L after both fees ÷ initial margin (entry × quantity ÷ leverage).
- Funding is the rate × intervals × quantity × mark price you enter, or the total you type; with neither it is 0.
- Slippage and tax are not included.
How it is calculated
- P&L before fees = (exit − entry) × quantity for a long, (entry − exit) × quantity for a short
- Fees = (entry × quantity + exit × quantity) × fee rate
- Funding paid = quantity × mark price × funding rate × intervals for a long; the same with the sign reversed for a short (a positive rate is paid by longs)
- Net P&L = P&L before fees − fees − funding paid (Bybit's closed P&L)
- Initial margin = entry × quantity ÷ leverage; ROE = net P&L ÷ initial margin × 100
Worked example
Long 2 coins at 100, close at 110, 10× leverage, 0.05% fee each side.
| You enter | |
|---|---|
| Direction | Long |
| Entry price | 100 |
| Exit price | 110 |
| Quantity (coins) | 2 |
| Leverage | 10 × |
| Fee per side | 0.05 % |
| You get | |
| Net P&L | 19.79 USDT |
| Funding paid (negative = received) | 0 USDT |
| ROE (on margin) | 98.95% |
| P&L before fees | 20 USDT |
| Fees paid | 0.21 USDT |
| Initial margin | 20 USDT |
After 0.21 USDT in fees you make 19.79 USDT, which is 98.95% of the 20 USDT margin you put up.
Questions (3)
Why is my exchange's ROE a little different?
Exchanges usually show ROE on the price move alone, before fees, and some divide by a margin that already includes the fee to close (Bybit does). This tool shows ROE after both fees and funding, on the initial margin, so it is slightly lower: closer to what you actually keep.
Do I pay or receive funding?
It depends on the sign of the rate and your side. A positive rate means longs pay shorts; a negative rate means shorts pay longs. Funding is charged on the position value at the mark price at each funding time, so a trade held over several funding times pays or receives several times.
Should I type the rate or the total?
For a trade you are planning, type the rate you expect and how many funding times you will hold. For a closed trade, type the total from your exchange's funding history: it already uses the real rates and mark prices.
Sources and checks
Binance · 29 October 2026
- Binance: USDⓈ-M futures trading fee rate (regular user 0.0200% maker / 0.0500% taker)
- Bybit: Trading fee structure (non-VIP spot 0.1000% / 0.1000%; perpetual and futures 0.0200% / 0.0550%)
- Bybit: P&L calculations (USDT perpetual and expiry contracts): closed P&L with fees to open and close and funding; its Trader C example is a test here · updated by the authority to 12 August 2026
- Bybit: Funding fee calculation (position value × funding rate; who pays; its Example 1 is a test here) · updated by the authority to 12 May 2026
Your numbers never leave your device: the calculation runs in your browser and nothing you type is sent or stored.
Last checked: 29 October 2026. This tool passes 11 automatic tests before every release. How we check our tools
Funding uses the rate and mark price you enter, or your total; your exchange's history is the exact figure. Slippage and tax are not included. This is not financial advice. Results are estimates for information only and are not financial, investment, tax or legal advice. Crypto prices move fast and leveraged trading can lose more than you expect. Check figures on your exchange or wallet before you act.