Free Margin Calculator
Free margin is what's left to open new positions, and it falls as floating losses grow — not only when you open something new.
- Equity
- $98,500
- Margin level
- 493%
- Share of equity committed
- 20%
The formula
Free margin = (Balance + Floating P&L) − Used margin
How to use it
- 1.Enter your closed balance and the floating profit or loss on open trades.
- 2.Enter the margin already committed.
- 3.The committed-share figure tells you how much of the account is already tied up.
A worked example
The numbers the calculator above loads with, worked through — so the arithmetic is visible even before you change anything.
| Balance ($) | 100,000 |
| Floating P&L ($) | -1,500 |
| Used margin ($) | 20,000 |
| Free margin | $78,500 |
| Equity | $98,500 |
| Margin level | 493% |
| Share of equity committed | 20% |
What's actually left to trade with
Free margin is two subtractions — a floating loss off the balance, then the margin already committed off what's left — and the result is the one figure that answers whether a new position can open at all. These figures walk the calculator's own default book through both deductions, show the waterfall from balance down to what's free, and show exactly where that figure reaches zero as a floating loss grows.
The calculation, left to right
$80,000
the floating loss that would drain free margin to zero on this book
Balance $100,000, used margin $20,000 — free margin reaches zero only once the floating loss hits $80,000, long before a typical stop-out level would be reached.
Balance down to free margin, in order
Free margin hits zero well before stop-out
A losing position quietly closing the door on a second trade
An illustrative $100,000 account with one open position — not a real account. The point is how free margin moves without any new order being placed.
- 1
The account at the open
$80,000 free
Balance $100,000, no floating P&L yet, $20,000 of margin committed to the first position. Free margin: $80,000.
- 2
The position starts losing
$98,500 equity
A $1,500 floating loss develops. Equity falls to $98,500 — balance never moved, but equity already has.
- 3
Free margin falls with it
$78,500 free
$98,500 equity minus $20,000 used margin is $78,500 — down from $80,000, purely from the floating loss, with no new order placed.
- 4
A second setup appears
Order accepted
A new trade needing $15,000 of margin looks appealing. There's still $78,500 of free margin, so the platform accepts it without complaint.
- 5
What that second position actually does
$63,500 free
Used margin rises to $35,000. Free margin, if the floating loss on the first position doesn't improve, drops to $98,500 − $35,000 = $63,500 — a meaningfully smaller buffer than before either position existed.
Free margin moved twice in this sequence — once from a floating loss nobody caused by trading, and once from a new position that was well within the available buffer at the time it opened. Checking the figure before the second order, not just at the start of the day, is what catches the compounding effect.
Checking room before adding a second position
An existing trade is open and a new setup appears, and the trader wants to confirm there's genuinely enough free margin before committing to it.
Balance $100,000 · Floating −$1,500 · Used margin $20,000 → free $78,500
Read the free margin figure, not the balance, before sizing a new position — the balance alone overstates what's actually available once a floating loss is accounted for.
Watching free margin drain during a losing streak
Several open positions are all drawing down slowly, and the trader wants to see how close free margin is getting to zero.
Balance $100,000 · Floating −$60,000 · Used margin $20,000 → free $20,000
At $20,000 of free margin left, the account can still technically open new positions, but the buffer has shrunk to a quarter of where it started — a signal to reduce exposure rather than add to it.
Confirming free margin after closing a losing trade
A losing position is closed to stop the bleeding, and the trader wants to confirm how much free margin that actually restored.
Before: Balance $100,000, Floating −$5,000, Used margin $20,000 → free $75,000. After closing: Floating $0, Used margin $0
Closing the position removes both the floating loss and its margin requirement at once — free margin after closing equals the new balance exactly, since nothing is committed anymore.
Sizing how much margin a new trade can safely use
A trader wants to commit no more than half of current free margin to a new position, leaving room for further adverse movement on the existing book.
Free margin $78,500 · Target: use no more than $39,250 of it as new margin
Treating free margin as a budget rather than a hard limit — using half of it rather than all of it — keeps a buffer for the floating loss on the existing position to deepen before anything forces a decision.
Check the calculator against these
Every result below is produced by the same engine the calculator at the top of this page runs on, from the inputs beside it. Type them in and you'll get the same numbers.
| Case | Inputs | Result |
|---|---|---|
The default book Equity $98,500 minus used margin $20,000. The calculator's own default inputs. | Balance: 100000 · Floating P&L: -1500 · Used margin: 20000 | $78,500 |
A profitable floating position instead Equity rises to $102,000 with a floating gain, so free margin rises above the no-floating-P&L baseline of $80,000. | Balance: 100000 · Floating P&L: 2000 · Used margin: 20000 | $82,000 |
No open positions at all With zero used margin, margin level divides by zero and the engine returns Infinity, which formats as a dash — a book with nothing open has no meaningful margin level. | Balance: 100000 · Floating P&L: -1500 · Used margin: 0 | — |
The committed share of equity at the defaults $20,000 used margin ÷ $98,500 equity × 100 = 20.30%, rounded to 20%. | Balance: 100000 · Floating P&L: -1500 · Used margin: 20000 | 20% |
A deep floating loss, margin level checked directly Equity falls to $40,000; $40,000 ÷ $20,000 × 100 = 200% exactly, with free margin down to $20,000. | Balance: 100000 · Floating P&L: -60000 · Used margin: 20000 | 200% |
It treats used margin as fixed
Margin requirements can widen before major news or over weekends, and a hedged position can be margined on both legs at some brokers. If used margin rises while a position is still open, free margin falls faster than a plain floating-P&L read suggests.
Free margin reaching zero isn't the stop-out
It only means no new position can open — existing ones keep running until margin level, a separate ratio, reaches the platform's stop-out threshold. The margin level and stop-out distance calculators cover that separate mechanism.
This is a single-account snapshot
It assumes one balance, one floating P&L figure and one used margin total for a whole book, rather than breaking out which specific position is contributing what. A multi-position book needs its individual positions tracked separately to know which one is driving the floating loss.
FAQs
Because equity includes floating P&L. A losing open position lowers equity in real time, and free margin is equity minus used margin — so it falls without you doing anything.
Free margin is a dollar amount — equity minus used margin, $78,500 at the calculator's defaults. Margin level is that same relationship expressed as a ratio, equity divided by used margin as a percentage. Both move together, but free margin tells you how many more dollars of margin you can commit; margin level tells you how close you are to a stop-out.
Not in practice — a platform would have already triggered a margin call or stop-out before equity falls below used margin. The arithmetic here will show a negative number if the inputs describe that state, which is a sign the account is already past where a broker would normally intervene, not a number to expect in a live account.
Once, directly — used margin rises by the new position's margin requirement, which lowers free margin by exactly that amount. It doesn't also move through floating P&L until the new position starts accruing one, since it opens at zero unrealized gain or loss.
Free margin reaching zero only means no further positions can open — it isn't the stop-out trigger. The platform keeps running existing positions until margin level (a different ratio) falls to the stop-out threshold, which is typically much more severe than zero free margin.
The percentage of equity currently tied up as margin — 20% at the defaults, from $20,000 of used margin against $98,500 of equity. It's a quick read on how much of the account's own value is already committed versus how much is actually free to use.
Yes — equity, not balance, drives free margin, and equity includes floating P&L that moves continuously while a position is open. Balance only updates when a trade actually closes; free margin reacts in real time to unrealized gains and losses on top of it.
It can, over time — opening the position reduces free margin by its margin requirement immediately, but as it accrues floating profit, equity rises and free margin recovers some of that, potentially ending up higher than before the position opened if the gain outpaces the margin committed.
Most platforms label the same figure — equity minus used margin — as either 'free margin' or 'available margin'; they're the same number under different names. Occasionally a platform applies a buffer or safety margin on top, so always confirm what the display actually means rather than assuming it matches this plain calculation.
It's generally safer to keep meaningful free margin rather than running it near zero, since that leaves room to add a hedge or absorb further floating losses without immediately hitting a margin call. There's no universal number — compare the free margin dollar figure against the instrument's normal daily range rather than targeting an arbitrary percentage.
Related calculators
Read the rules behind it
Related glossary terms
Now check it against real firm rules
Funding Library tracks 67 prop firms — the drawdown types, limits and payout terms these calculators assume, verified field by field.
Browse the marketplace