Free Margin Calculator
Calculate your available margin (free margin) for forex and CFD trading. See how much margin you have left to open new positions.
Your account balance (after closed trades).
Margin locked in your open positions.
Floating profit/loss from open positions. Leave 0 if none.
Margin available to open new positions.
Balance + Unrealized P/L
Equity ÷ Used Margin
What is Free Margin?
Free margin (also called available margin) is the amount of margin in your trading account that is not locked in open positions. It is the money you can use to open new trades. Formula: Free Margin = Equity − Used Margin.
How to Use This Free Margin Calculator
- Enter Account Balance: Your current balance (after all closed trades).
- Enter Used Margin: The margin currently held by your open positions (shown in your broker platform).
- Optional: Unrealized P/L: Add floating profit or loss from open positions. Equity = Balance + Unrealized P/L; free margin uses equity.
- Read Free Margin: The result is how much margin you have available to open new positions. Margin level % shows equity relative to used margin (brokers often require a minimum, e.g. 100%).
Why Free Margin Matters
Knowing your free margin helps you avoid overleveraging and margin calls. If free margin drops to zero or goes negative, you cannot open new positions and may face stop-out. Keeping free margin positive and margin level above your broker’s requirement is essential for risk management in forex and CFD trading.
Frequently Asked Questions
What is free margin?
Free margin (also called available margin) is the amount of margin in your account that is not locked in open positions. It is the money you can use to open new trades. Formula: Free Margin = Equity − Used Margin.
What is the difference between balance and equity?
Balance is your account value after all closed trades (realized P/L). Equity is Balance + Unrealized P/L (floating profit or loss from open positions). Free margin is calculated using equity, not balance alone.
What happens when free margin is negative?
When free margin goes negative, you have no margin left to open new positions and may be at risk of margin call or stop-out. Brokers may close your positions to protect against further losses. Add funds or close positions to restore free margin.
What is margin level?
Margin level is (Equity ÷ Used Margin) × 100%. Brokers often require a minimum margin level (e.g. 100% or 50%). If margin level falls below this, you may receive a margin call or be stopped out.
Related Tools
Margin Leverage Calculator
Understand how leverage affects your margin requirements and buying power.
Margin Used Calculator
Calculate how much margin your position uses. See notional value, margin used, and free margin for forex, crypto, and leveraged trading.
Margin Call Calculator
Determine the price at which you will receive a margin call to avoid liquidation.
Position Size Calculator
Calculate the correct position size for any trade to manage your risk effectively.
Lot Size Calculator
Find the correct lot size for your forex trades based on your stop loss and risk percentage.
Manage Margin Smarter with Pineify
Build custom Pine Script indicators and strategies that help you track risk, position size, and margin—directly on your TradingView charts.
Try Pineify Free