A premium index, an interest-rate term that is clamped, a scale for the funding interval, and a cap and a floor.
OKX's funding rate help page, updated Oct 28, 2026, writes the rate as clamp of this quantity: the average premium index, plus clamp of (interest rate minus average premium index) between 0.05% and −0.05%, then divided by (8 divided by N), and finally held between the cap and the floor. N is the contract's settlement interval in hours, and the allowed values are 1, 2, 4 and 8. The interest rate is 0.01% and is fixed across those intervals. The page says the cap and the floor may be adjusted in real time. Other exchanges publish their own formulas; check your exchange's funding page.