> For the complete documentation index, see [llms.txt](https://docs.imperial.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imperial.trade/margin-and-risk/margin-and-leverage.md).

# Margin & Leverage

Isolated and cross margin, how much leverage you can use, and the margin levels that matter.

Margin is the USDC collateral behind your positions. Leverage is your position size divided by that collateral, and how much you can use depends on the market and on how big your position is.

A $1,000 position on $100 of collateral is 10x.

### Isolated or cross

You choose the margin mode for each order.

| Detail                  | Isolated                                                  | Cross                                     |
| ----------------------- | --------------------------------------------------------- | ----------------------------------------- |
| What backs a position   | Its own collateral                                        | One balance shared by all cross positions |
| Maximum leverage        | The market's size table                                   | The same size tables, per position        |
| If liquidated           | Only that position. The rest of your balance is untouched | Every cross position is closed together   |
| Portfolio margin credit | No                                                        | Yes, for hedged accounts                  |

**Isolated.** Each position has its own collateral, and only that collateral is at risk. You can hold a long and a short on the same market at once. Add or remove collateral on an open position to move its liquidation price. When you close, the collateral returns to your profile automatically.

**Cross.** One balance backs all your cross positions, so profit on one supports the others. Hedged accounts get extra credit from [Portfolio Margin](https://docs.imperial.trade/margin-and-risk/portfolio-margin.md). If the account is liquidated, every cross position is closed together.

### Maximum leverage

Every market has a size table. Bigger positions get less leverage and a higher maintenance rate. Your position's size after the fill decides its row. This is BTC's table today:

| BTC position size | Max leverage | Maintenance |
| ----------------- | ------------ | ----------- |
| Up to $5,000      | 238x         | 0.22%       |
| Up to $500,000    | 232x         | 0.23%       |
| Up to $1M         | 227x         | 0.24%       |
| Up to $2.5M       | 217x         | 0.26%       |
| Up to $5M         | 204x         | 0.29%       |
| Up to $10M        | 188x         | 0.33%       |

Other markets have their own tables. For example, SOL starts at 185x and ETH at 100x. The trade screen and `GET /api/v1/armada/markets` (`marginTiers`) always show the live values. Tables can change. A change applies to new orders only.

#### Why the screen shows slightly less

The 1 bp trading fee comes out of your collateral and counts toward the leverage cap. The usable maximum is:

> max shown = L ÷ (1 + L × fee)

So 238x shows as about **232x**. A builder fee, if your app charges one, lowers it a little further.

### Initial margin

To open or increase a position, your settled collateral must cover your total position size at your leverage:

> total entry notional ≤ collateral × max leverage

Unrealized profit does **not** count toward opening new positions. On cross, each position's requirement is added up.

### Maintenance margin

Maintenance margin is the minimum equity you must keep to avoid liquidation.

* **Equity** = collateral + unrealized PnL at the mark price − funding owed.
* Each position's maintenance rate is set when you open it. Adding to the position can raise it if the larger size falls in a higher row. It never goes down while the position is open.
* Cross accounts add up each position's maintenance, reduced by [Portfolio Margin](https://docs.imperial.trade/margin-and-risk/portfolio-margin.md) for hedged accounts.

If equity falls below maintenance margin, the account is [liquidated](https://docs.imperial.trade/margin-and-risk/liquidation.md).

### High leverage

At 238x your initial margin is about 0.42% of the position and BTC's maintenance is 0.22%. **A move of about 0.2% against you liquidates the position.** Use high leverage for very short-term trades only. The trade screen shows your exact liquidation price before you submit.
