Library · Trading Mechanics

Margin & Collateral

Margin is the collateral posted to open and keep a leveraged position; it absorbs the position's losses, and if it falls below the maintenance requirement the position is liquidated.

  • Intermediate
  • 5 min read
  • Updated

High-risk topic

Margin exists because leveraged positions can lose more than a trader has put up. Leverage multiplies losses as well as gains, and a liquidation can take the entire margin of a position. This page explains how margin is measured. It is not a suggestion to trade with it.

Why it matters

Every leveraged position rests on a deposit. That deposit, the margin, is what the exchange watches, and its level decides whether a position stays open or is closed by force.

Margin vocabulary is dense: initial, maintenance, equity, free, ratio. Each term answers a simple question about the same pool of money.

How it works

Four margin terms
CollateralThe assets deposited to back leveraged positions.
Initial marginThe amount that must be set aside to open a position.
Maintenance marginThe smaller amount that must remain to keep it open.
Free marginCollateral not currently tied to any position.

Collateral is whatever a trader deposits to back leveraged positions. Margin is the part of that collateral committed to a particular position. In everyday use the two words overlap.

An exchange applies two thresholds:

  • Initial margin is what must be set aside to open a position. It follows from the leverage: at 10x it is 10% of the position’s size.
  • Maintenance margin is the lower amount that must still be there for the position to stay open. It is usually a small percentage of the position’s size.

Between the two lies the buffer that absorbs losses.

In plain words

Margin is like the security deposit on a rented flat. The landlord holds it against possible damage. Small damage is deducted from it. If the damage approaches the size of the deposit, the landlord ends the tenancy while there is still something left to cover the bill.

How it is calculated

Equity = collateral + unrealized P&LEquity is the live value of the margin. It moves with every price change.
Liquidation occurs when equity falls to the maintenance marginExchanges express this in different ways, often as a margin ratio. The exact formula differs by exchange.
Equity left in a hypothetical 10x long as price falls
Price 100 (entry)100

The full initial margin.

Price 9770

An unrealized loss of 30 has been absorbed.

Price 9220

An unrealized loss of 80.

Price 90.55

Equal to the maintenance requirement. The position is liquidated.

Position: 10 units bought at 100 with 100 of margin. Hypothetical maintenance requirement: 5. Fees and funding are ignored.
Term Question it answers
Initial margin How much is needed to open this position?
Maintenance margin How much must remain to keep it open?
Equity How much is the margin worth right now, after unrealized P&L?
Free or available margin How much is left over for new positions or withdrawals?
Margin ratio How close is the position to liquidation?

Going deeper

A deposit, not a fee

Margin is not spent when a position is opened. If the position is closed at the entry price, the margin comes back, less fees. What reduces it is losses, fees and funding.

What counts as collateral

Exchanges differ in what they accept. Some contracts are backed by a stablecoin, others by the traded coin itself, and multi-asset accounts accept several assets at a discount to their market value, often called a haircut.

The choice matters. If a long position is backed by the same volatile asset, a price fall shrinks the collateral at the same moment as it creates the loss. Collateral held in a stablecoin depends on that coin keeping its value.

Adding and removing margin

Adding margin to a position raises its equity and moves the liquidation price further away. It also raises the amount at stake in that position. Removing margin does the reverse.

Requirements are not fixed

Many exchanges raise the maintenance rate as a position gets larger, and may change requirements when markets become volatile. A position that met the rules yesterday may sit closer to its threshold today without the price having moved.

Slow erosion

On perpetual futures, funding payments are settled against the margin. A position can therefore drift toward liquidation while price stands still.

Which price is used

Equity on derivatives is normally calculated from the mark price, not the last trade. Whether margin is tracked per position or across the account is covered in isolated and cross margin. Contract-specific detail is in margin on derivatives.

Following the margin of one hypothetical positionHypothetical illustration

A trader opens a 10x long: 10 units at 100, a position of 1,000, with 100 of margin. The exchange’s hypothetical maintenance requirement is 0.5% of the opening value, which is 5.

  • Price 97. Unrealized loss: 10 x 3 = 30. Equity: 70.
  • Price 92. Unrealized loss: 80. Equity: 20.
  • Price 90.5. Unrealized loss: 95. Equity: 5, equal to the maintenance requirement. The position is liquidated, after a fall of 9.5%, not 10%.

Suppose that at 92 the trader adds 50 of margin. Equity becomes 70, and liquidation now occurs when the loss reaches 145, at a price of 85.5. The position has more room. It also now has 150 at stake instead of 100.

What it does NOT mean

  • Margin is not the price of a position. It is a deposit against losses on a position many times larger.
  • Initial margin is not the amount that can be lost before liquidation. Liquidation happens at the maintenance level, a little earlier.
  • Free margin is not idle money under cross margin. It can be drawn on automatically to support losing positions.
  • Adding margin does not reduce a loss. It moves the liquidation price and increases what is exposed.

Common mistakes

  1. Confusing position size with margin. Profit, loss and fees are calculated on the position, then charged to the margin.
  2. Assuming requirements are the same everywhere. Maintenance rates, tiers and formulas differ by exchange and by contract.
  3. Watching price and not equity. Funding and fees lower equity even when price is flat.

Risks and limitations

  • The whole margin of a position can be lost, and under cross margin the loss can extend to the rest of the account.
  • Requirements can be changed by the exchange, including for open positions.
  • The simplified numbers on this page ignore fees, funding and slippage, all of which bring liquidation closer.

Key takeaway

Margin is the deposit that absorbs a leveraged position’s losses. The position opens at the initial margin and is force-closed when equity falls to the maintenance margin, by rules that differ between exchanges.

Sources and further reading

  • Options, Futures, and Other Derivatives, John C. Hull. Initial margin, maintenance margin and the operation of margin accounts
  • Margin Accounts (opens in a new tab), FINRA. Initial margin, maintenance margin and the margin call in a brokerage margin account
  • Futures Glossary (opens in a new tab), U.S. Commodity Futures Trading Commission. Glossary definitions of margin as money or collateral deposited with a broker, and of initial and maintenance margin