Convert a margin requirement to leverage, or leverage to margin, as a percent or decimal, with an optional position value to show the cash margin needed.

Assumes one flat margin rate. Use your broker’s current requirements; leverage magnifies losses.

Optional settings

Blank gives the ratio only.

Calculator Functions

FunctionWhat it doesWhat it requires
Leverage from marginConverts a margin requirement to a leverage ratioRequires the margin requirement and its unit, percent or decimal fraction
Margin from leverageConverts a leverage ratio to a margin requirementRequires the leverage, entered as 20 for 20:1

Both functions accept an optional position value in dollars and then show the margin that position needs. Left blank, the result is the ratio alone.

Margin To Leverage Formulas

L = 1 ÷ M
LLeverage ratio, written L:1
MMargin requirement as a decimal fraction of the position value (percent ÷ 100)

Leverage from margin

A 5% margin is a fraction of 0.05, so leverage is 1 ÷ 0.05 = 20:1. The same result comes from 100 ÷ the margin percentage. A margin above 100% gives a ratio below 1:1, and the calculator notes it.

Two U.S. rules show the range. Retail forex dealers must collect at least 2% of the notional value for major currency pairs and 5% for all other pairs [1], which caps leverage at 50:1 and 20:1. Regulation T sets the margin for buying a margin equity security at 50% of its market value [2], which is 2:1. These figures are from the rule text as read in November 2026.

Margin from leverage

M = 1 ÷ L

Leverage of 20:1 means a margin fraction of 1 ÷ 20 = 0.05, or 5%. With a position value entered, required margin = position value × M, so a $100,000 position at 50:1 needs $100,000 × 0.02 = $2,000.

Limits of This Estimate

  • One flat margin rate is assumed. The regulatory figures are floors: the futures association and each broker can require more [1], and tiered requirements, financing costs and fees are left out.
  • This is the margin to open a position. Stock accounts also carry a maintenance requirement, at least 25% of the market value of the securities, and many firms set 30% to 40% [3].
  • Leverage magnifies losses as well as gains, and a margin account can lose more than the amount invested [3].
  • Amounts are in U.S. dollars.

Sources