📊 Margin Calculator
Calculate trading margin, leverage ratio, margin level, free margin, and liquidation price for forex, stocks, and CFD positions. Broker collateral — not product markup.
Trading Margin, Leverage, and Liquidation Risk
BrainyCalculators editorial insight — unique to this tool
In forex and CFD trading, margin is collateral your broker holds against open positions — at 1:100 leverage, a $100,000 EUR/USD lot may require ~$1,000 margin. Margin level = (equity / used margin) × 100%; brokers issue margin calls typically below 100% and may liquidate near 50%. This is unrelated to retail markup or product profit percentage.
When to use this calculator
Use for leveraged trading position sizing and liquidation thresholds. For product cost vs selling price percentage, use Profit Margin or Markup.
| Reference | Value | Context |
|---|---|---|
| 1:100 leverage | 1% margin | Forex typical retail |
| Margin call | ~100% level | Broker-dependent |
| Stop-out | ~50% level | Forced liquidation |
| Reg T (US stocks) | 50% initial | Fed minimum |
Not what you need? Not for ecommerce gross margin — that is Profit Margin. Not for loan refinancing — see Refinance or Mortgage Refinance.
Not looking for business profit margin?
This page calculates trading margin and leverage for forex, stocks, and CFD positions. For gross/net profit margin on products and services, use our Profit Margin Calculator →
Trading Margin: Collateral for Leveraged Positions
In brokerage and forex trading, margin is the deposit locked to open a leveraged position — not a product markup and not a loan origination fee. A 50:1 position on $100,000 notional may require only $2,000 equity as initial margin, yet P&L moves on the full exposure.
This calculator reports required margin from leverage, margin level, free margin after open trades, and approximate liquidation price. Regulatory caps differ by market (ESMA retail forex vs US futures), but the math is always notional ÷ leverage plus broker buffers.
Gross margin on a product selling price is a business profitability metric — revenue minus COGS as a percentage. For gross, operating, and net profit margin on products and services, use the Profit Margin Calculator.
Key Formulas
Example
Trade value $10,000, leverage 20:1, account balance $5,000.
How the Margin Calculator Works
Formula, assumptions, and calculation steps for this finance tool.
Methodology
Financial calculators use time-value-of-money, rate conversion, amortization, or return formulas depending on the tool. Inputs are normalized to matching periods before the final result is calculated.
Calculation Steps
- Enter the principal amounts, rates, terms, or cash flows requested by the calculator.
- Convert annual rates to the correct monthly, daily, or yearly period when needed.
- Apply the finance formula for payment, return, yield, or future value.
- Show the result with supporting totals such as interest, gain, or balance.
Assumptions and Limits
- Rates are assumed constant unless the calculator asks for a schedule.
- Taxes, fees, and inflation are included only when fields are provided.
- Financial results are estimates for planning, not investment or lending advice.
Frequently Asked Questions
Initial margin is the deposit required to open a leveraged position. It is a fraction of total notional value set by leverage and broker policy, not the maximum loss you can suffer.
A margin call happens when account equity falls below the maintenance requirement for open positions. The broker may demand more funds or auto-close trades to restore compliance.
Leverage is the ratio of exposure to collateral (e.g. 100:1). Margin is the collateral percentage (1% for 100:1). They describe the same relationship from opposite directions.
Higher leverage lowers required deposit but increases sensitivity to price moves. A 1% adverse move on 100:1 leverage can erase the entire margin posted.
Real-World Applications
Trading Margin Mistakes to Avoid
Required Margin by Leverage Ratio (per $100,000 position)
| Leverage | Margin % | Required Margin |
|---|---|---|
| 500:1 | 0.2% | $200 |
| 200:1 | 0.5% | $500 |
| 100:1 | 1.0% | $1,000 |
| 50:1 | 2.0% | $2,000 |
| 30:1 | 3.33% | $3,333 |
| 10:1 | 10.0% | $10,000 |
References
- CFTC. Forex Trading: What Investors Need to Know. US Commodity Futures Trading Commission, 2024.
- ESMA. Leverage and Margin Requirements for CFDs. European Securities and Markets Authority, 2024.
- FCA. CFDs and Spread Bets — Retail Client Protections. Financial Conduct Authority, 2024.
- Hull, John C. Options, Futures, and Other Derivatives. Pearson, 2022.
- Elder, Alexander. Trading for a Living. Wiley, 1993.
Related Calculators
Browse all Finance calculators →Position Size Calculator
Calculate the correct position size based on account size, risk percentage, and stop loss.
Trading Risk Calculator
Calculate risk per trade, risk-reward ratio, and expected value of trades.
Forex Profit Calculator
Calculate profit or loss in pips and currency for forex trades.