Free calculator

Futures calculator

By Swiftedge · Published

Profit = (exit − entry) × size for a long and the reverse for a short; margin = position value ÷ leverage; an isolated long is liquidated near entry × (1 − 1/leverage + maintenance margin). A 0.1 BTC long at $80,000 with 10× uses $800 margin, makes $200 at $82,000 (+25% on margin) and is liquidated near $72,400.

-Profit / loss after fees
-Return on margin
-Est. liquidation price
-Position value
-Initial margin
-Fees (entry + exit)

The formulas

Worked examples (0.1 BTC, maintenance margin 0.5%, before fees)

SideLeverageEntryExitMargin ProfitOn marginEst. liquidation
Long10x80,00082,000$800$20025.0%72,400
Short5x80,00078,000$1,600$20012.5%95,600
Long25x80,00079,000$320$-100-31.2%77,200

Higher leverage brings the liquidation price closer to the entry: at 25× a 3.5% move against the position is enough. See where other traders' liquidations sit on the live liquidation map.

Common questions

How is futures profit calculated?

For a long, (exit price - entry price) x position size; for a short, the reverse. Fees for entering and exiting are subtracted. Leverage does not change the dollar profit, only the margin you post.

How is the liquidation price calculated?

For isolated margin, a long is liquidated near entry x (1 - 1/leverage + maintenance margin) and a short near entry x (1 + 1/leverage - maintenance margin). Venues differ, so it is an estimate.

What is return on margin?

Profit divided by the margin you posted. At 10x leverage, a 2.5% move in your favor is about +25% on margin, and a 2.5% move against you is about -25%.

Does funding affect the result?

Yes, on perpetual futures you pay or receive funding while the position is open. The calculator leaves it out because it changes every few hours.

Free to link from your site, course or guide:

<a href="https://swiftedge.uk/futures-calculator">Futures calculator by Swiftedge</a>

Keep reading

Position size calculatorHow much to buy or sell so a stop loses exactly what you planned.Futures calculatorProfit, return on margin and an estimated liquidation price for any position.Live liquidation mapWhere leveraged positions would be liquidated, right now.Swiftedge DepthThe live order book heatmap, free in the browser.