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.

Free Margin (Available Margin)
--

Margin available to open new positions.

Equity
--

Balance + Unrealized P/L

Margin Level
--

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

  1. Enter Account Balance: Your current balance (after all closed trades).
  2. Enter Used Margin: The margin currently held by your open positions (shown in your broker platform).
  3. Optional: Unrealized P/L: Add floating profit or loss from open positions. Equity = Balance + Unrealized P/L; free margin uses equity.
  4. 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.

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