The fine print of trading and investing


Calculator · Margin & Leverage

Leverage calculator

Enter your account equity, the value of your longs and shorts, and a market move. The leverage calculator returns gross and net leverage and shows what that move would leave you with, in dollars and as a percentage of equity.

Your numbers

Market value of everything held, less the margin loan.
Market value of stock sold short, as a positive number.
Negative for a fall. Applied to every long and short alike.

Gross leverage

–

Net leverage

–

Equity after the move

–

Change in equity

–

The working

    Gross and net leverage

    Leverage is position value divided by equity. Gross leverage adds longs and shorts together, since both are exposure the account carries and both need margin behind them. Net leverage subtracts the shorts from the longs before dividing, which comes closer to how the account behaves when the whole market moves at once. A $30,000 account holding $60,000 of stock and nothing short runs 2.0x on both measures. Add $20,000 of shorts and gross leverage climbs to 2.67x while net falls to 1.33x. The leverage ratio covers the other ways the figure gets quoted.

    What the move does to equity

    Equity takes the whole gain or loss. On the defaults, a 10% fall knocks $6,000 off a $60,000 long, and equity drops from $30,000 to $24,000. That is a 20% loss on a 10% move. The multiple is the net leverage, and it scales all the way down: a 50% fall in those stocks would take the whole 0,000, since at 2.0x net the equity falls twice as fast as the market. The calculator applies one move to every position, so a positive move lifts the longs and costs the shorts, and a negative move does the reverse. Real holdings don't move in lockstep, and a short in a stock that rallies while the market falls hurts on both sides at once. Try a move sized to a bad month for the stocks you actually hold.

    Where a broker's view differs

    A broker may work from a different equity figure, one net of accrued interest or with options marked at market value, and some firms report buying power and leave the ratio to you. Leverage also drifts on its own. After the 10% fall, $54,000 of stock against $24,000 of equity is 2.25x, higher than where the account started, which is how a losing account on margin grows riskier with every day it keeps losing. The maintenance requirement works against the same shrinking equity; see maintenance margin and the lesson on sizing a margin position so it survives a bad month. A funded trading account carries leverage of its own, argued in a prop firm account is leverage too, just rented.

    Questions about this calculator

    What is a safe leverage ratio?

    No single figure is safe for every account. Start from the loss you could accept as a percentage of equity and divide it by the net leverage: that gives the market move that would cause it. At 2.0x, a 20% hit to equity takes a 10% move. Compare that with how far your own holdings have fallen in a bad stretch.

    Why does a short count toward gross leverage?

    A short is borrowed stock whose price can rise without limit, so it is exposure the account has to support with margin. Gross leverage adds it to the longs to show everything the account carries. Net leverage offsets it against the longs, which only holds up while the two sides move together.

    Does leverage of 1.0x mean no margin is being used?

    Usually, for an account that only holds longs: position value equal to equity means the shares are paid for in full. With shorts in the account, a net figure of 1.0x can sit on top of a large gross position that uses plenty of margin, so read both lines together.

    Other calculators

    • Margin Call Calculator

      The share price that triggers a margin call on a long or short position, from your loan and the maintenance requirement.

    • Margin Interest Calculator

      Interest on a margin loan by the day, the month and the holding period, and the return a trade needs to cover it.

    • Loss Recovery Calculator

      The gain needed to get back to even after a loss, and the balance after a run of losing and winning trades.

    • Position Size Calculator

      Shares from your account risk and stop, the reward in R, and the loss if the stock opens past the stop.

    • Options Break-Even Calculator

      Break-even price, maximum loss and profit at a target for a bought or sold call or put.

    • Profit Margin Calculator

      Gross, operating and net margin from an income statement, and earnings per share from the share count.

    • Dividend Income Calculator

      Yearly dividend income and yield on cost, and what is left after margin interest when the shares are bought with a loan.