Notice: This article explains the mechanics of funding rates and basis trading for educational purposes; it is not financial advice or a recommendation to trade derivatives. Formulas and parameters (base interest, clamp limits, payment frequency) are taken from public documentation of each platform as of mid-2026 and may change with future protocol versions. Specific funding rates are market variables that change hourly: use the ranges we cite as an order of magnitude, not as live values. CleanSky does not receive commissions or referral payments from any of the platforms mentioned.
Perp DEXs —decentralized perpetual futures exchanges— moved more than 6.7 trillion dollars in 2025, a 346% increase over the previous year, and that entire market is sustained by a mechanism that almost no one watches: the funding rate. The funding rate is the periodic payment exchanged between the two sides of a perpetual contract (a future that never expires) to keep its price pegged to the spot asset price. The definition fits in a single sentence —"when the perpetual trades above the spot, long positions pay short positions"— and that is where most guides stop. What almost none of them break down with formulas, tables, and step-by-step examples is that the same $100,000 position pays different rates depending on whether it operates on a centralized exchange, an on-chain order book like Hyperliquid, or a liquidity pool like GMX; that these differences are not cosmetic but structural; and that the star strategy built on this mechanism —the basis trade— hides three risks that tutorials systematically omit. If you are going to trade perpetuals, funding is the half of the bill that you don't see on the price chart.
Why does a perpetual follow the spot price if it never expires?
A traditional future converges with spot because it has a delivery date: upon expiration, both prices must coincide or there is free arbitrage. The perpetual future eliminated that date —popularized by BitMEX in 2016— and with it, lost its natural anchor. Without expiration, nothing forces the perpetual price to resemble the real asset price. It could trade 5% higher indefinitely.
The funding rate is the synthetic anchor that replaces expiration. Instead of forcing convergence once at the end, it forces it continuously through an economic incentive: when the perpetual trades above spot (buyers are more eager), whoever holds a long position (betting it goes up) pays a small fee to whoever holds the short (betting it goes down). When it trades below, the flow reverses. This payment makes it expensive to hold the "hot" side of the position and rewards the opposite side, pushing traders to close the imbalance and returning the price toward spot.
It is important to understand what this payment is and what it is not. The funding rate is not a fee charged by the platform: it is a flow of money between traders. In a well-designed perp DEX, the exchange does not keep it —it only settles it. This difference is what turns funding into a clean market signal and the raw material for an arbitrage strategy, topics we explore below.
How exactly is the funding rate calculated?
The formula used by BitMEX, Binance, and Hyperliquid shares the same backbone. The funding rate for a period consists of two parts: a fixed interest rate representing the cost of financing the position, and a premium index measuring how much the perpetual price deviates from spot. The canonical expression is:
Funding rate = premium index + clamp(interest rate − premium index, −0.05%, +0.05%)
The clamp is simply a function that clips the result so it doesn't fall outside a band: it limits how much the interest component can pull when the premium is small. In calm markets, with the perpetual pegged to spot, funding stays near the base interest rate; in strong trending markets, it follows the premium. The base interest rate is set, as of mid-2026, at the classic 0.01% every 8 hours —roughly 11% annualized— a value most platforms inherited from BitMEX without question (dYdX v4, for example, sets it to zero in its cross markets).
Where the real differences begin is in the payment frequency. BitMEX settles funding three times a day, at 04:00, 12:00, and 20:00 UTC; most centralized exchanges do the same on their own marks (Binance, Bybit, and OKX use 00:00, 08:00, and 16:00 UTC). If you close your position just before that mark, you neither pay nor receive anything for that period. Hyperliquid broke this habit: it calculates the same 8-hour rate but pays it every hour, in eighths, so there is no "funding dodging" window by closing a minute early. Additionally, it caps funding at a maximum of 4% per hour to curb extreme situations. An example grounds the calculation: if you hold a $100,000 long position in a Bitcoin perpetual with funding at the 0.01% 8-hour base, you pay $1.25 to short positions every hour (one-eighth of the $10 for the full period). It seems small; sustained all year, it’s about $10,950 per $100,000 position —exactly the ~11% annualized base rate— and in an euphoric rally, the rate can increase tenfold.
Why does the same position cost differently on Hyperliquid, a CEX, and GMX?
This is where the on-chain angle diverges from the generic narrative. Not all perp DEXs calculate funding the same way because not all have the same market architecture. There are three families, and the mechanism changes fundamentally in each.
The first is the on-chain order book (CLOB, where buyers and sellers match prices directly): Hyperliquid and dYdX v4 belong to this group. They function almost like a centralized exchange —there are real longs and shorts facing off— so they apply the classic premium-plus-interest formula, and funding flows from one trader to another. The difference from a CEX is transparency and settlement: the reference price (mark price) and the rate are published and settled on-chain, verifiable by anyone, instead of living on a private server.
The second family is liquidity pools, with GMX being the canonical example. Here, there isn't a long matched with a short: traders trade against a common pool of liquidity provided by third parties. Since there aren't two sides to balance in the classic sense, GMX v2 doesn't charge a traditional funding rate but rather a combination of side-to-side funding plus a continuous borrowing fee that depends on how much of the pool is being utilized. Only the side with the higher open interest pays, and the rate rises in tiers based on utilization: a "kink" model that grows slowly until an optimal threshold and then spikes. The practical result is that on GMX, the cost of holding a position can become unpredictable in volatile markets when pool utilization nears the ceiling.
The third family, now more residual, is the vAMM (virtual automated market maker), popularized by Perpetual Protocol, where the price is set by a mathematical curve with no real liquidity behind it, and funding corrects the deviation relative to an external oracle. The table summarizes how each model behaves.
| Platform | Architecture | Payment Frequency | Who Pays Whom | Peculiarity |
|---|---|---|---|---|
| Hyperliquid | On-chain order book (CLOB) | Hourly (1/8 of the 8h rate) | From dominant side to opposite, trader to trader | No dodging window; 4% hourly cap |
| dYdX v4 | On-chain order book (own app-chain) | Hourly | From dominant side to opposite | Classic premium + interest formula, settled on-chain |
| BitMEX / Binance (CEX) | Centralized order book | Every 8 hours (04:00 / 12:00 / 20:00 UTC) | From dominant side to opposite | Can close before the mark and not pay |
| GMX v2 | Liquidity pool (GM pools) | Continuous (accrues per second) | Majority side pays; part goes to pool providers | Borrowing fee by utilization; unpredictable cost at peaks |
| Perpetual Protocol | Virtual market maker (vAMM) | Periodic | Corrects deviation from oracle | Price set by curve, no real liquidity behind it |
The lesson from the table is that "funding rate" does not name a single mechanism. In a CLOB, it is a payment between traders reflecting sentiment; in a pool, it is more like renting someone else's liquidity. Confusing them leads to miscalculating the real cost of a position, especially when comparing platforms. Our comparison of Hyperliquid, GMX, and dYdX breaks down how this translates to the total bill, and the HyperCore architecture explains why an order book can live on-chain without sacrificing speed.
What is the basis trade and how is it executed step-by-step?
The basis trade (basis arbitrage) is the strategy that turns the funding rate from a cost into an income. The "basis" is the difference between the perpetual price and the spot price; the trader attempts to capture the funding that flows while that basis exists, without betting on price direction. It is called delta-neutral because the two legs cancel each other out: if Bitcoin goes up, you gain on one and lose the same on the other, and what you are left with is the funding. These are the steps.
Step 1 — Detect persistent positive funding. The trader looks for an asset whose perpetual consistently trades above spot, producing a positive funding rate that long positions pay to shorts. In bull markets, this is common: the herd wants to be long and pays for it.
Step 2 — Buy the spot. The real asset is purchased —for example, $100,000 of Bitcoin at spot— and held. This leg moves up and down with the market price.
Step 3 — Open a short in the perpetual for the same amount. A $100,000 short position is opened in the perpetual. Now directional exposure is zero: what spot gains, the short loses, and vice versa. But since funding is positive and the trader is short, they collect the rate every period.
Step 4 — Collect funding and rebalance. As long as the basis holds, the trader earns funding hour after hour. When the price moves significantly, they must rebalance the size of the legs to keep them matched, which incurs costs. A study published in ScienceDirect comparing this strategy across two centralized exchanges (Binance, BitMEX) and two decentralized ones (ApolloX, Drift) documented cumulative returns between 1.98% and 7.61% over six months in 2025 —far from the double digits promised by tutorials, and with a dispersion across platforms that warns it is not free money.
| Trade Leg | Position | Amount | What happens if BTC rises 10% |
|---|---|---|---|
| Spot (Cash) | Long | $100,000 | +$10,000 |
| Perpetual | Short | $100,000 | −$10,000 |
| Net Directional | Delta-neutral | $0 | ≈ $0 (cancel out) |
| Funding Collected | Short income | variable | Accrues as long as funding is positive |
What risks does the basis trade hide that tutorials omit?
Tutorials present the basis trade as a yield-printing machine without directional risk, and technically it is. But "without directional risk" does not mean "without risk." There are three that are rarely mentioned.
The funding flip. The strategy assumes funding stays positive. There is no law guaranteeing this. As soon as sentiment cools and the perpetual falls below spot, funding turns negative and the short leg goes from collecting to paying. A trader who entered counting on 12% annualized may find themselves paying within hours, and if their entry and exit costs already ate the margin, the trade closes at a loss. Funding is a market variable, not fixed income.
Asymmetric liquidation. The short leg of the perpetual is leveraged and has a liquidation price. If the asset rises sharply and the short's margin is not replenished in time, the platform liquidates it —even though the spot you hold in the other leg has risen by exactly the same amount. At that moment, you cease to be delta-neutral: you are left with a long spot position and no hedge, exposed to full volatility. On platforms with cross-margin, where multiple positions share collateral, a liquidation in one corner of the account can drag down the rest.
Rebalancing cost and slippage. Keeping the two legs matched requires adjusting sizes when the price moves, and each adjustment pays maker (order adding liquidity) or taker (removing it) fees and suffers price slippage. If you also trade spot on one chain and the perpetual on another, you add gas costs and the risk that rates diverge between platforms before you finish moving capital. This arbitrage between order books is also the domain of MEV, where bots compete to front-run your orders. In large trades, rebalancing can erode a good portion of the collected funding.
What does the funding rate tell you about market sentiment?
Beyond trading with it, the funding rate is one of the most honest sentiment thermometers in existence because it is real money changing hands, not a survey. Persistently high and positive funding means there is a crowd willing to pay to be long: euphoria, leverage accumulating on the buy side. Historically, extreme peaks of positive funding have preceded sharp corrections because that long leverage is fuel for a liquidation cascade as soon as the price turns.
Negative funding tells the opposite story: more people paying to be short, fear or hedging dominating. When funding has been very negative for days, there are often more shorts than the market can sustain, and a small rally can trigger a short squeeze —shorts forced to buy back, pushing the price higher. Reading funding, along with open interest and volume, gives a picture of accumulated leverage that the price chart alone does not show. It is the difference between seeing the price and seeing the pressure behind it.
This mechanism is also at the center of the regulatory pulse over on-chain perpetuals. Whether a contract without expiration and with continuous funding is a "future" for legal purposes is part of what the CFTC and traditional exchanges are debating, as we analyzed in the perpetual futures war between the CME and the CFTC. And it is the economic engine that explains where the revenue for platforms like Hyperliquid comes from, something we break down in its revenue fundamentals analysis.
Where to start reading funding before trading?
Before opening a position in any perpetual, three checks avoid most surprises. First, look at the frequency and predicted rate: funding paid every 8 hours —where you can close before the mark— is not the same as hourly funding like Hyperliquid's, where every hour you hold the position costs money. The figure that matters is not the period rate, but its annualized equivalent, as it reveals the true cost of holding.
Second, understand which architecture you are in. If it's a pool like GMX, your cost is not classic funding but a borrowing fee that rises with utilization and can spike exactly when most people want the same side as you. If it's an order book, funding reflects the imbalance between longs and shorts, and a very high rate is telling you that you are on the crowded side. The full landscape of platforms is in our guide to DeFi perpetuals in 2026.
Third, if your plan is the basis trade, budget for the three risks —funding flip, short leg liquidation, and rebalancing cost— before counting the yield. The operational rule is simple to state and easy to forget: the funding rate is not guaranteed income; it is the real-time price of market imbalance. Collecting it consistently requires that imbalance to persist and your costs of maintaining it to be lower than what you earn. When those two conditions stop being met —and they stop being met without warning— the yield-printing machine becomes a burn machine.
Related articles: Hyperliquid vs GMX vs dYdX: the perp DEX wars. DeFi Perpetuals in 2026: platforms, risks, and what to expect. The perpetual futures war: CME vs the CFTC. Monitor your positions and on-chain portfolio status on CleanSky — before calculating a strategy's yield, you must see clearly what you have and where.