uponly / blog
glossary

margin in crypto perps: definition and how it works

what is margin in perpetual futures? a clean definition of initial margin, maintenance margin, and how margin underwrites your leveraged position.

uponly team5 min readGlossary

margin is the collateral you post to open and maintain a leveraged position. it is the chunk of your wallet the protocol locks up as a guarantee that any losses you take can be paid. there are two flavors that matter: initial margin (the amount required to open) and maintenance margin (the minimum required to keep the position alive). drop below maintenance and you get liquidated.

in plain english

margin is the chip you put on the table. the casino does not let you bet 1000 dollars with an empty wallet, but a perp protocol will let you bet 1000 dollars of exposure with 10 dollars of collateral, as long as that 10 dollars stays on the table. when the trade loses enough to threaten the protocol's solvency, the chip gets seized and the position closes.

initial margin vs maintenance margin

these two numbers control your whole risk envelope:

  • initial margin: the collateral needed to open. determined by your chosen leverage. 100x leverage means 1 percent initial margin.
  • maintenance margin: the minimum collateral to keep the position open. usually a fraction of initial, often 0.5 percent to 1 percent of notional on majors.
  • free margin: collateral in your wallet not currently locked in positions.
  • used margin: collateral currently allocated to open positions.
maintenance margin is why your real liquidation price is tighter than the naive 100-over-leverage rule. the protocol does not wait until margin is fully gone, it acts when it hits the maintenance floor.

why margin exists

leverage means the protocol is exposed to losses larger than what you posted. margin is the buffer that absorbs adverse moves before the protocol itself has to eat the loss. it is the entire reason leveraged perps can function without a counterparty going insolvent on every losing trade.

how it shows up on uponly.win

your in-app wallet holds usdc on base. when you choose collateral size and leverage and tap rip, that collateral becomes the initial margin for the position routed to avantis. you can see it locked against the trade until you close. the size you pick is the only money at risk on that rip. for the bigger picture on uponly's no-house, no-pool model, see how uponly was built in one night.

common confusions

margin is not a fee. it is collateral that is locked, not spent. you get it back when you close a profitable trade. you lose it when you close at a loss (or get liquidated). margin is also not the same as leverage: margin is the dollar amount you post, leverage is the multiplier that turns it into notional exposure. they are inversely related: high leverage means low margin per unit of exposure.

  1. margin is collateral, not a fee.
  2. higher leverage means less margin required per unit of exposure.
  3. maintenance margin is what really triggers liquidation, not initial margin.
  4. in cross-margin, all your free balance counts as backstop for every position.

see also

to see margin lock and unlock in real time, open uponly, fund a tiny in-app balance, and rip a small position. closing it returns the margin (plus or minus pnl) to your wallet immediately.

Frequently asked questions

what is initial margin?

the collateral required to open a leveraged position. it equals your position notional divided by your leverage. at 100x, opening a 1000 dollar position requires 10 dollars of initial margin.

what is maintenance margin?

the minimum collateral level required to keep a position open. fall below maintenance and the protocol liquidates the position to protect itself.

can i add margin to an open position?

on most venues, yes. adding margin lowers your effective leverage and moves your liquidation price further from the current mark. uponly inherits avantis behavior on this.

is margin the same as collateral?

practically yes, in the perps context. margin is the collateral locked against a specific position.

what happens to margin when i close a position?

if you closed in profit, you get your margin back plus the pnl. if you closed at a loss, you get whatever margin survived after the loss was deducted.

#margin#glossary#perps#collateral

Want to actually trade this?

uponly.win is the one-tap arcade for crypto perps. 75x–500x leverage. No house. No fees on losses. No fees to open. We only take a small variable cut when you win big.

Related reads