> For the complete documentation index, see [llms.txt](https://help.rails.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.rails.xyz/trading/options/options-metrics-guide.md).

# Options Metrics Guide

This guide explains the main options metrics on Rails and how they are calculated. Explore them below:

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td align="center">Definitions</td><td><a href="/pages/sWbZHQU8UthIBBab35kM#definitions">/pages/sWbZHQU8UthIBBab35kM#definitions</a></td></tr><tr><td align="center">General Calculations</td><td><a href="/pages/sWbZHQU8UthIBBab35kM#general">/pages/sWbZHQU8UthIBBab35kM#general</a></td></tr><tr><td align="center">Margin Calculations</td><td><a href="/pages/sWbZHQU8UthIBBab35kM#margin">/pages/sWbZHQU8UthIBBab35kM#margin</a></td></tr><tr><td align="center">Pricing, Fees &#x26; Settlement Calculations</td><td><a href="/pages/sWbZHQU8UthIBBab35kM#pricing-fees-and-settlement">/pages/sWbZHQU8UthIBBab35kM#pricing-fees-and-settlement</a></td></tr></tbody></table>

{% hint style="info" %}
See [Black-76 & the Greeks](/trading/options/black-76-and-the-greeks.md) for pricing inputs and [Margin & Liquidation](/trading/options/margin-and-liquidation.md) for liquidation mechanics.
{% endhint %}

## Definitions

<table><thead><tr><th width="117.8828125" align="center">Symbol</th><th>Meaning</th></tr></thead><tbody><tr><td align="center"><span class="math">F</span></td><td><strong>Forward price:</strong> the underlying reference price used to value the option.<br><br>On Rails, <span class="math">F = P_{index}</span></td></tr><tr><td align="center"><span class="math">K</span></td><td><strong>Strike price:</strong> the price at which the option settles at expiry.</td></tr><tr><td align="center"><span class="math">P</span></td><td><p><strong>Price</strong>, where:</p><ul><li><span class="math">P_{index}</span> is the Index Price, or current fair-market price of the underlying asset. It is used in margin calculations.</li><li><span class="math">P_{call}</span> is the <strong>call model price</strong> from <a href="/pages/rFy02RjAy9r2qkWRiWkK">Black-76</a>, before the intrinsic floor.</li><li><span class="math">P_{put}</span> is the <strong>put model price</strong> from <a href="/pages/rFy02RjAy9r2qkWRiWkK">Black-76</a>, before the intrinsic floor.</li><li><span class="math">P_{mark}</span> is the Mark Price.</li></ul></td></tr><tr><td align="center"><span class="math">Q</span></td><td><strong>Contracts:</strong> the number of option contracts in the position.</td></tr><tr><td align="center"><span class="math">S</span></td><td><p>Side: direction of the position, where:</p><ul><li>Long = 1</li><li>Short = -1</li></ul></td></tr><tr><td align="center"><span class="math">T</span></td><td><strong>Time to expiry:</strong> the remaining life of the option, expressed in years.</td></tr><tr><td align="center"><span class="math">p</span></td><td><p><strong>Premium:</strong> the per-contract amount paid by the buyer or received by the seller.</p><ul><li><span class="math">p_{paid}</span> is the Premium Paid.</li><li><span class="math">p_{rcvd}</span> is the Premium Received.</li></ul></td></tr><tr><td align="center"><span class="math">M</span></td><td><p><strong>Margin,</strong> where:</p><ul><li><span class="math">IM</span> is <strong>Initial Margin,</strong> or collateral required to open or maintain a short option position.</li><li><span class="math">MM</span> is <strong>Maintenance Margin,</strong> or the minimum collateral required to avoid liquidation on a short option position.</li><li><span class="math">M_{used}</span> is <strong>Used Margin,</strong> or collateral locked to cover open orders and positions.</li></ul></td></tr><tr><td align="center"><span class="math">D</span></td><td><strong>Deposits:</strong> Amount of USDT deposited into your account.<br><br><em>Note:</em> <a href="/pages/G2bk5zSYFdeZivCGO0N7"><em>Transferring</em></a> <em>cash balances from Perps to Options Account are considered a deposit.</em></td></tr><tr><td align="center"><span class="math">W</span>​</td><td><strong>Withdrawals:</strong> Total USDT withdrawal volume.<br><br><em>Note:</em> <a href="/pages/G2bk5zSYFdeZivCGO0N7"><em>Transferring</em></a> <em>cash balances from Options to Perps are considered a withdrawal.</em></td></tr><tr><td align="center"><span class="math">P\&#x26;L</span>​</td><td><p><strong>Profit &#x26; Loss:</strong> the USDT profit or loss relative to entry and position size, where:</p><ul><li><span class="math">P\&#x26;L_u</span>​ = Unrealized P&#x26;L</li><li><span class="math">P\&#x26;L_r</span>​​ = Realized P&#x26;L</li></ul></td></tr><tr><td align="center"><span class="math">Fee</span>​</td><td><p><strong>Fees:</strong> Total fees charged in USDT, where:</p><ul><li><span class="math">Fee_{del}</span> is the Delivery Fee (only at expiry)</li><li><span class="math">Fee_{txn}</span> is the Transaction Fee (except at expiry)</li></ul></td></tr><tr><td align="center"><span class="math">PO</span></td><td><strong>Payoff</strong>: the USDT amount settled at expiry, equal to the option's intrinsic value if in-the-money and zero otherwise. The seller pays the payoff to the buyer at settlement.</td></tr></tbody></table>

## Calculations

### General

<details>

<summary>Total Balance</summary>

Total Balance is the settled cash value of your account. It reflects completed events, but does not include unrealized P\&L from open positions:

$$\text{Total Balance} = D\_{total} + p\_{total} + PO -W\_{total} -Fees\_{total}$$

</details>

<details>

<summary>Available Balance</summary>

**Available Balance:** funds available for new trades or withdrawals.

$$\text{Available Balance} = \text{Total Balance} - M\_{used}$$

</details>

<details>

<summary>Account Balance</summary>

Your **Account Balance** is your total cash (collateral), and is equivalent to your Total Balance when you have no positions open.

$$\text {Account Balance} = \text{Available Balance} + M\_{used}$$&#x20;

</details>

<details>

<summary>Account Equity</summary>

Account Equity is the real-time value of the account, combining settled cash with the current mark-to-market value of all open positions:

$$\text{Account Equity} = \text{Total Balance} + \sum\_{i} \left( P\_{mark,i} \times (Q\_i \times S\_{i} \right)$$

where:

* $$\sum\_{i} \left( P\_{mark,i} \times Q\_i \right)$$ is the combined mark-to-market value of all open positions, using each position's Mark Price ($$P\_{mark,i}$$) and quantity

For short positions, the position mark value is negative, so Account Equity can be above or below Total Balance depending on how open positions are marked.

</details>

### Margin

<details>

<summary>Margin Ratio</summary>

Margin Ratio measures how close a short position account is to liquidation. It is the account's total maintenance requirement relative to its equity.

$$\text{Margin Ratio} = \frac{MM\_{total}}{\text{Account Equity}}$$

where:

* $$MM\_{total} = \sum\_{i} MM\_i$$
  * Note: the sum of the Maintenance Margin for each open position ($$i$$) (see [Maintenance Margin (Short Call/Put)](#maintenance-margin-short-call-put)).
* $$\text{Account Equity} = \text{Total Balance} + \text{Positions Mark Value}$$

A higher Margin Ratio indicates greater liquidation risk; liquidation is triggered when the ratio reaches 100%.

</details>

<details>

<summary>Margin (Long Call/Put)</summary>

For **long calls or puts**, the maximum loss is the premium paid for the contract and adds a buffer rate of 16.5%, therefore:\
\
Required initial margin is calculated:  $$IM = (p \times 1.165) \times Q$$

Once the premium is paid upon fills, the maintenance margin required becomes: $$MM = (p \times 0.165) \times Q$$

{% hint style="info" %}
The 16.5% **buffer rate** covers a 12.5% liquidation fee, 1% insurance fee, and 3% slippage.
{% endhint %}

</details>

<details>

<summary>Initial Margin (Short Call/Put)</summary>

For **short calls or short puts**, potential losses can be large. Short calls have no upside loss ceiling, and short puts can still lose significantly if the underlying falls to zero. Therefore, margin is the greater of $$IM'$$ and Maintenance Margin:

$$M = \max(IM',\ MM)$$

Where:

$$IM' = \max!\left(0.15 \times P\_{index} - \text{OTM Discount},\ 0.10 \times P\_{mark}\right) \times Q$$

{% hint style="info" %}
This uses 15% index-based risk, with a 10% mark-price floor, plus mark price. It also ensures Initial Margin never falls below Maintenance Margin.
{% endhint %}

</details>

<details>

<summary>Maintenance Margin (Short Call/Put)</summary>

In Short Calls or Short Puts, Maintenance Margin is used for [liquidation monitoring](/trading/options/margin-and-liquidation.md):

$$MM = \max!\left(0.05 \times P\_{index} - \text{OTM Discount},\ 0.05 \times P\_{mark}\right) \times Q$$

{% hint style="info" %}
This uses 5% index-based risk, or 5% mark-price floor.
{% endhint %}

</details>

<details>

<summary>Mark Price Floor (Calls &#x26; Puts)</summary>

Rails prices options using [Black-76](/trading/options/black-76-and-the-greeks.md) and applies an intrinsic value floor to prevent a mark price below [intrinsic value](#intrinsic-value).

**For calls:** $$P\_{mark} = \max!\left(P\_{call},\ \max(F - K,0)\right)$$

**For puts:** $$P\_{mark}= \max!\left(P\_{put},\ \max(K - F,0)\right)$$

</details>

<details>

<summary>OTM Discount (Short Calls/Puts)</summary>

For **short calls,** the OTM discount reduces short-call margin when the call is out of the money:

* $$\text{OTM Discount} = \max(0,\ K - P\_{index})$$

For short puts, the OTM discount reduces short-put margin when the put is out of the money:

* $$\text{OTM Discount} = \max(0,\ P\_{index} - K)$$

</details>

<details>

<summary>Position Mark Value</summary>

Positions Mark Value is the mark-to-market value of all open positions:

$$\text{Positions Mark Value} = \sum\_{i} \left( P\_{mark,i} \times Q\_i \right)$$

</details>

### Pricing, Fees & Settlement

<details>

<summary>Premium</summary>

Option premiums are calculated using the Black-76 formula. Given the complexity, the formula and details are explained in our article on [Black-76 and the Greeks](/trading/options/black-76-and-the-greeks.md).

</details>

<details>

<summary>Intrinsic Value</summary>

Intrinsic value is the option's immediate exercise value — what it would be worth if exercised right now.

**For calls:** $$\text{Intrinsic Value} = \max(F - K,\ 0)$$

**For puts:** $$\text{Intrinsic Value}= \max(K - F,\ 0)$$

</details>

<details>

<summary>Payoff</summary>

At settlement, if the contract is ITM, the contract seller pays the [intrinsic value](/trading/options/options-metrics-guide.md#intrinsic-value) to the buyer, else the contract expires worthless.

**For calls:** $$PO = Q \times \max(F - K,\ 0)$$

**For puts:** $$PO = Q \times \max(K - F,\ 0)$$

</details>

<details>

<summary>Transaction Fee</summary>

The transaction fee applied to each options trade (other than at expiry) is calculated as:

$$Fee\_{txn} = min(0.0003 × P\_{index}, 0.125 × p) × Q$$

The 12.5% cap on the option price prevents the fee from ever exceeding a fair proportion of the premium. Deep out-of-the-money contracts can have a premium close to zero, so charging on the index price alone would be disproportionate; the MIN function ensures the fee stays reasonable relative to the premium.

</details>

<details>

<summary>Delivery Fee</summary>

Options that are held through to expiry are settled with a delivery fee, calculated as:

$$Fee\_{del} = (0.00015 × P\_{index}) × Q$$

</details>

<details>

<summary>Settlement P&#x26;L</summary>

These formulas show payoff at expiry, before fees:

* **Long call:** $$P\&L = \max(F - K,0) - p\_{paid}$$
* **Long put:** $$P\&L = \max(K - F,0) - p\_{paid}$$
* **Short call:** $$P\&L = p\_{rcvd} - \max(F - K,0)$$
* **Short put:** $$P\&L = p\_{rcvd} - \max(K - F,0)$$

</details>
