Skip to content
MOKFEE

Hedge cost calculator for USDT-margined perpetuals

Price a hedge three ways (both sides on one exchange, long and short on two exchanges, spot plus a short) with fees, funding and margin for 1, 7 and 30 days.

Runs in your browser and never connects to an exchangeRevised

Inputs · USDT-margined perpetuals

How you hedge
Default is every 8 hours · read 2026-10 from the Binance page
How the futures orders fill

Futures fees

Regular-user perpetual tier, read 2026-09 from the Binance page · OKX is also 0.02% / 0.05%, read 2026-10 from the OKX page

Original position 1 + hedge 1; enter 1 if the original was already paid for
Only used to show what each side pays or receives; on one exchange and one contract both sides see the same rate, so the net is 0

Total cost of the hedge (USDT)

—

—

USDT
Fees—
Net funding—
Slippage—
Tied up (not a cost)—

Fees: —

Funding: —

Slippage: —

Tied up: —

Days heldFeesFundingTotal

Bars: each item as a share of the total; green is funding received, which offsets part of the cost.

Fees = notional × fee rate × number of orders; funding = notional × funding rate × settlements per day × days, with longs paying and shorts receiving when the rate is positive (Binance and OKX both charge funding as position value × funding rate; OKX funding notes read 2026-10 ). With equal positions on both sides of the same contract on one exchange, the funding the long pays equals what the short receives, so the net is 0. That follows from the formula; it is not something the exchanges state. When price moves, each payment changes with the notional, but as long as both sides are the same size the net on one exchange stays 0. Only when the two sides sit on different exchanges with different rates does the net stop being 0.

A hedge here means opening a position of the same size in the opposite direction to one you already hold, so your PnL stops moving for a while. It isn’t free. You pay fees to open and close, each side ties up margin, and a cross-exchange hedge or a spot-plus-short hedge has funding flowing in or out. The calculator above prices three ways of hedging and spreads the cost over the number of days you plan to hold.

10,000 USDT hedged for 7 days, three ways

Defaults: 10,000 USDT notional on each side, held 7 days, funding settled 3 times a day, 10x leverage. Futures orders fill as taker at 0.05% in and out, and slippage is blank. With a funding rate filled in for each case:

How you hedgeFeesFundingTotalTied up
A Both sides, one exchange (4 orders)20.000.0020.002,000.00
B Long on one, short on another (long 0.01%, short 0.005%)20.0010.5030.502,000.00
C Spot 0.1% in and out plus a short (rate 0.01%)30.00−21.009.0011,000.00

For A, fees are 10,000 × (2 × 0.05% + 2 × 0.05%) = 20. For B, funding is 10,000 × (0.01% − 0.005%) × 3 × 7 = 10.50. For C, the short receives 10,000 × 0.01% × 3 × 7 = 21, shown as a negative cost.

The formulas for fees, funding and margin tied up

A hedge freezes your PnL in place. It doesn’t remove the risk. Which side you close first and where price goes after that decide the final result, and if margin runs short, one of the two sides can still be liquidated.

Which fields each hedge uses, and what isn't counted

Does holding a hedge cost money?

Is a hedged position free once it’s on? Do you pay funding on it every day? Run the funding formula and a same-size hedge on one exchange pays and receives the same amount. The real cost is the fees to open and close, two lots of margin tied up, and slippage when you unwind. Only the cross-exchange hedge and spot plus a short leave net funding. The calculator lists all three side by side for 1, 7 and 30 days and for the number of days you enter.

What to fill in for each hedge

Pick the mode first. Notional per side is the size of each leg, and the two are equal. How the futures orders fill sets maker or taker for opening and closing. In mode A, Orders to open defaults to 2 (the original position plus the hedge). If you’ve already paid for the original and don’t want it counted, change it to 1. Unwinding closes both sides, so Orders to close defaults to 2. Mode B needs the fee rates and funding rates for both exchanges. Mode C needs the spot buy and sell fees and the funding rate on the short side.

Reading the total and the two tables

The big number is the total cost over your chosen days (it reads as net income when funding received is bigger than the costs). The first table splits out fees, funding, slippage and margin tied up, with the formula on each line. The second compares 1, 7 and 30 days with the same inputs. Fees and slippage are one-off, while funding grows in a straight line with the days. The bars show each item as a share of the total. Margin tied up isn’t money spent, but you can’t use it for anything else while the hedge is on.

Why funding nets to zero on one exchange

Binance and OKX both charge funding as position value × funding rate. Longs pay shorts when the rate is positive, and shorts pay longs when it’s negative. Binance’s funding rate introduction says Binance does not charge fees on funding payments. On one exchange and one contract there is a single Mark Price and a single rate at any moment, and entry prices don’t come into it. With equal sizes, what your long pays equals what your short receives, so the net is 0 however far price moves. Only the part where one side is bigger than the other leaves a net amount.

Where the fee and funding defaults come from

The futures fee defaults are Binance USDⓈ-M regular-user rates of 0.02% maker and 0.05% taker, from Binance’s futures fee page in September 2026. OKX perpetual regular-user rates are also 0.02% / 0.05%, from OKX’s fee page in October 2026. The 0.1% spot default is OKX’s regular-user spot taker rate (maker 0.08%), from the same page and month. The funding formula and the default 8-hour interval come from Binance’s Introduction to Binance Futures Funding Rates, read in October 2026. Fees change, so go by the page at the time.

Costs this leaves out

Funding rates change every period, so the calculator multiplies one average rate by the days. In extreme markets an exchange can shorten the interval to 4 hours or less, and then you need a higher settlements-per-day figure. Notional is taken at the opening price and isn’t revalued as price moves. For a cross-exchange hedge, withdrawal fees and transfer time when moving margin between exchanges aren’t counted, and neither are discounts such as paying fees in BNB. Settlement intervals and funding caps on both exchanges are compared in Binance vs OKX Futures: Fees, Contract Size and Tiers.

Who pays funding while you're hedged

If I hold a long and a short of the same size on one exchange, do I still pay funding every day?

On the same contract with equal size, the funding your long pays equals the funding your short receives, so the net is always 0. Funding is Mark Price × size × funding rate, and both sides use the same Mark Price and the same rate whatever their entry prices. Only a size difference between the two sides leaves a net amount.

How is funding worked out when the long and the short are on different exchanges?

Net funding = notional × (funding rate on the long-side exchange − funding rate on the short-side exchange) × settlements per day × days. A positive result means you pay overall, a negative one means you receive. Each exchange's rate changes every period, so the gap won't stay fixed.