Margin & Liquidation Price Calculator — Leverage & Maintenance
Calculate the margin liquidation price, gross leverage, and maintenance-call buffer for long and short positions using Regulation T and FINRA Rule 4210 margins.
Margin Liquidation Leverage Core
A clear path from inputs to results.
See exactly how far a leveraged position can move against you before a margin call forces liquidation, and how much borrowing amplifies both your returns and your risk. The tool follows US Regulation T initial-margin and FINRA Rule 4210 maintenance-margin conventions, and handles both long and short positions.
How to use
- Choose whether the position is long or short — the liquidation algebra differs because a short loses money as the price rises.
- Enter your entry price and the quantity (number of shares or contracts); the two multiply to the position notional.
- Set the initial margin ratio (Regulation T is 50% for US equities) to fix how much of the notional is your own equity versus broker loan.
- Set the maintenance margin ratio (FINRA Rule 4210 is 25% for long equity); this is the equity-to-market-value floor that triggers a margin call.
- Enter the current market price to read your live equity, margin ratio, and the cushion remaining above the maintenance floor.
- Use the surface and price-range controls to visualize how equity and the margin ratio evolve across a band of prices around your entry.
The formula
Reference: US Federal Reserve Regulation T (initial margin) and FINRA Rule 4210 (maintenance margin); standard broker margin-account accounting.
Worked example
Long 1,000 shares at $100, 50% initial / 25% maintenance
- Side long; entry price $100; quantity 1,000; initial margin ratio 50%; maintenance margin ratio 25%; current market price $97.25.
- 1
Position notional is $100 × 1,000 = $100,000. At 50% initial margin your own equity is 0.50 × $100,000 = $50,000 and the broker loan (borrowed) is the other $50,000, so gross leverage is $100,000 ÷ $50,000 = 2.0×. The long liquidation price is $100 × (1 − 0.50) ÷ (1 − 0.25) = $50 ÷ 0.75 = $66.67. At the current price of $97.25, position equity is 1,000 × $97.25 − $50,000 = $47,250 on a market value of $97,250, so the current margin ratio is $47,250 ÷ $97,250 = 48.59%. The maintenance requirement is 0.25 × $97,250 = $24,312.50, leaving a buffer of ($47,250 − $24,312.50) ÷ $97,250 = 23.59% above the floor.
Liquidation price $66.67; gross leverage 2.0×; current equity $47,250 (48.59% margin ratio); 23.59% cushion remaining above the 25% maintenance floor.
Interpreting the result
The liquidation price is the hard floor: at $66.67 your equity falls to exactly the maintenance requirement and the broker can liquidate. The buffer tells you how much room is left as a share of current market value — a 23.59% cushion means the position can still absorb a meaningful drawdown before a call, while leverage above the 2.0× shown here would move that liquidation price much closer to the entry.
Assumptions & limitations
- The maintenance call is modeled at the moment equity equals the maintenance requirement; real brokers may set house requirements above the FINRA minimum and may issue calls with a cure period rather than liquidating instantly.
- Interest on the margin loan, borrowing fees on shorts, dividends, and commissions are not deducted from equity.
- The initial margin ratio is clamped to the range 1%–99% and the maintenance ratio to 1%–95% to keep the liquidation algebra well-defined.
- A single position in a single instrument is assumed; portfolio-margin netting across correlated positions is not modeled.
- Prices are treated as continuous; gaps through the liquidation level in fast markets can leave equity below the maintenance requirement.
Frequently asked questions
How is the liquidation price calculated?
For a long position the engine uses P_liq = P0 × (1 − m0) ÷ (1 − m), where P0 is your entry price, m0 is the initial margin ratio, and m is the maintenance margin ratio. With a $100 entry, 50% initial, and 25% maintenance, that is $100 × 0.50 ÷ 0.75 = $66.67. For a short the formula flips to P0 × (1 + m0) ÷ (1 + m) because a short position loses as the price rises.
What is the difference between initial and maintenance margin?
Initial margin (Regulation T, 50% for US equities) is the minimum equity you must post to open the position. Maintenance margin (FINRA Rule 4210, 25% for long equity) is the lower equity-to-market-value floor you must keep afterward. The gap between them is the room the position has to move against you before a margin call.
Does the buffer percentage account for borrowing costs?
No. The buffer is a pure price-distance measure: (equity − maintenance requirement) ÷ market value. It does not subtract margin-loan interest, short-borrow fees, or commissions, all of which erode equity over time and would pull the real liquidation point slightly closer than the formula shows.
What does gross leverage of 2.0x mean here?
Leverage is the position notional divided by your own equity. Posting the 50% Regulation T initial margin means you fund half the $100,000 position with $50,000 of your own money and borrow the other half, giving 2.0× leverage. A 1% move in the underlying then changes your equity by about 2%.
Why is the short liquidation price above the entry price?
A short position profits when the price falls and loses when it rises, so its danger is to the upside. The formula P0 × (1 + m0) ÷ (1 + m) therefore returns a level above the entry — in the symmetric 50%/25% case, $100 rises to a $120 liquidation level, the mirror image of the long case.
Methodology last reviewed 2026-10-06. Results are informational and not financial or engineering advice — see our disclaimer.