Crypto futures calculator: PnL, ROE, margin and fees
Enter the side, entry, exit, quantity, leverage, fees and any funding to see the notional, initial margin, gross and net result, return on margin and break-even exit price of a linear futures position. Leverage can lose more than you expect. Free, no sign-up required.
How to calculate futures PnL
On a linear contract, one settled in the quote currency, the result is the price change times the quantity, less fees and funding. The calculator applies:
Notional = entry × quantity
Initial margin = notional ÷ leverage
Gross result, long = (exit − entry) × quantity; short = (entry − exit) × quantity
Fees = (entry × entry fee + exit × exit fee) × quantity
Net result = gross result − fees − funding paid
Return on margin = net result ÷ initial margin
This return is what many platforms label ROE or ROI, though their figures can differ: some use a mark price, an unrealized result or margin with fees added. The linear formula was checked against two large exchanges' help pages on 5 November 2026. Inverse contracts, margined in the coin, work differently and are not covered. Your own trade confirmation governs.
Worked example, with the loss shown the same way
Hypothetical example: a long with a quantity of 2, an entry of 1,500 and a typed exit of 1,560, at a leverage of 1, with a 0.05% fee on each side and 1.50 USD of funding paid. These are the calculator's default values, and neither the exit nor the leverage is a suggestion.
Notional: 1,500 × 2 = 3,000.00 USD. Initial margin: 3,000 ÷ 1 = 3,000.00 USD. Gross result: 60 × 2 = 120.00 USD. Fees: (0.75 + 0.78) × 2 = 3.06 USD. Net result: 120.00 − 3.06 − 1.50 = 115.44 USD, a return on margin of 3.848%.
Break-even exit: (1,500 × 1.0005 + 1.50 ÷ 2) ÷ 0.9995 = 1,502.2511 USD.
Exit at 1,440 instead: gross −120.00 USD, fees 2.94 USD, net −124.44 USD, a return on margin of −4.148%.
| Leverage | Initial margin | Return at exit 1,560 | Return at exit 1,440 |
|---|---|---|---|
| 1x | 3,000.00 | 3.848% | −4.148% |
| 2x | 1,500.00 | 7.696% | −8.296% |
| 5x | 600.00 | 19.24% | −20.74% |
| 10x | 300.00 | 38.48% | −41.48% |
What leverage does and does not change
Leverage does not change what the price does or the net amount on a given trade. It shrinks the margin behind the trade, so the same move takes a larger share of it, and it can lose more than you expect.
- The whole margin can go. A small price move against a highly leveraged position can use up the margin before your typed exit is ever reached.
- A position can be closed for you. The exchange can liquidate it at a price you did not choose. This page gives no liquidation estimate: use the liquidation price calculator. If your typed exit implies a loss larger than the margin, the tool warns you that a real position would normally have been liquidated first.
- Return on margin is not a forecast. It describes one typed exit, so it is not compounded or annualized, and no exit is suggested.
The CFTC's guide to perpetual contracts tells traders to understand how leverage and margin affect liquidations and never to risk more than they can afford to lose. For spot trades without margin, use the crypto profit calculator.
Fees and funding in the result
Fees are charged on notional and not on margin, so at higher leverage they take a larger share of the margin. Funding on a perpetual contract is a payment between longs and shorts; type the total for the position, as a positive number if you paid and with a minus sign if you received. A dated contract has no funding, so leave the field empty. To estimate funding over a holding period, use the funding rate calculator, and for how the mechanism works, the perpetual futures guide.
Where leverage is not available
Leverage is not available on SPK-listed platforms: Article 14 of SPK Communiqué III-35/B.2 says crypto assets listed on platforms cannot be traded with leverage or used in derivative contracts. For readers in Turkey, Article 99/A of Capital Markets Law No. 6362 treats activity by foreign crypto-asset platforms directed at Turkish residents as unauthorized. This page is general arithmetic for readers elsewhere and is not an offer of, or a route to, such trading. Rules in other countries differ, so check what applies where you live. FINRA calls the risk of losing all of your investment in crypto assets significant.
Fincode does not recommend a leverage level, a position or a platform, and it does not manage accounts.
Which values to enter
- Side: long or short. The currency field only changes the label.
- Entry and exit: your average entry and an exit you type. The exit can be a real fill or a price you want to test; nothing is suggested.
- Quantity: in units of the asset, not contracts or margin.
- Leverage: from 1 to 500 for the arithmetic. The default is 1, meaning no leverage.
- Fees: entry and exit rates from your platform's fee schedule. The 0.05% default is an example only.
- Funding paid: optional; the total over the holding period.
Frequently asked questions
How do you calculate futures PnL?
On a linear long, take the exit minus the entry times the quantity, then subtract fees and funding paid; on a short, take the entry minus the exit. Entry 1,500, exit 1,560, quantity 2, gives 120.00 before costs.
What is ROE on a futures position?
Return on equity is the result divided by the margin behind the position. Here it is the net result divided by the initial margin. Platforms can define it differently, so check yours.
How does leverage change the result?
It does not change the net amount on a given trade. It reduces the initial margin, so the same amount is a larger percentage of it, in both directions, and the position can be liquidated sooner.
What is the break-even price of a futures trade?
It is the exit price at which the net result is zero after fees and funding. On a long it is the entry plus the entry fee and funding per unit, divided by one minus the exit fee.
Can I lose more than my margin?
You can lose all of it, and a leveraged position can be liquidated before your planned exit. Whether a loss can go past the margin depends on the platform's terms and the kind of margin, so read them.
Is leverage available on platforms in Turkey?
No. Article 14 of SPK Communiqué III-35/B.2 bars leveraged trading in crypto assets listed on platforms. The section on where leverage is not available also covers foreign platforms.
Sources
- CFTC: Crypto Asset Perpetual Contracts, customer education guide (2026) (opens in a new tab)
- FINRA: Crypto assets, risks (opens in a new tab)
- Resmî Gazete: SPK Communiqué III-35/B.2, 13 March 2025, no. 32840, Article 14 (Turkish) (opens in a new tab)
- Capital Markets Law No. 6362, consolidated text, Article 99/A (Turkish) (opens in a new tab)
This calculator is general information, not tax, legal or investment advice. Results depend on the values you enter; fees, margin rules and tax rules differ by exchange and country and change over time, so check the official source and ask a licensed adviser about your own situation. Sources, checks and corrections: see the editorial policy.
Related guides
More calculators
All calculators · Backtesting and risk guides · Crypto trading bot development
Send a short project brief
The form or an email is enough. You do not need to share your rules yet.
- The exchange or platform you use
- What the software should do
- Your target timeline
- Project briefs and business inquiriesinfo@fincodelabs.com
- WhatsApp (messages only)+90 545 697 41 15 (opens in a new tab)