Skip to content
Finance Lessons

DeFi Derivatives & Perpetuals

The Funding Rate Mechanism

The thermostat that keeps a never-expiring perp glued to spot. The exact funding formula — interest plus a clamped premium component — who pays whom, worked payment arithmetic, the eight-hour cadence, and reading funding as a crowd-positioning signal.

13 min Updated Jun 8, 2026

Last lesson left a cliffhanger: a perp has no expiry, so what keeps its mark price from floating away from the index forever? The answer is the funding rate — a periodic payment swapped directly between longs and shorts. It’s the single most important mechanism in this entire course, the thing that turns “a never-expiring contract” from a broken idea into the deepest market in crypto. This lesson opens it all the way up: the exact formula, the arithmetic of a real payment, the cadence, and how traders read the funding rate as a positioning signal.

Before you read — take a guess

In the funding mechanism, who actually pays the funding — and to whom?

The thermostat: a payment that punishes the crowded side

Analogy. Picture a seesaw that’s supposed to stay level. When too many kids pile onto the left, the left sinks — and the rule of this playground is that the heavy side has to keep handing snacks to the light side for as long as the imbalance lasts. Kids on the sinking side get tired of paying, some hop off, and the seesaw drifts back to level. Funding is exactly that snack tax: the crowded side of the perp pays the empty side, and the payment is what re-levels the market.

Definition. The funding rate is a periodic interest-like payment exchanged between the long and short holders of a perpetual, sized to push the mark price toward the index. The mechanics:

  • If the perp trades above index (positive premium → demand to be long), the funding rate is positive, and longs pay shorts.
  • If the perp trades below index (negative premium → demand to be short), the funding rate is negative, and shorts pay longs.
  • The payment happens every funding interval (commonly every 8 hours; some venues use 1 hour or continuous accrual).

The exchange is not a counterparty — it just moves the money from one side’s margin to the other’s. That peer-to-peer design is what makes it self-financing and self-correcting.

Think first

If the perp is trading above index and longs must pay shorts, name two distinct forces that this payment sets in motion to push the mark back down.

Hint: Think about what existing longs feel, and what a fresh arbitrageur is now tempted to do.

The exact formula: interest rate plus a clamped premium

Most beginners think funding is just the premium. It’s a bit more refined. The canonical funding rate (the formula popularized by BitMEX and adopted, with variations, almost everywhere) has two components:

F=P+clamp ⁣(IP, c, +c),F = P + \operatorname{clamp}\!\big(I - P,\ -c,\ +c\big),

where:

  • FF is the funding rate for the interval.
  • PP is the premium component — a time-weighted average of (markindex)/index(\text{mark} - \text{index}) / \text{index} over the interval. This is the “how rich is the perp” term.
  • II is a small fixed interest-rate component (often a flat 0.01% per 8h, reflecting the cost-of-carry difference between the two currencies of the pair). This gives funding a gentle baseline even when premium is zero.
  • clamp(,c,+c)\operatorname{clamp}(\cdot, -c, +c) caps the interest-vs-premium adjustment within a band ±c\pm c (the “interest rate / premium clamp”), so the two components don’t double-count.

In plain terms: funding ≈ the premium, nudged by a small baseline interest rate, with a clamp so the formula stays well-behaved. For intuition you can usually read FPF \approx P, but the interest term is why funding is often a touch positive even when mark ≈ index (longs structurally pay a small carry to be long).

Info:

Why two components, not just the premium?

The pure premium tells you the perp is rich or cheap right now, but two perps on the same asset can have different “natural” funding because their quote currencies have different interest rates (cost of carry). The interest-rate component II encodes that baseline; the premium component PP encodes the live supply/demand imbalance. The clamp stops the interest adjustment from overwhelming the premium signal. Most venues default II to a flat figure and let PP do the real work.

Worked example: computing an actual funding payment

Numbers make it concrete. Suppose on an 8-hour interval:

  • The time-weighted premium is P=0.04%P = 0.04\% (the perp averaged 0.04% above index over the interval).
  • The interest component is I=0.01%I = 0.01\%.
  • The clamp band is wide enough that it doesn’t bind here.

Step 1 — the funding rate. Using F=P+clamp(IP,c,+c)F = P + \operatorname{clamp}(I - P, -c, +c) with a non-binding clamp, the adjustment is IP=0.01%0.04%=0.03%I - P = 0.01\% - 0.04\% = -0.03\%, so

F=0.04%+(0.03%)=0.01%.F = 0.04\% + (-0.03\%) = 0.01\%.

So for this interval the funding rate is 0.01% (1 basis point), and it’s positive, so longs pay shorts.

Tip:

A simpler mental model for the exam

The two-component formula matters for precision, but for most reasoning you can treat the funding rate as approximately the premium and focus on the payment arithmetic below — which is where traders actually feel it. We’ll quote a clean rate and compute the cash both ways.

Step 2 — the payment, on notional. Funding is charged on your position notional, not your margin. Take a long with notional $50,000 at a funding rate of 0.01%:

payment=notional×F=50,000×0.0001=$5.\text{payment} = \text{notional} \times F = 50{,}000 \times 0.0001 = \$5.

