When trading fees are deducted from the crypto you buy, the amount you actually receive shrinks, which directly changes your position cost. The core distinction is this: while the fee itself doesn't participate in price movements, deducting it from the received coins alters your "effective unit price" — fewer coins in your wallet means you've effectively paid a higher price for the same total outlay.
Here are three steps to understand this fee deduction method and calculate your real position cost.
Step 1: Understand the Two Fee Payment Methods for OKX Spot Buys
Starting September 23, 2025, OKX introduced two fee payment methods for spot buy orders, which directly affect the amount you receive and your position cost.
What to do: Confirm which fee payment method you are currently using.
How to check:
| Payment Method | How the System Handles It | Amount of Crypto Received | Actual Total Outlay |
|---|---|---|---|
| Pay with received crypto (default) | Fee is deducted directly from the crypto you are buying | Reduced (net amount after fee deduction) | Only the principal |
| Pay with spent currency | Fee is paid separately using the quote currency, not affecting the bought amount | Equals the full quantity you ordered | Principal + fee |
Example (buying 1 BTC with 100 USDT, 1% fee rate):
Fee deducted from received crypto: You spend 100 USDT; fee = 1 BTC × 1% = 0.01 BTC; you receive 0.99 BTC. Actual cost per BTC = 100 ÷ 0.99 ≈ 101.01 USDT.
Fee paid with spent currency: You spend 101 USDT (1 USDT is the fee); fee = 100 × 1% = 1 USDT; you receive 1 BTC. Actual cost per BTC = 101 USDT.
How to know you've completed this step: You have confirmed whether you are currently using the "pay with received crypto" or "pay with spent currency" mode.
Common pitfall: Placing an order without checking the fee payment option, defaulting to "pay with received crypto," and then calculating the unit price as "100 USDT bought X coins" — when in reality, the amount you received has already been reduced.
Step 2: How to Calculate Actual Position Cost When Fees Are Deducted from Received Crypto
If you are using the default method (fee deducted from the crypto you buy), the key to calculating position cost is: divide your principal by the actual number of coins received, not by the nominal purchase quantity.
What to do: Use your actual trade records to calculate the real cost basis.
How to do it:
In OKX, go to Assets → Spot, find the relevant crypto holding, and click to view the "cost price."
The system offers two calculation methods: average entry cost or cumulative average cost. It is generally recommended to use cumulative average cost, as it incorporates the cumulative results of all buys and sells.
Manual verification formula:
Actual cost price = Total amount spent ÷ Actual amount of crypto receivedTotal amount spent = the quote currency you paid (excluding fees, since the fee was deducted from the crypto)
Actual amount received = order filled quantity − fee amount deducted in crypto
How to know you've completed this step: You have calculated the "real unit price" for this order and confirmed it is higher than the nominal price you saw when placing the order.
Prerequisites: You need to find this trade in your Order History and check three fields: "filled quantity," "fee," and "actual received quantity." OKX's "cost price" feature only supports data from after 00:00 UTC on August 29, 2024.
Risk reminder: If you placed a market order rather than a limit order, the execution price already includes slippage. Combined with fee deduction from the received crypto, your actual cost can exceed expectations by a significant margin. In futures trading, in addition to opening and closing fees, funding rates are settled periodically, which also affects your final position cost.
Step 3: Switch Payment Method If You Want the Full Receipt Amount
If you prefer to receive the full amount of crypto without any deduction, you can manually switch the fee payment method.
What to do: When placing an order, change the fee payment method to "pay with spent currency."
How to do it:
On the OKX Trade page, before placing an order, locate the fee payment method option (usually near the order confirmation area).
Select "Pay fees with spent currency (quote currency)". This way, the fee is deducted separately from your USDT or other quote currency, and the amount of crypto you receive remains unaffected.
Note: With this method, your total outlay increases (principal + fee), but the amount of crypto received equals the quantity you saw when placing the order, making cost tracking more straightforward.
How to know you've completed this step: You have chosen the fee method that suits your bookkeeping habits and understand the cost calculation logic for both methods.
How to Verify Your Calculations Are Correct
After completing a buy order, go to Assets → Spot and find the "cost price" field for that crypto. Verify using the following methods:
Check the actual received quantity: Does it equal "filled quantity − fee deducted in crypto" (default mode)?
Check the cost price: Manually calculate using
total amount spent ÷ actual received quantityand compare it with the cost price displayed by the system.If using the "pay with spent currency" mode: Confirm that the total outlay equals "principal + fee" and that the received quantity equals the order's filled quantity.
If the system's cost price matches your manual calculation, your understanding of the cost structure is accurate. If the numbers don't match, prioritize checking the fee records in your trade history.


