DZPTO

Free pre-trade tool

Crypto trading cost calculator

Estimate opening and closing fees, funding, and holding cost, then compare Binance and OKX on equal assumptions.

Direct answer:The real cost of a perpetual trade is not one fee percentage. Calculate opening and closing fees from the position notional, then add every funding payment during the holding period. For a conservative budget, reserve separately for spread and slippage. Leverage changes required margin, but it does not proportionally shrink fees charged on notional value.

Direct answer: separate three auditable costs

Before comparing, hold constant the exchange, product, market, position notional, actual maker or taker execution, holding time, and side. Binance and OKX can apply different rates by product, account tier, and execution, so a headline minimum is not enough.

This calculator separates relatively knowable opening and closing fees from variable funding cash flows. Slippage is not an exchange fee, but it can change the realized outcome and deserves its own allowance in volatile or thin markets.

  • Opening fee: opening fill notional multiplied by the applicable fee rate.
  • Closing fee: closing fill notional multiplied by its applicable rate; it may differ from the opening amount.
  • Funding: paid or received at each settlement based on position, rate, and side.
  • Execution cost: spread and slippage belong in a separate line, not inside the quoted fee rate.

Trading-cost formula

For an estimate that keeps notional constant, use the simplified expression below. If price changes alter position value, recalculate opening and closing legs with their own fill quantity and price.

Estimated total cost = (opening notional × opening fee rate) + (closing notional × closing fee rate) + Σ(position notional at each settlement × funding rate × side sign)
  • A positive funding rate generally means longs pay shorts; a negative rate reverses the direction.
  • Funding received can appear as a negative cost, but it does not make the trade profitable by itself.
  • The page input uses percent units, so enter 0.05 for 0.05%. The calculator converts it to the decimal 0.0005 used by the formula.

Why Binance and OKX results can differ

Both exchanges distinguish maker and taker execution, while the applicable rate can depend on account tier, regional entity, product, and pair. A limit order is not automatically a maker order: if it executes immediately, taker pricing may apply.

Contract face value, quote or margin currency, funding rate, and settlement schedule must also match. Compare the same product at the same time using values shown in each signed-in account rather than copying one exchange's defaults to the other.

  • Do not mix USDⓈ/USDT-margined and coin-margined contracts.
  • Check regular or VIP tier and whether a temporary discount actually applies.
  • Classify maker or taker from execution, not merely the order label.
  • Record funding interval by interval instead of extrapolating one observation indefinitely.

How to verify before placing the order

Record the product and maker/taker rates shown in your Binance or OKX account, then check the contract page for the current funding rate and next settlement. Compare the calculator with the order preview; where they differ, use the signed-in exchange information.

DZPTO provides scenario estimates. Unless explicitly shown, results exclude taxes, liquidation charges, borrowing interest, temporary campaigns, and every account-level cross-margin effect.

Worked example: Reproducible example: 10,000 USDT notional held for three intervals

Assume both opening and closing fills are taker executions at 0.05%. Assume three funding intervals at +0.01% each, a long position, and constant 10,000 USDT notional. These are replaceable inputs, not live Binance or OKX quotes.

  1. Opening fee = 10,000 × 0.0005 = 5 USDT
  2. Closing fee = 10,000 × 0.0005 = 5 USDT
  3. Funding = 10,000 × 0.0001 × 3 = 3 USDT paid by the long
  4. Estimated total = 5 + 5 + 3 = 13 USDT

With slippage excluded, estimated cost is 13 USDT, or 0.13% of notional. Replace any input with the value from the signed-in Binance or OKX account to reproduce that venue's scenario. Five-times versus ten-times leverage does not change the base fees on the same 10,000 USDT notional.

Frequently asked questions

Are futures fees based on margin or position notional?

They should generally be calculated from executed contract notional and the applicable rate, not only the margin posted. Verify the formula and fill details for the specific contract.

Does every limit order receive the maker rate?

No. The execution must add liquidity to the book. A marketable limit order that fills immediately may be charged as a taker.

Why is my Binance or OKX rate different from the example?

The example demonstrates the arithmetic only. Account tier, regional entity, product, pair, and promotions can change the rate; replace it with the signed-in value.

How many funding payments should I include?

Count the actual settlement timestamps crossed while the position remains open. Check the contract page rather than inferring the count from days alone.

Does the result include slippage?

Not unless the input explicitly includes it. Volatility, order size, and market depth can make realized execution cost higher or lower.

Official sources and checks

How this page was produced: AI-assisted draft · automated release checks · 2026-08-31

Calculation methodology · Data sources