Tools / Funding Rate Calculator
OKX Funding Rate Calculator (USDT-Margined Perpetual Swaps)
Project OKX perpetual swap funding on mark-price position value. How OKX steps the interval from 8h down to 1h when capped, the 8/N factor, and where each payment lands.
Venue mechanics on this page are as of 2026-09. Fees, limits and margin tiers change — check the venue's own docs before acting on a number.
- Per payment
- — USD
- Per day
- — USD
- Over 30 days
- — USD
- Annualised rate
- —
- Direction
- —
Enter notional as contracts × contract size × contract multiplier × mark price — OKX values the position at the mark price for funding. A positive rate means longs pay shorts; OKX charges no service fee and the payment is settled between users. Only positions held at assessment pay or receive. This projects the current rate forward; it is a model, not a forecast.
Default 8 hours, stepped down when capped
OKX’s funding fee page (updated 27 Aug 2026) sets the default at every 8 hours — 00:00, 08:00 and 16:00 UTC — “unless specified otherwise (i.e. every 1, 2 or 4 hours)”. The variable part is specific to OKX: when a crypto perpetual’s rate hits its cap or floor at settlement, OKX raises the frequency one level:
8h → 4h → 2h → 1h
and reverts to the default once a stated condition holds (the condition is on that page). Each step doubles the number of payments per day, so the calculator above needs 3, 6, 12 or 24 depending on where the contract is.
The API docs give the reliable way to tell: take the difference between
fundingTime and nextFundingTime from GET /api/v5/public/funding-rate.
Current settlement intervals are also on OKX’s
funding page.
The 8/N factor
The formula as published has been revised several times, so treat this as the 27 Aug 2026 structure, with constants written as symbols:
F = clamp[ (P + clamp(interest_rate − P, band)) / (8 / N), cap, floor ]
N = settlement interval in hours
P = time-weighted moving average of the premium index over the interval
Premium index = [max(0, Impact bid − Index) − max(0, Index − Impact ask)] / Index
Two OKX-specific details:
/(8 / N)scales the rate to the interval. A contract stepped down to 2 hours shows a per-settlement rate a quarter the size of the same premium on 8 hours. Enter the rate as shown; do not divide it again.- The cap and floor are per contract and “may be adjusted in real-time”,
exposed as
maxFundingRate/minFundingRate. The rate applied at settlement is the one calculated in the previous minute, and thefundingRatefield is the predicted rate for the upcoming settlement.
Impact value is tied to the contract’s max leverage. The general concept is in what is a funding rate.
Position value is not the contract count
OKX quotes swaps in contracts, and the payment is on value at the mark price:
Funding fee = Position value × Funding rate
Position value = Number of contracts × Contract size × Contract multiplier × Mark price
Entering the contract count, or contracts × entry price, into the notional field gives the wrong answer. Contract size and multiplier come from the contract’s specifications.
Worked example
Illustrative numbers only — read the live values on OKX. A long of 200 contracts, contract size 0.01, multiplier 1, mark price 3,000. The contract has been stepped down to a 2-hour interval, and the rate is −0.003%, held constant.
| Value | |
|---|---|
| Position value | 200 × 0.01 × 1 × 3,000 = 6,000 USDT |
| Payments per day | 24 ÷ 2 = 12 |
| Per payment | 6,000 × 0.003% = 0.18 USDT received (negative rate: shorts pay longs) |
| Per day | 2.16 USDT |
| Over 30 days | 64.80 USDT |
| Annualised | −0.003% × 12 × 365 = −13.14% of position value |
Left at the default 3 payments per day, the calculator would show 0.54 per day — a quarter of the real figure. The same position on the short side pays those amounts. Annualized funding cost explains why the annualised row is the fair comparison across intervals.
Where the payment lands
OKX charges no service fee; funding is settled between users, and you pay or receive only if you hold a position at assessment. Where it is booked depends on margin mode:
| Margin mode | Funding is debited or credited to |
|---|---|
| Isolated | That position’s isolated margin |
| Cross | The currency equity of the cross account |
The isolated row matters for liquidation. OKX’s isolated formula starts from the position’s margin balance, so every funding payment you make lowers it and moves the level toward the mark price. Put your current margin balance into the OKX liquidation price calculator to see where it now sits. Isolated vs cross margin covers the wider trade-off, and how to calculate funding payments the general method.
FAQ
How often is funding paid on OKX perpetual swaps?
Every 8 hours by default, at 00:00, 08:00 and 16:00 UTC, unless a contract is specified otherwise. When a crypto perpetual's rate hits its cap or floor at settlement, OKX raises the frequency one level at a time, from 8 hours to 4, 2 and then 1 hour, and reverts to the default once its stated condition holds.
How do I find an OKX contract's current funding interval?
OKX's API docs say to use the difference between fundingTime and nextFundingTime from GET /api/v5/public/funding-rate. Do not assume 8 hours, because the interval can be stepped down automatically while you hold the position.
Does OKX use mark price for funding?
Yes. For USDT-margined swaps OKX defines position value as number of contracts times contract size times contract multiplier times mark price, and the funding fee as position value times funding rate. The contract count on its own is not the notional.
Where is OKX funding debited for isolated and cross positions?
For an isolated position, funding is debited from or credited to that position's isolated margin. For cross, it goes to the currency equity of the cross account. On an isolated position, a paying funding stream therefore reduces the margin balance that OKX's liquidation formula uses.
Does OKX charge a fee on funding?
No. OKX says it does not charge any service fees on funding; the payment is settled between users. Longs pay shorts when the rate is positive and shorts pay longs when it is negative.