EN
ไทย
[OK] loaded margin_engine.so
[OK] loaded liquidation_calc.so
PERP_101.exe
leverage // margin // liquidation — explained with sliders, not theory
01 What is a perp, actually

A perpetual contract lets you bet on a price without owning the asset. You put up a small amount of money (margin) and control a much bigger position size. The exchange just tracks the price difference between your entry and now, and settles your profit or loss against your margin.

No expiry date — that's the "perpetual" part. You hold it until you close it, or until the exchange closes it for you (liquidation).

02 Leverage = a size multiplier

Leverage decides how big a position your margin can control. $10 margin at 10x controls a $100 position. Drag it below and watch position size scale while margin stays put.

LEVERAGE_SIM10x
Margin (your money) $10
Leverage 10x
Position Size
$100
Your Capital
$10
Borrowed Exposure
$90
Key point — leverage doesn't add money. It just decides how much price exposure your fixed margin controls. Higher leverage = same dollars, bigger swings.
03 Liquidation: where it actually breaks

Your margin is the cushion that absorbs price moving against you. Once the price drops enough that your losses would eat through nearly all your margin, the exchange force-closes your position — that's the liquidation price. You don't choose this; it's protection for the exchange, not for you.

The higher your leverage, the thinner the cushion, the closer liquidation sits to your entry price.

LIQUIDATION_GAUGE LONG
LONG
SHORT
Entry Price $74.42
Leverage 10x
Current Mark Price $74.76
Liq. Price
--
Distance to Liq.
--
PNL Right Now
--
LIQUIDATION ZONE SAFE ZONE
MARK
This is what your screenshot showed — est. liq. price $70.16 vs mark $74.76 on a 10x long. That gap is exactly this bar. Drag leverage up in the module above and watch that gap collapse toward zero.
04 Why perps feel like a get-rich-quick tool

Here's the actual mechanism. With spot trading (just buying the asset outright), your return on capital equals the price move. Price up 5%, you're up 5%. With perps, your margin is small compared to position size — so that same 5% move is calculated against the full position, not your margin. The return on your margin gets multiplied by leverage.

That's the entire trick. Leverage doesn't make the asset move more, doesn't give you better information, doesn't give you an edge. It just re-scales the same price move against a smaller pile of your own money. Drag the slider below — same 5% market move, three leverage levels, same margin each time.

RETURN_ON_MARGIN_SIM $100 margin, same move, 3 leverages
Market Price Move +5%
2x leverage
--
10x leverage
--
25x leverage
--
all on $100 margin — return shown is % gain or loss on that $100, not on position size
The catch nobody markets — the exact same multiplier that turns +5% into +125% at 25x turns -5% into -125% — except you can't lose more than 100% of your margin, so a big enough adverse move just liquidates you outright. Drag the slider negative and watch the 25x column hit "LIQUIDATED" long before the others. Leverage amplifies variance, not skill. If you don't have an edge on direction, leverage just makes you broke faster, with extra steps.
05 Equal access, unequal fragility

Here's the real promise of leverage. A trader with $500 at 2x and a trader with only $10 at 100x can both control the exact same $1,000 position. Same price move, same dollar profit — leverage genuinely puts a small budget on equal footing with a big one, in terms of exposure.

But the budgets aren't paying the same price for that access. The $10 trader's margin is a paper-thin cushion — a routine 1% wobble wipes it out. The $500 trader can absorb a 50% crash and still be holding the position. Same opportunity, wildly different room to be wrong about timing. Drag the slider below and watch both traders live through the exact same price move.

RICH_VS_POOR_SIM $1,000 position, both traders
Price Move +10%
💰 Rich Trader
$500 margin · 2x leverage
Profit/Loss --
Return on Margin --
--
🪙 Small-Budget Trader
$10 margin · 100x leverage
Profit/Loss --
Return on Margin --
--
Both control the same $1,000 position. Only their margin and leverage differ.
The opportunity is genuinely equal — the fragility isn't. Drag the slider to a small negative number, like -1% or -2%. The small-budget trader is already gone while the rich trader barely notices. Leverage doesn't make a small account "as good as" a big one — it makes a small account behave like a big one only on the way up, and like a much smaller one on the way down.
06 Same margin, same move, every leverage side by side

