Is Funding Fee Calculated on Margin or Position Size?

Crypto futures funding fees are usually based on position value, not margin. See the formula, a simple example, and the role of leverage.

Crypto perpetual funding fees are generally calculated from your position value, also called notional value, rather than from the margin you deposited. The usual formula is:

Funding fee = Position value × Funding rate

This distinction matters because leverage can make your position much larger than your margin. Applying the funding rate to the wrong number can therefore underestimate the payment or receipt.

Quick Answer

On many perpetual futures exchanges, the funding rate is applied to the value of the open position at the funding timestamp. It is not simply multiplied by the margin assigned to that position.

For example, if you use $100 of margin to open a $1,000 position and the funding rate is 0.01%, the estimated funding fee is:

$1,000 × 0.01% = $0.10

It would not be $100 × 0.01% = $0.01. This is a simplified teaching example; the exact position-value formula, settlement interval and deduction method depend on the exchange and contract type.

Margin and Position Value Are Different Numbers

Margin is the collateral supporting a futures position. Position value is the total market exposure controlled by that position.

ItemWhat it meansSimple example
MarginCollateral allocated to the position$100
LeverageRelationship between exposure and margin10x
Position valueTotal exposure in the market$1,000
Funding rateRate applied at the funding timestamp0.01%
Estimated funding feePosition value × funding rate$0.10

In this example, the position value is ten times the margin. That is why calculating funding from margin would produce the wrong estimate.

The relationship can be approximated as:

Position value ≈ Margin × Leverage

This is only a shortcut for a simple opening example. The exchange calculates the actual fee from its own definition of position value.

How Exchanges Calculate the Funding Fee

The formula is straightforward, but the definition of position value varies by product. For a linear USDT- or USDC-margined perpetual, it is commonly based on contract quantity, contract size and mark price. An inverse contract may use a different formula denominated in the underlying cryptocurrency.

OKX states that its funding fee equals position value multiplied by the funding rate. Its documentation also uses different position-value formulas for USDT/USDC-margined and crypto-margined perpetual futures. Bybit likewise states that the resulting funding rate is applied to position value and provides separate calculations for USDT, USDC and inverse perpetual contracts.

The general answer remains the same, but one contract formula should not be copied into every market.

Does Higher Leverage Increase the Funding Fee?

Not by itself, provided the position value stays the same.

Consider two positions with the same $1,000 market exposure:

ScenarioPosition valueLeverageApproximate marginFunding at 0.01%
A$1,00010x$100$0.10
B$1,00020x$50$0.10

Both positions have the same notional value, so the same funding rate produces the same estimated funding fee. The leverage setting changes the approximate initial margin required, not the $1,000 exposure used in this simplified funding calculation.

The result changes if higher leverage is used to open a larger position. For example:

In that case, the fee increases because position value increased—not because the leverage number directly multiplied the funding fee.

Who Pays the Funding Fee?

The sign of the funding rate determines the direction of the payment.

Funding is normally exchanged between traders. A trader generally participates only when holding an eligible position at the settlement timestamp.

Do not assume that every contract settles funding every eight hours. Eight hours is a common example, but some contracts use one-, two- or four-hour intervals, and exchanges may adjust settlement frequency under certain market conditions. Always check the live funding details for the exact contract.

Why Your Actual Funding Fee May Differ From a Quick Estimate

A manual estimate may differ from the final account entry because:

  1. The rate can change. A predicted rate may not equal the settlement rate.
  2. Mark price can move. This may change the notional value before settlement.
  3. Position size can change. Partial fills, reductions or added exposure affect the funding base.
  4. Contract formulas differ. Linear and inverse contracts may use different units.
  5. Intervals vary. Check the next funding time for the specific pair.
  6. Deduction rules differ. Funding may affect available balance, isolated margin or cross-margin equity.

A third-party calculator is therefore an estimate, not a replacement for the exchange’s contract details and transaction history.

Common Mistakes

Using margin as the funding base

Margin supports the position, but it is generally not the number directly multiplied by the funding rate. The position value is the key figure.

Assuming leverage always increases funding

Leverage can allow a larger position, but changing leverage without changing position value does not necessarily change the funding fee.

Treating the displayed rate as fixed

Funding rates may update before settlement. The rate visible when a position is opened may not be the final settlement rate.

Assuming every exchange settles every eight hours

Intervals can differ by contract. Check the next funding timestamp displayed by the exchange.

Ignoring the settlement timestamp

A position held at the relevant settlement time may pay or receive funding. Closing before that time can change whether the position participates, subject to the platform’s processing rules.

Frequently Asked Questions

Is funding calculated on margin?

Usually no. On many crypto perpetual platforms, the funding rate is applied to the position or notional value rather than the margin deposited. Check the formula for the specific exchange and contract.

Is position value the same as margin?

No. Margin is collateral. Position value is total market exposure. With leverage, position value can be much larger than margin.

Does adding margin increase the funding fee?

Adding collateral without changing the position size generally does not increase the funding base. If position value remains unchanged, the estimated funding fee should also remain unchanged, although platform-specific rules still apply.

Does 20x leverage cost more funding than 10x leverage?

Not when both positions have the same position value and use the same funding rate. The fee increases when the exposure subject to funding increases.

Can funding fees increase liquidation risk?

They can. If funding payments reduce available balance, position margin or account equity, the liquidation buffer may become smaller. The effect depends on the exchange and whether the position uses isolated or cross margin.

Final Takeaway

Crypto perpetual funding fees are generally calculated from position value × funding rate, not from margin alone. Leverage matters indirectly because it affects how much exposure a given amount of margin can control. If position value stays unchanged, changing the leverage setting does not automatically change the funding fee. If leverage is used to create a larger position, the funding amount can rise because the position value is larger.

Before relying on any estimate, verify the current funding rate, next settlement time, contract type and position-value formula on the exchange. Funding is part of the cost and risk of keeping a perpetual position open, so it should be considered together with position size, available margin and liquidation distance.

Official Sources

This article is for educational purposes only and does not provide investment, legal, tax or financial advice. Crypto derivatives involve substantial risk, including the possibility of liquidation.

Related trading notes

Price action is the trace left by market reaction.

The Phantom Box Protocol turns that trace into a structured way to read the current move: follow it, fade it, or stay out.

Start Reading the Protocol →