Trading8 min read
Funding rates explained: how perpetual futures stay close to spot
How a funding rate works on perpetual futures: who pays whom, how Hyperliquid calculates it, a worked example in dollars, and what it costs to hold.
Dylan Shilts, Founder of Hypr Markets
Published · Updated
On this page
A perpetual future never expires, so nothing forces its price to meet the spot price on a set date. The funding rate does that job instead: a regular payment between traders who are long and traders who are short, sized to pull the contract back toward spot.
This is the funding rate explained for traders who hold perpetual positions for more than a few minutes, and for operators whose clients ask what the funding line on their screen means. By the end you will know who pays whom, how Hyperliquid calculates the rate, how to turn a rate into dollars, and when funding costs more than trading fees.
The numbers come from Hyperliquid's documentation, linked where used. Examples are labeled as examples. This is education, not advice.
Why perpetual futures need funding
A dated futures contract settles against the spot price at expiry, so its price converges to spot as that date approaches. A perpetual has no expiry. Left alone, its price could drift away from the asset it tracks for as long as traders kept paying up for one side.
Funding closes that gap with incentives. Hyperliquid describes it as a mechanism to ensure the price of the contract stays close to the underlying asset's price. When the perpetual trades above spot, holding a long costs money and holding a short earns it, which rewards traders who sell the premium away. When it trades below spot, the incentive reverses.
Who pays whom
| Funding rate | Perpetual vs spot | Longs | Shorts |
|---|---|---|---|
| Positive | Above spot (a premium) | Pay | Receive |
| Negative | Below spot (a discount) | Receive | Pay |
On Hyperliquid, funding is purely peer-to-peer and no fees are collected on the payments. It is added to or subtracted from holders' balances every hour. Only open positions take part: if you hold no position at the funding time, you neither pay nor receive.
Because funding settles into your margin, a run of payments moves your liquidation price. Hyperliquid's liquidation docs list funding payments as one reason the actual liquidation price can differ from the estimate. How much that matters depends on your margin mode, covered in isolated vs cross margin.
How is the funding rate calculated on Hyperliquid?
The funding page gives the formula. It produces an 8-hour rate, and one eighth of it is paid each hour:
Funding rate (8-hour) = P + clamp(I - P, -0.05%, +0.05%)
P = average premium index, sampled every 5 seconds, averaged over the hour
I = interest rate, fixed at 0.01% per 8 hours
Paid each hour: one eighth of the funding rate, capped at 0.5% an hour
The premium
The premium measures how far the perpetual's order book sits from the oracle price. Hyperliquid computes impact prices: the average price you would get selling or buying a set notional on the book, which the contract specifications put at 20,000 USDC for BTC and ETH and 6,000 USDC for other assets.
- If selling that amount would still fill above the oracle price, the perpetual trades at a premium and P is positive.
- If buying that amount would fill below the oracle price, it trades at a discount and P is negative.
- If the oracle price sits between the two impact prices, the premium is zero.
The oracle price is computed by each validator as the weighted median of spot prices on centralized exchanges, so the premium compares Hyperliquid's perpetual with the wider spot market.
The interest rate and the clamp
The interest component is fixed at 0.01% per 8 hours, which is 0.00125% an hour. The clamp has a useful consequence: whenever the averaged premium stays within 0.05 percentage points of the interest rate (between -0.04% and +0.06%), the clamp cancels the premium and the rate equals the interest rate. In that band, longs pay shorts 0.00125% an hour.
| Averaged premium (example) | Clamp term | 8-hour rate | Paid per hour | Who pays |
|---|---|---|---|---|
| 0.00% | +0.01% | 0.01% | 0.00125% | Longs |
| +0.20% | -0.05% | 0.15% | 0.01875% | Longs |
| -0.10% | +0.05% | -0.05% | -0.00625% | Shorts |
The hourly rate is capped at 0.5%, which the docs call much less aggressive capping than centralized exchanges use.
Builder-deployed markets
For HIP-3 perps, the docs say a more responsive premium formula is used, and deployers can shape funding with a funding rate multiplier and the interest rate. The numbers above describe Hyperliquid's standard perps; on a HIP-3 market, check its own parameters.
Worked example: a $25,000 long held for 24 hours
The payment formula is position size × oracle price × funding rate, so notional is measured at the oracle price, not your entry price. For this example, hold the oracle price flat and the rate constant.
| Input | Value |
|---|---|
| Position | Long 0.25 BTC |
| Oracle price (example, held flat) | $100,000 |
| Notional | $25,000 |
| Hourly funding rate (example) | +0.0100% |
| Payment each hour | $25,000 × 0.0100% = $2.50, paid by the long |
| Payments in 24 hours | 24 |
| Total over 24 hours | $60.00 paid |
| Share of notional | 0.24% |
Funding is charged on notional, not on margin. If this long was opened at 10x with $2,500 of margin, $60 is 2.4% of that margin in one day.
The same position at other example rates:
| Hourly rate (example) | Per hour | 24 hours | 30 days |
|---|---|---|---|
| +0.00125% (interest rate only) | $0.31 paid | $7.50 paid | $225 paid |
| +0.0100% | $2.50 paid | $60 paid | $1,800 paid |
| +0.0500% | $12.50 paid | $300 paid | $9,000 paid |
| -0.0100% | $2.50 received | $60 received | $1,800 received |
At the 0.5% hourly cap, the position would pay $125 an hour, or $3,000 (12% of notional) in 24 hours. The cap is a ceiling, not a typical value, but it shows how fast funding can matter at high leverage.
Annualized funding and how to read it
To annualize an hourly rate, multiply by 8,760, the hours in a year. An hourly rate of 0.01% is 87.6% a year; 0.05% is 438%. Hyperliquid's docs quote the interest component as 11.6% APR. Simple multiplication gives 10.95% (0.00125% × 8,760); compounding hourly gives about 11.6%.
Annualized figures help you compare funding with interest rates or other carry, but they project one hour's rate over a year. Funding changes every hour, so a 400% annualized reading can be gone the next day.
Compare like with like. An 8-hour rate and an hourly rate for the same cost differ by a factor of eight, so convert to one interval before comparing venues.
Funding as a sentiment signal, and its limits
Funding shows which side is paying to hold. Persistently positive and rising funding means longs keep paying a premium, a sign that long positioning is crowded. Crowded leveraged longs are also the positions that liquidate if price falls, which is why traders read funding next to a liquidation heatmap. Deeply negative funding says the same about shorts.
The limits matter as much:
- It measures a premium, not a direction. Funding says the perpetual trades above or below spot. It does not say where either is going.
- The baseline is not a signal. On Hyperliquid's standard perps, the clamp holds the rate at 0.00125% an hour while the premium is small, so that reading says little about sentiment.
- Arbitrage pulls it back. Traders who buy spot and short the perpetual collect positive funding, and their selling narrows the premium.
- It is one venue. Funding on one exchange reflects that exchange's traders.
- Extremes can last. Crowded funding can persist for days. It is not a timing tool.
Funding versus trading fees
Funding and fees are both costs of holding a position, but they work differently.
| Detail | Funding | Trading fees |
|---|---|---|
| Paid to | Traders on the other side | The exchange, plus any builder fee to the terminal |
| When | Every hour a position is open | On each fill, opening and closing |
| Based on | Notional at the oracle price | Fill notional |
| Direction | Paid or received | Always paid |
Hyperliquid's base perpetual fees are 0.045% taker and 0.015% maker. Opening and closing the $25,000 example with taker orders costs 2 × $25,000 × 0.045% = $22.50 in Hyperliquid fees. Holding it for 30 days at the interest-rate-only funding of 0.00125% an hour costs $225. For long holds, funding can be the larger cost. The breakdown of exchange and builder fees is in Hyperliquid fees explained.
Neither the exchange nor the terminal takes a share of funding. A terminal's builder fee is charged on fills only.
Risks of holding through funding
Where to see funding
The Hyperliquid funding rate calculator turns a rate into dollars for any position and holding period, and can load each market's current hourly rate from Hyperliquid's public API. Every terminal on Hypr Markets includes a funding view in its Order Flow desk, alongside the other order flow tools listed on the features page. For background on the exchange itself, see what is Hyperliquid.
Frequently asked questions
What is a funding rate?
A funding rate is a periodic payment between long and short holders of a perpetual future. When the perpetual trades above spot, the rate is positive and longs pay shorts. When it trades below spot, shorts pay longs. The payment pulls the contract's price back toward the underlying asset.
How often is funding paid on Hyperliquid?
Every hour. Hyperliquid computes an 8-hour rate from the premium and a fixed interest component, then pays one eighth of it each hour, capped at 0.5% an hour.
How do I calculate my funding payment?
Multiply position size by the oracle price by the hourly rate. A $25,000 position at an example rate of 0.01% an hour pays or receives $2.50 for that hour. Repeat for each hour the position is open, with that hour's rate.
Does the exchange keep funding payments?
No. On Hyperliquid, funding is peer-to-peer and no fees are collected on it. Every dollar a long pays goes to shorts, or the reverse. Trading fees are a separate charge, made on each fill.
Is a positive funding rate bullish?
It means longs are paying a premium to hold, so long positioning is in demand. That is not a forecast. Crowded longs can also be the positions that get liquidated if price falls, and funding can stay high or flip without warning.