How Is the Funding Rate Calculated on a Perpetual Futures Contract?
The funding rate is calculated using a formula that includes the Premium Index and an Interest Rate Component. The Premium Index measures the difference between the perpetual contract's price and the underlying Index Price.
The Interest Rate Component is a fixed or variable rate based on the borrowing cost of the underlying asset. The resulting rate is paid every few hours to keep the contract price in line with the spot price.