The slider in section 04 showed three leverages at a time. Here's the full picture at once — $100 margin, a few common price moves, every leverage from 1x to 100x. Red cells mean the position is liquidated before that move even finishes playing out.

FULL_LEVERAGE_MATRIX $100 margin
Leverage +10% move +5% move -5% move -10% move
1x +$10 (+10%) +$5 (+5%) -$5 (-5%) -$10 (-10%)
3x +$30 (+30%) +$15 (+15%) -$15 (-15%) -$30 (-30%)
5x +$50 (+50%) +$25 (+25%) -$25 (-25%) -$50 (-50%)
10x +$100 (+100%) +$50 (+50%) -$50 (-50%) LIQUIDATED
50x +$500 (+500%) +$250 (+250%) LIQUIDATED LIQUIDATED
100x +$1000 (+1000%) +$500 (+500%) LIQUIDATED LIQUIDATED
← swipe to see all leverage levels →
Notice the asymmetry — at 10x, a +10% move makes you double your margin, but a routine -5% to -10% pullback (something BTC does within a single day, regularly) wipes you out completely. At 50x and 100x, even a -5% dip is fatal. This table uses a simplified liquidation cutoff at exactly -100%; in practice maintenance margin makes real liquidation trigger slightly before that, so the actual danger zone is a touch tighter than shown here.
07 "Lower leverage" doesn't undo a loss

This trips almost everyone up once. If price drops and your position is bleeding, adding margin (lowering effective leverage) pushes your liquidation price further away — buying time. It does not recover the loss already sitting on the position. Your PNL only depends on entry vs. mark price. Period.

MARGIN_ADD_SIM same loss, different fate
Entry → Current Price Drop 15%
10x — no extra margin
LIQUIDATED
3x — margin added
STILL OPEN
Both lost the same %. The 3x version just isn't forced shut yet — the dollar loss on paper is identical, it's only survived because more capital is now exposed to further downside.
08 Funding: the quiet recurring cost

Spot holding has no recurring fee just for holding. Perps do — it's called the funding rate, paid between longs and shorts every few hours (usually every 1 or 8 hours depending on the exchange). It exists to keep the perp price tethered to the real spot price.

When more traders are long than short, longs pay shorts (and vice versa). It's usually small — fractions of a percent per period — but it compounds over time if you hold a position for weeks, which matters since you already run long-horizon DCA elsewhere. A perp held open for months can quietly bleed meaningful funding cost even while price sits flat.

FUNDING_OVER_TIME small rate, held long enough
Funding Rate (per 8h) 0.01%
Days Held Open 30 days
Periods Paid
--
Total Funding Cost
--
On $1,000 Position
--
This is why perps suit short-term bets better than long-term holds. Your screenshot's funding line showed -$0.00 — basically nothing over a short hold. Stretch that same rate over months and it adds up. For long-horizon conviction positions, spot (or your DCA approach) usually beats holding a perp open indefinitely.
09 The actual tool for cutting losses

If you want to limit downside on purpose — not just delay liquidation — that's what Stop Loss (SL) is for. You set a price; if mark price hits it, your position auto-closes at roughly that level, on your terms, before liquidation engine ever gets involved. Take Profit (TP) is the mirror: auto-close once you've made your target gain.

TP / SL TIMELINE
entry → price moves → SL triggers → position closed by YOU, not the exchange
Take Profit
Closes in your favor
Stop Loss
Closes to cap your loss
Liquidation
Exchange closes it for you
10 Full check — 6 questions

These cover every misunderstanding that came up today. No pressure, just see where it sticks.

Q1 Your long position is down badly. You add margin to lower your leverage. What actually happens?
Q2 You change leverage on an open isolated position from 10x to 5x. What changes?
Q3 Two traders use the same $100 margin. Trader A uses 2x, Trader B uses 25x. Price moves +5% in their favor. What's true?
Q4 Does higher leverage give you a better chance of making a profitable trade?
Q5 What's the real difference between a Stop Loss and getting liquidated?
Q6 You hold a perp long open for 3 months with price totally flat. Did you break even?