What is trading on margin?
A margin account lets you borrow from your broker to buy investments, using your account as collateral. The margin is the part of the trade you pay for yourself. It increases your buying power, but it can also increase your losses.
Margin formula
Position value = price × quantity
Required margin = position value × margin percent
Margin percent = 100 ÷ leverage
Worked example
You want 100 shares at $50, which is a $5,000 position. With a 50% margin requirement, you put in $5,000 × 0.5 = $2,500 and borrow the other $2,500. That’s leverage of 2:1.
Margin and leverage
| Margin | Leverage | Needed for a $10,000 position |
|---|---|---|
| 100% | 1:1 | $10,000 |
| 50% | 2:1 | $5,000 |
| 25% | 4:1 | $2,500 |
| 10% | 10:1 | $1,000 |
| 5% | 20:1 | $500 |
What this calculator doesn’t include
It shows only the money needed to open a position. It doesn’t include interest on what you borrow, fees, or the maintenance margin you must keep afterward. Requirements vary by broker, by investment and over time, so check your broker’s figures.
The risks of margin
Borrowing makes both gains and losses larger, and you can lose more than you put in. If your account falls too far, your broker can ask for more money or sell your investments, sometimes without telling you first. This calculator is for working out numbers, and it isn’t investment advice.
How to use the trading margin calculator
- Enter the price per share. Use the price you expect to pay.
- Enter the number of shares. Part shares are fine.
- Choose what your broker gives you. Pick Margin percent if your broker states a requirement such as 50%, or Leverage if it states a ratio such as 4:1.
- Enter the margin requirement or the leverage. Type 50 for 50%, or 4 for 4:1.
- Press Calculate margin. You see the required margin, the position value, the amount borrowed, the margin percent and the leverage.
Worked examples with leverage
4:1 leverage. You want 200 shares at $40, a position of $8,000. At 4:1, your share is 1 ÷ 4 = 25%, so the required margin is $2,000 and you borrow $6,000.
3:1 leverage. You want 300 shares at $25, a position of $7,500. At 3:1, your share is 33.33%, so you put in $2,500 and borrow $5,000.
To go the other way and see how much you can buy, divide your cash by the margin percent. With $3,000 at a 50% requirement, you can open a position of up to $6,000, which is 120 shares at $50.
How to read the result
- Required margin is the cash or equity you put in yourself to open the trade.
- Position value is the full size of the trade: price times shares.
- Amount borrowed is the loan from your broker. You pay interest on it, and you still owe it if the price falls.
- Margin percent and leverage show the same thing two ways. A 25% margin is 4:1 leverage, because the position is four times your own money.
A higher leverage figure means a smaller price move changes your equity by a larger share. At 4:1, a 10% fall in the price wipes out 40% of your own money.
US margin rules for stocks
Under the Federal Reserve’s Regulation T, brokers can lend you up to 50% of the purchase price of a margin equity security for new purchases.[2] So for most US stocks you would enter a margin requirement of 50% or more. Some securities can’t be bought on margin at all, which means you must pay 100% of the price.[2]
FINRA Rule 4210 adds its own limits. For new trades, the equity in your account must be at least $2,000, though you don’t have to deposit more cash than the cost of what you buy.[3] After you buy, the equity you keep must be at least 25% of the current market value of the margin securities you hold.[3] This is the maintenance margin. Your broker can set a higher figure and can change it at any time.[4] The lower percents in the table above, such as 10% or 5%, are there for the arithmetic, so check what your broker actually allows.
When a margin call can happen
If your securities fall in value, your broker can require you to deposit cash or securities right away, or sell any of the securities in your account to cover the shortfall, without telling you first.[4] The broker decides which securities to sell.[4] Even if it gives you a few days to cover the shortfall, it may still sell before then.[4] FINRA also notes that brokers may sell holdings in an account at any time to fix a margin deficiency.[2]
You can estimate the price that brings a call. This is our own working, using the 25% minimum: call price = amount borrowed ÷ (shares × 0.75). In the example of 100 shares at $50 with 50% margin, you borrow $2,500, so a call comes near $2,500 ÷ 75 = $33.33, a fall of about 33%.
| Initial margin | Borrowed on 100 shares at $50 | Price near a 25% call | Fall from $50 |
|---|---|---|---|
| 100% | $0 | No call | – |
| 75% | $1,250 | $16.67 | 66.67% |
| 60% | $2,000 | $26.67 | 46.67% |
| 50% | $2,500 | $33.33 | 33.33% |
If your broker’s maintenance level is higher than 25%, the call comes sooner. Interest added to the loan also moves it closer.
Common margin mistakes
- Mixing up the two percents. The margin requirement is what you put in to open a trade. The maintenance margin is the equity you must keep afterward.
- Typing leverage as a percent. For 2:1, choose Leverage and type 2. For 50%, choose Margin percent and type 50.
- Ignoring interest. The calculator shows only what you put in. Interest on the amount borrowed lowers your return the longer you hold.
- Assuming every security is marginable. Some must be paid for in full, so check with your broker before you trade.
To see the profit or loss on the trade once you sell, use the stock calculator.
What next
Use this often? Add Margin Calcu to your Home screen.
Frequently asked questions
How do I calculate required margin?
Multiply the price by the quantity, then by the margin percent. For example, 100 shares at $50 with 50% margin needs $2,500 of your own money.
What is the difference between margin and leverage?
They describe the same thing in different ways. Margin is the share you pay yourself, and leverage is the position size compared with that share. A 50% margin is 2:1 leverage.
Can I lose more than I invest on margin?
Yes. You still owe what you borrowed if the investment falls, so losses can be more than the money you put in.
Is this a gross margin calculator?
No. This is for trading. For the profit margin on a product, use our gross margin calculator.
What is a margin call?
It is a demand from your broker to add cash or securities when your account’s equity falls below the required level. The broker can also sell your securities to cover the shortfall, without telling you first.
How much money do I need to open a margin account?
FINRA Rule 4210 requires equity of at least $2,000 for new margin trades, though you don’t have to deposit more cash than the cost of what you buy. Your broker may ask for more.
Sources
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.