What the Margin Call Calculator does
A margin call calculator shows how far an investment can fall before the equity in a margin account drops below the broker's maintenance requirement. This one is built mainly for a long stock position held in a brokerage margin account. You enter what you bought, what you borrowed and the maintenance requirement, and it returns the margin call price, the account's current equity and equity percentage, and the cushion above or the deficiency below the requirement.
It is a simple, single-position model: a long position, one margin loan and a single maintenance percentage that applies to the whole position. Short stock positions, options and portfolios with mixed requirements are calculated under different rules and are outside what the long-stock tab does. Futures work differently enough that they have their own Futures mode, described further down the page.
The tool covers U.S. margin accounts and reports every amount in U.S. dollars. It never assumes your broker's requirement. The maintenance field is yours to set, because a figure that is right for one account can be wrong for another.
Calculator inputs and units
The long-stock tab separates what you did when you bought from what is true today. Keeping the two apart is the easiest way to avoid a mistake.
- Number of shares and purchase price per share (USD) describe the original purchase. Together they give the purchase value.
- Initial equity contribution (percent) is the share of the purchase price you paid with your own money. Regulation T generally lets a firm lend up to 50% of the purchase price of eligible stock, so 50% is the default and the usual minimum.
- Margin loan balance (USD, optional) is what you owe today. Leave it blank and the calculator derives the loan from your purchase terms: purchase value × (1 − initial equity contribution). Enter your broker's figure when you have it, because interest and repayments move the loan.
- Current share price (USD per share) is today's market price, the number tested against the margin call level.
- Maintenance margin requirement (percent of current market value) is the minimum equity your broker requires. Use the figure from your margin agreement or your broker's margin page.
Calculator results
Select Calculate and the long-stock tab reports:
- The margin call price per share and the threshold position value, the market value at which equity exactly equals the requirement.
- Your current market value, account equity and equity percentage.
- The required maintenance equity and either a maintenance excess (your cushion) or a maintenance deficiency (the shortfall).
- While the price is above the threshold, the percentage decline to the threshold, in percent and in dollars per share.
- If the account is already below the requirement, the cash, marginable securities or stock sale that would cure it.
- The margin call price at several other maintenance requirements, so you can see how a stricter broker rule moves the level.
You can copy the result, download it as a PDF, or reset everything. Your entries are kept for the current browser session and nowhere else.
Margin call formulas and assumptions
For a simple long position, every figure comes from the loan, the share count and the maintenance requirement written as a decimal (25% = 0.25).
- Position market value = current share price × number of shares
- Account equity = position market value − margin loan balance
- Equity percentage = account equity ÷ position market value × 100
- Threshold market value = margin loan balance ÷ (1 − maintenance margin decimal)
- Threshold price = threshold market value ÷ number of shares
- Margin call price = purchase price × (1 − initial margin decimal) ÷ (1 − maintenance margin decimal)
The threshold formula follows from the rule itself. Equity meets the requirement when market value − loan = maintenance × market value. Solving for market value gives loan ÷ (1 − maintenance). Equality is the maintenance boundary: at that price you are exactly at the requirement, and any further fall below it leaves a deficiency.
The assumptions matter. The model describes a long position with a stated loan balance and a uniform maintenance requirement. The last formula, based on the purchase price, assumes in addition that the loan is whatever the initial margin contribution left unfunded, so it ignores interest and any repayments. When you enter your own loan balance, the calculator uses the threshold formula with that balance instead and also shows the level implied by your original purchase terms.
Margin call amount and funding shortfall
The margin call price and the margin call amount answer different questions. The price says when a call starts. The amount says how much it takes to end it. For a simple long-stock account:
Maintenance deficiency = max(0, maintenance decimal × current market value − current account equity)
The three ways to cure a deficiency need different amounts, so they are shown separately:
- A cash deposit adds one dollar of equity for each dollar deposited, so the cash needed is the deficiency itself.
- A deposit of marginable securities adds equity but also adds to the market value that the requirement applies to. Each dollar of stock raises the required equity by the maintenance rate, so the securities needed are the deficiency ÷ (1 − maintenance).
- Selling stock and using the proceeds to repay the loan leaves equity unchanged but shrinks the market value the requirement is measured on. Each dollar sold reduces the requirement by the maintenance rate, so the sale needed is the deficiency ÷ maintenance.
These are the same relationships FINRA uses in its investor education example: a $6,000 call at a 40% house requirement is met by $6,000 in cash, by $10,000 of stock ($6,000 ÷ 0.60), or by selling $15,000 of stock ($6,000 ÷ 0.40). Your broker's own process can differ, for instance in how it values deposited securities, so treat these figures as the minimum the arithmetic requires.
Worked margin call example
You buy 1,000 shares at $50, so the purchase value is $50,000. You put up 50% yourself ($25,000 of investor equity) and borrow the other $25,000, the margin loan balance. Your broker requires 25% maintenance.
The account starts compliant: equity is 50% of market value against a 25% requirement. The threshold market value is $25,000 ÷ 0.75 = $33,333.33, so the margin call price is $33.33 per share. The purchase-price formula agrees: $50 × 0.50 ÷ 0.75 = $33.33. That is a 33.3% fall from your purchase price.
| Share price | Market value | Loan balance | Account equity | Equity % | Required equity (25%) | Excess or deficiency |
|---|---|---|---|---|---|---|
| $50.00 (purchase) | $50,000 | $25,000 | $25,000 | 50.0% | $12,500 | $12,500 excess |
| $40.00 | $40,000 | $25,000 | $15,000 | 37.5% | $10,000 | $5,000 excess |
| $33.33 (margin call price) | $33,333 | $25,000 | $8,333 | 25.0% | $8,333 | $0 (at the boundary) |
| $30.00 | $30,000 | $25,000 | $5,000 | 16.7% | $7,500 | $2,500 deficiency |
At $40 the current market value is $40,000 and equity is $15,000, or 37.5%, against $10,000 required. The loan stays at $25,000 throughout, because falling prices do not change what you borrowed. The price could still fall another 16.7% ($6.67 per share) before reaching the call price.
At $30 the market value is $30,000, so the required equity is $7,500 but equity is only $5,000 (16.7%). The maintenance deficiency is $2,500. Note that the shortfall in value below $33,333 is only $3,333, and the deficiency is smaller than that, because the requirement applies to equity and not to the whole position. The ways to cure it are:
| Method | Formula | Amount in the example |
|---|---|---|
| Deposit cash | deficiency | $2,500 |
| Deposit marginable securities | deficiency ÷ (1 − maintenance) | $3,333.33 of stock |
| Sell stock, use proceeds to repay the loan | deficiency ÷ maintenance | $10,000, about 334 shares at $30 |
Selling 334 shares at $30 raises $10,020. Used to repay the loan, that leaves 666 shares worth $19,980, a loan of $14,980 and equity of $5,000, which is 25.03% of market value and meets the requirement.
U.S. margin rules and broker requirements
Three layers of rules shape a margin account. The Federal Reserve Board's Regulation T sets initial margin: a firm can generally lend up to 50% of the purchase price of an eligible stock. FINRA Rule 4210 sets the maintenance floor: equity in a margin account holding only margin stocks must not fall below 25% of the current market value of the long securities. Finally, the broker's own margin agreement can add a house requirement that is stricter than either.
House requirements are common. The SEC's investor education material says many firms require maintenance of 30% to 40%, and FINRA says firm requirements can be higher than those under Regulation T or FINRA's rules. That is why the maintenance field is editable and defaults to 25% only as the regulatory starting point, not as a prediction of your broker's number. The calculator will warn you if you enter a figure below the 25% or 50% minimums. These figures describe securities that can be purchased on margin. Other holdings are treated differently, so check how your broker handles each one.
What happens after a margin call
Once your equity is below the requirement, you generally have three ways to restore it: deposit cash, transfer marginable securities into the account (the collateral your broker accepts), or reduce your holdings by selling and repaying part of the loan. The previous sections show how much each route requires.
Do not count on time to decide. The SEC says your broker may be able to sell your securities at any time without consulting you, and FINRA says firms do not have to issue a margin call before selling. Where a firm does give you a deadline or an extension, it is not obliged to, and it can still sell without waiting for you to meet the call. Forced liquidation can happen in a falling market at prices you would not have chosen, which can leave you with larger losses than the original decline. A stated deadline is therefore not a promise of protection from earlier liquidation, and no universal grace period exists.
Scenario testing and margin cushion
The cushion is the gap between your equity and the requirement, and you can test it by changing one input at a time. Raise or lower the current price to see how close you are. Change the loan balance to see the effect of borrowing more or paying down debt. Change the maintenance requirement to see what a stricter broker rule would do. The results table also lists the call price at 25%, 30%, 35%, 40% and 50%, with your own figure added if it is not one of them.
| Maintenance requirement | Margin call price | Decline from $50 purchase price | Status at $40 |
|---|---|---|---|
| 25% | $33.33 | 33.3% | No call, 16.7% above the call price |
| 30% | $35.71 | 28.6% | No call, 10.7% above the call price |
| 35% | $38.46 | 23.1% | No call, 3.8% above the call price |
| 40% | $41.67 | 16.7% | In a call: $40 is below $41.67 |
| 50% | $50.00 | 0% | In a call |
That table shows an important point: a call can happen with no price decline at all. In the example at $40, a rise in the requirement from 25% to 40% takes the required equity from $10,000 to $16,000 against $15,000 of equity, which is a $1,000 deficiency. The price never moved. Leverage also works in both directions. A 20% fall in the stock from $50 to $40 cut the equity in this account from $25,000 to $15,000, a 40% loss, because the loan stays the same while the value falls.
Common ways investors keep a larger cushion are borrowing less, holding cash or unencumbered securities that can be pledged quickly, and checking their broker's requirement before a volatile period, since house requirements can change. None of these removes the risk. They only widen the distance between the current price and the call price.
Futures margin call mode
The Futures tab is a separate calculation because a futures margin call is not the same thing. Stock margin is a loan and the requirement is a percentage of market value. Futures margin is not a down payment and you do not own the underlying commodity. It is a deposit, called a performance bond by CME Group, that is held against the position. Requirements are fixed dollar amounts per contract: an initial margin to open the position and a lower maintenance margin that the account has to stay above.
You enter the contract, the trading direction, the number of contracts, the current price, your account equity and the current initial and maintenance margin per contract. The contract's tick size and tick value give the point value (tick value ÷ tick size), and presets fill in the specifications for ES, MES, NQ, MNQ, CL, GC and MGC. Margin amounts are never preset, because they change with market volatility and differ between brokers.
- Total maintenance margin = maintenance margin per contract × number of contracts
- Cushion = account equity − total maintenance margin
- Adverse move to a margin call (points) = cushion ÷ (point value × number of contracts)
- Margin call price = current price − that move for a long position, or + that move for a short position
- Funding to restore initial margin = total initial margin − account equity, once equity is below maintenance
Worked example (illustrative figures, not current exchange requirements). You hold 2 long ES contracts at 5,000.00 with $28,000 in the account. Your broker requires $12,000 initial and $11,000 maintenance per contract, so totals are $24,000 and $22,000. The cushion is $6,000. Two contracts at $50 per point move $100 per point, so equity reaches maintenance after a 60-point fall, and the margin call price is 4,940.00 (a 1.2% decline). If price falls to 4,900.00, the loss is 100 points × $100 = $10,000 and equity is $18,000, which is $4,000 under maintenance.
| Price | Account equity | Total maintenance | Cushion or shortfall | Funding to restore initial |
|---|---|---|---|---|
| 5,000.00 | $28,000 | $22,000 | $6,000 cushion | None |
| 4,940.00 (margin call price) | $22,000 | $22,000 | $0 | None yet |
| 4,900.00 | $18,000 | $22,000 | $4,000 shortfall | $6,000 |
CME Group's education material says a margin call brings the account back up to the initial margin level, not just to maintenance, so the funding needed in the example is $24,000 − $18,000 = $6,000. If a call is not met you may have to reduce the position, or it may be liquidated automatically. Clearing houses and brokers can raise requirements when markets become volatile, which can start a call without a loss of the kind modelled here.
Scope, assumptions and limitations
- Hypothetical estimates. Results come only from the figures you enter. Your broker's actual call, deadline and valuation rules govern what you must do.
- Long stock, one position. The stock model assumes a long position, one loan and one maintenance percentage. Short positions, options, non-marginable holdings and portfolios with mixed requirements use different calculations.
- Equity only moves with price. The model does not track interest accruing on the loan, dividends, fees or withdrawals unless you enter an updated loan balance or equity figure.
- Futures. The futures mode assumes equity changes only with this position's price, that requirements stay constant, and that you have entered the current margin figures. It uses no preset margin amounts.
- Not advice. This is a calculation tool, not investment, tax or legal advice, and it does not predict whether a call will occur. Margin trading can lose more than you invest.
Sources for the rules above: FINRA, “Know What Triggers a Margin Call”; the SEC's Investor Bulletin: Understanding Margin Accounts on Investor.gov; and CME Group's “Margin: Know What's Needed” and performance bonds pages.