All
FAQ
Announcements
Product documents
How are futures trading fees calculated on OKX?
After a sub-account is created, it will inherit the main account’s fee tier after 24:00 (HKT) on the same day.30-day futures trading volume calculation Futures trading volume is calculated in USD.Published on Mar 20, 2023Updated on Mar 29, 2026330How do I calculate borrowing interest?
Interest calculation and deduction Interest calculation time: Recorded every hour on the hour. Interest deduction time: Recorded every hour on the hour. Debts incurred under cross-margin and isolated-margin positions will accrue interest and be deducted separately for each margin type. Interest on borrowed funds is calculated based on the customer's interest-bearing liability and is recorded every hour on the hour, starting from 0:00.Published on Mar 20, 2023Updated on May 11, 202669How do I use the liquidation price calculator?
Select %Calculator located beneath the Buy (long) [crypto] Kickstart your calculation process Make sure you're in the PnL section on the pop-up and select Margin Buy or Margin Sell Select your type of margins Select the Margin mode Margin mode has to be selected to proceed to the calculation phase Insert your Leverage, Entry Price, Exit Price, and Amount Fill up the necessary details before proceeding to calculate the required margin, P&L, and P&L ratio Select Calculate for the result Calculate thePublished on Jul 3, 2024Updated on Apr 16, 202639How do I calculate the average fill price?
To understand the average fill price, it’s important to know how orders work. By using price-first, time-first matching. Buy (Open Long) and Buy (Close Short) are buy orders, while Sell (Open Short) and Sell(Close Long) are sell orders. Buy orders with the highest price and earliest timestamp rank first in the buy order book queue ; Sell orders with the lowest price and earliest timestamp rank...Published on Mar 20, 2023Updated on Jan 30, 202610How do I calculate the liquidation price for futures? What are the conditions for liquidation?
How is the maintenance margin ratio calculated? 1.Published on Mar 20, 2023Updated on May 11, 202685Crypto profit & loss analysis (PnL) FAQ
How is the average cost of a crypto asset calculated in Crypto PnL Analysis? Average cost = (Average cost before the last purchase * Amount + Price of the last purchase * Amount) / Balance after the last purchase7. How is the PnL calculated? PnL = (Last price - Average cost) * Current balance8. How is the PnL% calculated? PnL% = (Last price - Average cost) / Average cost9. How far back is the historical record of Crypto PnL analysis? The historical data is recorded from November 6, 2020.Published on Aug 22, 2023Updated on May 4, 2026105What is X Campaign in OKX Wallet?
The following transactions are not included in reward calculations: Individual transactions below the minimum value requirement OKX DEX API ordersHow is my trading volume calculated for the competation? After you select Join now, eligible transactions involving the specified tokens and trading pairs through the OKX DEX aggregator will be recorded. Your total trading volume during the competition period will be used to determine your event trading volume.Published on Jul 4, 2025Updated on May 5, 202614What is DEX Boost and how do I participate?
The data is only used for calculating eligibility and won't be consumed or deducted.Why is my Boost trading volume different from my actual trading volume? Boost trading volume is calculated by applying a coefficient to your actual trading amount. For regular trades, a base coefficient of 0.85 is applied.Published on Dec 13, 2025Updated on Jan 29, 20261Forced Liquidation FAQ
How is the liquidation price calculated? In addition to checking the Estimated Liquidation Price on the Positions & Assets page, you can also use the Calculator to calculate the liquidation price manually. To access the calculator, go to the trading page and click “···” > Features > Calculator > Liquidation Price. Then, enter parameters such as leverage, entry price, and margin mode to calculate the liquidation price.Published on Jul 4, 2025Updated on May 11, 20267How do total Profit and Loss (PnL) and Grid profits work for Spot Grid?
Any profits from incomplete cycles are not reflected.How is the field "Unpaired PnL" calculated?Published on Jun 20, 2025Updated on Apr 30, 202656How do I track the cost price of my spot trades?
The calculations are based on your spot trading history. You may choose to calculate by average entry cost or cumulative average cost in trading settings Note: we only use data available from 00:00 (UTC) on August 29, 2024, onwards. Get the details of your spot trading from the crypto pageHow do I switch between Average and Cumulative Cost Price?Published on Sep 5, 2024Updated on May 5, 202628What's OKX Boost?
Daily Data: Daily Boost transaction data is available after 00:00 UTC on the following day.What's the Boost calculation rules? Boost trading volume is calculated based on your trading activity on OKX DEX on Solana and EVM-compatible networks. Trading pairs are grouped, and each group corresponds to a different multiplier.Published on Sep 10, 2025Updated on Feb 2, 202628How do I use the custom formula feature?
Navigate to the Trading screen Select Advanced Select Custom Formula from the list of options Select Custom Formula from the Advanced option Enter your formula using mathematical operators For instance, you would like to compare SOL’s performance to BTC using SOL/BTC, or evaluate the stronger pair by calculating SOL/BTC – ETH/BTC You can create a formula using up to 10 pairs with +, -, /, and * operations Once a formula is created, the chart dynamically updates with candles that reflect the calculatedPublished on Mar 5, 2025Updated on Sep 10, 20254Perpetual Futures Funding Fee FAQ
For the funding rate calculation formula, please refer to: Introduction to Perpetual Funding Fee Rules。Published on Sep 28, 2023Updated on Apr 2, 2026197How do I use spot margin trading? (App)
Interest is calculated and settled hourly, starting from 00:00 (UTC). The platform calculates interest based on your interest-bearing liabilities at the top of each hour.How does the hourly calculation work? For example: If you borrow assets at 22:55, interest isn’t charged immediately. At 23:00, the system checks your outstanding liabilities and calculates interest accordingly.Published on Mar 20, 2023Updated on May 11, 2026221