Home / Learn / Glossary
Glossary

What Is Cross Margin?

How cross margin shares collateral across all positions to maximize capital efficiency.

Cross margin is a margin mode in derivatives trading where your entire account balance serves as collateral for all open positions. Rather than allocating a fixed amount of margin to each individual trade, cross margin pools your available funds so that unrealized profits from one position can offset unrealized losses on another. This approach maximizes capital efficiency and reduces the likelihood of liquidation on any single position, but it also means that a large loss on one trade can affect your entire account balance.

How Cross Margin Works

In cross margin mode, every dollar in your trading account is available to support every open position. The exchange treats your account as a single collateral pool:

  • When you open a new position, margin is drawn from your total account balance.
  • Unrealized profits on one position increase your available margin, which can support other positions.
  • Unrealized losses on one position reduce your available margin across the board.
  • Liquidation only occurs when your total account equity falls below the combined maintenance margin requirement for all positions.

For example, if you have $10,000 in your account and open a BTC long and an ETH short, both positions share the full $10,000 as collateral. If BTC rises (profit on your long) while ETH also rises (loss on your short), the BTC profit partially offsets the ETH loss at the account level, keeping you further from liquidation than if each position had isolated margin.

Cross Margin vs Isolated Margin

The primary alternative to cross margin is isolated margin, where each position has its own dedicated collateral pool. Here is a direct comparison:

FeatureCross MarginIsolated Margin
Collateral scopeEntire account balanceFixed per position
Capital efficiencyHigherLower
Liquidation scopeAccount-levelPosition-level
Max loss per positionEntire account balanceAssigned margin only
Position interactionProfits offset lossesPositions independent
ComplexitySimpler to manageRequires per-position sizing

Cross margin is generally preferred by experienced traders running multiple correlated or hedged positions. Isolated margin is preferred when traders want strict risk limits on individual positions, ensuring that a bad trade cannot wipe out the entire account.

Advantages of Cross Margin

Cross margin offers several benefits for active traders:

  • Higher capital efficiency – Your full balance supports all positions, so you can open larger positions or more positions with the same capital.
  • Natural hedging – Correlated positions (e.g., long BTC, short ETH) partially offset each other, reducing overall liquidation risk.
  • Reduced liquidation frequency – Because the entire balance acts as a buffer, temporary adverse moves on one position are less likely to trigger liquidation.
  • Simpler management – No need to manually allocate and rebalance margin across individual positions.
  • Unrealized PnL utilization – Profits from winning positions immediately bolster margin for other positions without requiring you to close and reallocate.

Risks of Cross Margin

While cross margin improves capital efficiency, it introduces specific risks:

  • Total account exposure – A single catastrophic position can consume your entire account balance. Unlike isolated margin, where losses are capped at the margin assigned to that position, cross margin puts everything at stake.
  • Correlated drawdowns – If multiple positions move against you simultaneously (common in market-wide crashes), the combined losses drain your shared margin pool rapidly.
  • Harder to quantify per-trade risk – Because margin is shared, it is more difficult to assign a precise maximum loss to each individual trade.
  • Overconfidence – The larger effective margin can encourage traders to take on more positions than prudent, increasing overall portfolio risk.

Risk management in cross margin mode requires thinking at the portfolio level rather than the individual position level. Position sizing, portfolio-level stop-losses, and correlation awareness are essential.

Cross Margin on Decentralized Exchanges

Implementing cross margin on decentralized platforms is technically more complex than isolated margin because it requires real-time portfolio-level risk calculations. Different DEX protocols handle this differently:

  • Hyperliquid – Supports full cross margin, treating the trader's vault as a unified collateral pool across all perpetual positions. The risk engine evaluates account-level health rather than individual position margins.
  • dYdX – Offers cross margin within subaccounts, where each subaccount acts as a separate cross-margin pool.
  • GMX – Primarily uses isolated margin for each position, with each trade requiring its own collateral deposit.

For whitelabel operators building on platforms like perps.studio, the underlying venue's margin mode determines what options are available to end users. Routing through Hyperliquid, for example, gives operators access to cross margin functionality for their users without building a custom risk engine.

When to Use Cross Margin

Cross margin is most appropriate in the following scenarios:

  • Portfolio-based trading – Running multiple positions across different assets that partially hedge each other.
  • Market making – Market makers typically run many simultaneous positions and need capital efficiency. Cross margin allows them to maximize their quoting capacity.
  • Basis trading – Strategies like cash-and-carry arbitrage involve offsetting positions (spot long + perp short) where cross margin naturally provides efficiency.
  • Experienced traders – Traders who manage risk at the portfolio level and use external risk frameworks to size positions appropriately.

For beginners or traders placing isolated speculative bets, isolated margin may be a safer default, as it prevents a single trade from affecting the entire account.

Frequently Asked Questions

What is cross margin in crypto trading?

Cross margin is a margin mode where your entire account balance is shared as collateral across all open positions. Profits from one position can offset losses on another, reducing the chance of liquidation. However, if one position incurs a large enough loss, it can drain your entire account.

Is cross margin riskier than isolated margin?

Cross margin exposes your entire account balance to every position, which means a single bad trade can potentially consume all your funds. Isolated margin limits losses to the margin assigned to each individual position. However, cross margin reduces the frequency of liquidation by providing more collateral. The "riskier" choice depends on your trading strategy and risk management approach.

Can I switch between cross margin and isolated margin?

Most exchanges allow you to switch between margin modes, but typically only when you have no open positions in the affected market. Some platforms allow per-market margin mode selection, so you can use cross margin on some assets and isolated on others. Check your specific exchange's rules before attempting to switch.

Does cross margin affect liquidation price?

Yes. In cross margin mode, your liquidation price is further from your entry price because your entire account balance supports the position. As your account balance changes (due to other positions' PnL, withdrawals, or funding payments), your liquidation price also shifts dynamically.

What is portfolio margin?

Portfolio margin is an advanced form of cross margin that calculates margin requirements based on the overall risk of the portfolio, including correlations and offsets between positions. It typically offers even higher capital efficiency than standard cross margin and is available on select platforms for qualifying accounts.

Ready to launch your exchange?

perps.studio gives you the infrastructure to deploy a fully branded perpetual futures exchange in minutes.