OKX Short Option Margin Calculator
Work out the margin OKX holds when you sell (write) a coin-margined BTC or ETH call or put: the initial margin to keep the position and the maintenance margin below which it can be liquidated, using the formula and parameters OKX publishes for its unified account. You type the prices, the margin factor of your tier and the contract size.
- Initial margin
- –
- Maintenance margin
- –
- Coin
- –
- Initial margin per coin of the option
- –
- Maintenance margin per coin of the option
- –
- Out-of-the-money amount
- –
- Option amount (coins)
- –
Assumptions
- OKX's unified account, coin-margined BTCUSD or ETHUSD options, Portfolio Margin mode not used (it has its own rules).
- Parameters as OKX publishes them: a = 0.1, b = 0.15, c = 0.03 (BTC) or 0.05 (ETH). OKX can change them; check its Option Margin page.
- The margin factor and contract size are the ones you type from OKX; prices are yours, not live.
- Margin for open orders (selling to open, buying to close) is not included: this is the margin for a position you hold.
Checked OKX: Option Margin (unified account; formulas and a, b, c; updated 5 Aug 2026) All sources
How it is calculated
- Out-of-the-money amount: call = max(strike − forward mark price, 0); put = max(forward mark price − strike, 0)
- Initial margin per coin = max(0.1, 0.15 − out-of-the-money amount ÷ forward mark price) × margin factor + option mark price
- Maintenance margin per coin: call = c × margin factor + mark price; put = max(c, c × mark price) × margin factor + mark price (c = 0.03 BTC, 0.05 ETH)
- Total = per-coin margin × contract size × contracts sold, in the coin
Worked example
OKX's own Example 5: selling 50 BTCUSD calls (0.1 BTC each) at strike 6,000 with the forward at 5,900, tier 2 (margin factor 1.02): initial margin 0.96606 BTC.
| You enter | |
|---|---|
| Underlying | BTC (BTCUSD options) |
| Option | Call |
| Strike price | 6,000 |
| Forward mark price (same expiry) | 5,900 |
| Option mark price (in the coin) | 0.0575 |
| Margin factor of your tier | 1.02 |
| Contracts sold | 50 |
| Contract size (coins per contract) | 0.1 |
| You get | |
| Initial margin | 0.96605932 |
| Maintenance margin | 0.4405 |
| Coin | BTC |
| Initial margin per coin of the option | 0.193212 |
| Maintenance margin per coin of the option | 0.0881 |
| Out-of-the-money amount | 100 |
| Option amount (coins) | 5 |
Selling 5 BTC of this option on OKX needs about 0.96605932 BTC of initial margin. If your account's equity falls below the maintenance margin of 0.4405 BTC, OKX can start to liquidate the position.
Questions
Why does a buyer need no margin?
A buyer pays the whole premium up front and can lose no more than that, so OKX asks no initial or maintenance margin for long options.
What is the margin factor?
A multiplier from OKX's option position tier table. It is 1 at the first tier and rises as the total of your short option positions and open orders grows, so larger sellers hold more margin.
OKX's older page uses 0.075 for maintenance. Which is right?
OKX's "Introduction to options margin calculation" works its maintenance examples with 0.075, and for puts with 0.075 × (1 + mark price). Its newer unified-account "Option Margin" page lists c = 0.03 for BTC and 0.05 for ETH, which this tool uses. The initial margin is the same on both in OKX's examples. Your account shows the figure that applies.
Why can a put need more margin than a call?
A coin-margined call is worth at most 1 coin, but a put priced in the coin can be worth more than 1 coin when the price falls far below the strike. That is why the put's maintenance margin uses the larger of c and c × mark price.
Sources and checks
- OKX: Option Margin (unified account; formulas and a, b, c; updated 5 Aug 2026)
- OKX: Introduction to options margin calculation (Examples 5 and 6 are tests here; updated 11 Aug 2026)
- OKX public API: option position tiers (margin factor per tier)
Last checked: 29 October 2026. This tool passes 7 automatic tests before every release. How we check our tools
Your numbers never leave your device: the calculation runs in your browser and nothing you type is sent or stored.
OKX calculates your real margin in your account and can change its parameters and tiers. This estimate uses the prices you type. Selling options can lose more than the premium received. This is not financial advice. Results are estimates for information only and are not financial, investment, tax or legal advice. Crypto prices move fast and leveraged trading can lose more than you expect. Check figures on your exchange or wallet before you act.