Library · Trading Mechanics

Margin Trading

Margin trading means trading with funds borrowed from an exchange or broker against collateral, which enlarges a position and multiplies both its gains and its losses.

  • Intermediate
  • 5 min read
  • Updated

High-risk topic

Margin trading uses borrowed money. Leverage multiplies losses as well as gains, and a liquidation can take the entire margin of a position. Depending on the venue’s rules, a loss can even exceed the collateral posted. This page explains how the mechanism works. It is not a suggestion to use it.

Why it matters

With spot trading, a position can be no larger than the funds in the account. Margin trading removes that limit by adding a loan. The position gets bigger, and so does everything that happens to it.

The borrowed part also brings in a second party with its own interests. A lender does not share in losses, and it has the right to close the position to get its money back.

How it works

A margin trade is a loan wrapped around a trade
  1. Post collateral1,000 of the trader's own funds.
  2. Borrow1,000 from the exchange. Interest starts.
  3. Open position2,000 of the asset is bought.
  4. Close and repayThe loan and interest come out first.
The loan is repaid in full whatever the trade did. All of the gain, and all of the loss, falls on the trader's own 1,000.

The trader deposits collateral, also called margin. The exchange or broker lends additional funds against it. The combined amount is used to open a position larger than the trader’s own money would allow.

While the position is open, the trader’s stake is the equity: the current value of the position minus what is owed. Every change in the position’s value lands on the equity, because the loan stays the same size.

In plain words

Buying a house with a mortgage works the same way. With a 20% deposit and an 80% loan, a 10% rise in the house price is a 50% gain on the deposit. A 20% fall wipes the deposit out, and the loan is still owed in full. A margin lender differs from a bank in one important way: it can sell the “house” within seconds once the cushion gets thin.

Long and short on margin

Borrowing in both directions

LONG ON MARGIN

Borrow cash to buy more of the asset.

  • Gains if price rises
  • Owes a fixed amount of cash
  • Interest on the cash borrowed

SHORT ON MARGIN

Borrow the asset and sell it.

  • Gains if price falls
  • Loss grows without limit if price rises
  • Owes a fixed amount of the asset
  • Interest on the asset borrowed
Either way, the borrowed amount must be returned, and the collateral is what guarantees it.

Borrowing cash to buy more is a leveraged long. Borrowing the asset itself, selling it, and buying it back later is how a short position is created on a margin account.

How to read the terms

Term Meaning
Initial margin The minimum own funds needed to open the position
Maintenance margin The minimum equity needed to keep it open
Interest The charge on the borrowed amount for as long as the loan lasts
Margin call A lender’s demand for more collateral, typical of traditional brokers
Liquidation The forced closing of the position when equity falls too low

The ratio of position size to own funds is the leverage. The requirements themselves are explained in margin and collateral.

Going deeper

The same price moves, with and without borrowing
AspectOwn funds only (position 1,000)2x margin (position 2,000)
Price +10%+10% on own funds+20% on own funds
Price -10%-10% on own funds-20% on own funds
Price -50%-50%, still holding-100%, liquidated earlier
InterestNoneCharged while the loan is open
Forced closureNot possiblePossible

Margin calls and automatic liquidation

In traditional brokerage, a shortfall usually leads to a margin call, and the broker may sell holdings if it is not met. Brokers are generally permitted to do so without waiting. Crypto exchanges typically skip the call altogether: liquidation is automatic and runs around the clock.

Margin trading and derivatives margin

On a spot margin account something is really borrowed, and interest is paid on it. On futures and perpetual contracts nothing is borrowed. The margin there is a deposit that guarantees the contract, and the running cost is funding, not loan interest. The word is the same and the leverage effect is similar. The plumbing differs. See margin on derivatives.

Collateral can back a single position or be shared across all of them, a choice covered in isolated and cross margin. Lending protocols in decentralized finance apply the same principle on-chain. See DeFi lending and borrowing.

Rules differ

Who may trade on margin, how much may be borrowed and when positions are closed differ by country, venue and asset.

A hypothetical 2x long on marginHypothetical illustration

A trader has 1,000 and borrows another 1,000. With the 2,000, the trader buys 20 units at 100.

  • Price rises 10%, to 110. The position is worth 2,200. After the 1,000 loan, equity is 1,200: a gain of 20% on the trader’s own funds.
  • Price falls 10%, to 90. The position is worth 1,800. Equity is 800: a loss of 20%.
  • Price falls 50%, to 50. The position is worth 1,000, exactly the loan. Equity is zero.

In practice the last line is rarely reached, but in a fast market it can be passed. If the lender requires equity of at least 10% of the position’s value, the position is liquidated when price reaches about 55.6, a fall of about 44%. At that price the position is worth about 1,111 and equity is about 111. Exact thresholds differ between exchanges. Interest and fees are ignored here and would make every line slightly worse.

What it does NOT mean

  • Margin does not make a trade more likely to succeed. It changes the size of the outcome, not its direction.
  • Borrowed funds are not extra money. They are a debt that is repaid first, whatever happens to the position.
  • A liquidation is not a malfunction or a penalty. It is the lender protecting its loan under rules agreed in advance.
  • The amount deposited is not always the most that can be lost. In fast markets and under some venues’ rules, an account can end up owing money.

Common mistakes

  1. Thinking in price moves instead of equity moves. On 2x, a 10% price fall is a 20% loss of own funds.
  2. Forgetting interest. It accrues for as long as the loan is open, so time itself has a cost.
  3. Expecting a warning. Many venues liquidate automatically, at any hour, with no call first.

Risks and limitations

  • Losses are multiplied, and the whole collateral can be lost quickly.
  • A forced closure happens at the prices available at that moment. A later recovery does not help a position that no longer exists.
  • Interest and fees reduce every outcome.
  • Lenders can change margin requirements, interest rates and borrowing limits, sometimes at short notice.

Key takeaway

Margin trading adds a loan to a trade. The loan must be repaid in full, so every gain and every loss on the larger position falls on the trader’s own collateral, which can be lost entirely.

Sources and further reading