Because F>0F > 0, this $5 is paid by the long to the shorts. A trader on the short side with the same $50,000 notional receives $5.

Step 3 — annualize it, and feel the sting. A 0.01% rate every 8 hours is three times a day, so per day it’s 0.03%. Annualized:

0.03%×36510.95% per year.0.03\% \times 365 \approx 10.95\% \text{ per year.}

That “tiny” 1-bp funding is an ~11% annualized carry on notional. And funding spikes hard in euphoric markets: a 0.1% 8-hour rate (ten times our example, not rare in a bull run) annualizes to roughly 0.1% × 3 × 365 ≈ 109% per year. Holding a leveraged long through sustained high funding can quietly eat your entire stake even if the price never moves against you.

You hold a long perp with $50,000 notional. The 8-hour funding rate prints at +0.03%. What happens at the funding timestamp?

Fill in the funding arithmetic.

Pick the right option for each blank, then check.

Funding is charged on your position , not your collateral. A long with $50,000 notional at a +0.02% 8-hour rate pays to the shorts. Since funding lands every 8 hours, that is times a day, which annualizes to roughly 0.06% × 365 ≈ per year — a carry that can dwarf the price move if you sit in a crowded long.

The cadence and the convergence loop

The interval matters. With 8-hour funding, a position open across a funding timestamp pays or receives; a position opened and closed between timestamps pays nothing (which is why some scalpers deliberately flatten before funding, and why funding-arbitrage strategies care about the exact snapshot time). Shorter intervals (1-hour, or continuous accrual à la Hyperliquid) smooth this out and reduce the “dodge the timestamp” game.

Now watch the full loop in motion. The animation runs the convergence again, but read it now as the funding loop: a positive premium ⟶ longs pay shorts ⟶ longs trim / arbs short the perp ⟶ mark falls toward index ⟶ premium shrinks ⟶ funding shrinks. The system hunts for premium ≈ 0.

The funding loop closing the premiumPremium: +2.00%
Perp (mark) priceIndex (spot) price
$30,000time →

Perp above index → funding positive → longs pay shorts

Read this as the funding thermostat at work. A positive starting premium means longs pay shorts each period; that cost pushes longs out and pulls arbitrageurs in to short the rich perp, so the mark falls toward the index and the premium — and thus the funding rate — shrinks toward zero. Flip the slider negative to see shorts paying longs instead.

Cause and effect: a perp's funding has been deeply NEGATIVE for two days. What is the chain of consequences the mechanism sets up?

Reading funding as a positioning signal

Because funding is the price of crowd imbalance, it’s one of the loudest sentiment gauges in crypto. Practitioners read it constantly:

  • Persistently high positive funding = the market is aggressively, expensively long. It’s a sign of leverage euphoria and a setup for a long squeeze: if price dips, over-leveraged longs get liquidated, and forced selling cascades (the next lessons). High funding is “everyone is crowded on one side and paying through the nose to be there.”
  • Deeply negative funding = crowded shorts, a setup for a short squeeze — a sharp rally as shorts are forced to cover.
  • Funding near zero / slightly positive = balanced, healthy positioning with the small structural long carry.

The basis trade (final lesson) monetizes this directly: when funding is richly positive, you can be delta-neutral — long spot, short perp — and simply collect the funding as yield, harvesting the crowd’s impatience without taking a directional view.

Warning:

High funding is not free money — it's a warning light too

A tempting misconception: “funding is +0.3%, I’ll just farm it forever.” Two catches. First, you must be properly hedged (delta-neutral) or you’re really just betting on direction with extra steps. Second, extreme funding marks extreme crowding, which is exactly when violent liquidation cascades reset the market — a deleveraging event can move price against an imperfect hedge faster than the funding pays you. Funding is a yield and a crowding alarm at the same time.

Big picture

The funding-rate mechanism — the whole machine

  • Funding rate
    • What it is
      • Periodic long↔short payment
      • Exchange is just the middleman
      • Sized to push mark → index
    • The formula
      • F = premium P + clamped interest I
      • P = avg (mark − index)/index
      • I = small baseline carry
    • The payment
      • Charged on NOTIONAL, not margin
      • Positive → longs pay shorts
      • Every 8h (×3/day) → big annualized
    • As a signal
      • High +funding → crowded longs, squeeze risk
      • Deep −funding → crowded shorts
      • Basis trade farms it delta-neutral
A peer-to-peer payment sized to the premium plus a baseline interest term, charged on notional each interval, that drags mark to index and broadcasts crowd positioning.

Recap: the funding rate

Question 1 of 50 correct

The funding rate is positive. Which direction does the payment flow, and what is the intended effect on the mark price?

Check your answer to continue.

You’ve now mastered the heart of the perp: the funding rate that keeps it anchored, computed to the basis point and read as a crowd signal. But we’ve been quietly assuming “leverage” without pinning it down. Next we make it exact — how a small margin controls a big notional, the precise price at which a position is liquidated, and the engines and keeper bots that pull the trigger the instant your buffer runs out.

Mark lesson as complete