Margin trading calculator

This margin trading calculator shows what happens when you borrow from your broker to buy shares: your buying power, the amount borrowed, the interest over the days you hold, your equity percentage, and the share price at which equity falls to the maintenance requirement you enter and a margin call follows.

Switching currency changes formatting only. Amounts are not converted.

$
$100$10,000,000

$

%
1%100%

The share of the purchase you must pay with your own money. 50% is the US floor under Regulation T; your broker can ask for more.

%
1%90%

The equity percentage below which the broker issues a margin call. 25% is the FINRA floor for long positions; your firm may set a higher one.

%
0%30%

Type the rate from your broker's margin rate table for a loan of this size.

days
13,650

$

A price you are testing. The calculator holds no live prices.

Interest day count

Your loan terms say which one applies.

Show the working

Borrowing to buy shares magnifies every move

Leverage, interest and margin calls all change what a share trade can cost. The Stock Market Trading Professional Course is an all-in-one program that combines several core areas of trading into a single structured course.

See the course

These are financial calculators made to make calculations easier and to help you find answers. They work only on the numbers you enter.

Trading stocks, forex, crypto and options carries a substantial risk of loss. This calculator does arithmetic on the numbers you enter and is not investment advice.

Worked example. With 10,000 dollars of your own and 400 shares bought at 50 dollars, the purchase is 20,000 dollars and you borrow 10,000. Your equity starts at 50%. At a 25% maintenance requirement a margin call comes if the price falls to 33.33 dollars. At 8% a year for 90 days on a 360-day basis the loan costs 200 dollars.

How far the price can fall before a margin call

Return on your cash, with the loan and without

Your purchase and interest, at sale prices from 30% below to 30% above the buy price, against buying with the same cash and no loan.

How do you calculate a margin trade?

Start from the purchase: purchase value = shares x buy price. Your own cash pays for part of it and the broker lends the rest, so loan = purchase value - your cash. Your equity is the market value of the shares minus the loan, and the broker watches it as a percentage of the market value.

With the default inputs, 400 shares at $50 cost $20,000. You put in $10,000 and borrow $10,000, so your equity starts at 50%. At an annual rate of 8% for 90 days, on a 360-day basis, the loan costs $10,000 x 8% x 90 / 360 = $200 in interest. If you sell at $55, the shares have gained $2,000, and after interest you keep $1,800, which is 18% of your own $10,000. Without the loan, the same cash buys 200 shares and the same rise earns 10%.

The headline figure is the price that matters most while the position is open: $33.33. That is where your equity would shrink to the 25% maintenance requirement, a fall of 33.33% from the buy price.

How is buying power calculated?

Buying power = your cash / initial margin requirement. The initial requirement is the share of a purchase you must fund yourself. At 50%, every dollar of your own can carry two dollars of shares; at 100% there is no loan at all.

Initial requirementBuying power on $10,000Shares at $50Most you can borrow
50%$20,000.00400$10,000.00
60%$16,666.67333$6,666.67
75%$13,333.33266$3,333.33
100%$10,000.00200$0.00

If you ask for more shares than your cash supports at the requirement you enter, the calculator says how much more of your own money the purchase needs and how many shares your cash does cover. Brokers can set a higher requirement for a volatile or thinly traded share, so the field is yours to change.

At what price do you get a margin call?

A margin call comes when equity, as a share of the market value, falls to the maintenance requirement m. Equity is shares x price - loan, so setting it equal to m x shares x price and solving for the price gives:

margin call price = loan / (shares x (1 - m))

On the default trade that is 10,000 / (400 x 0.75) = $33.33. Check it: 400 shares at $33.33 are worth $13,333.33, the loan is still $10,000, so equity is $3,333.33, exactly 25% of the market value. The higher the maintenance requirement your broker sets, the sooner the call arrives:

Maintenance requirementMargin call priceFall from $50
25%$33.3333.33%
30%$35.7128.57%
35%$38.4623.08%
40%$41.6716.67%

Below the call price the broker asks you to restore the equity. At $30, for example, the shares are worth $12,000 and your equity is $2,000; 25% of $12,000 is $3,000, so it takes a $1,000 deposit to get back to the requirement. If the call is not met, the broker can sell shares to repay the loan, and it does not have to wait for you or pick the moment you would choose.

The professional stock market program combines several core areas of trading in one structured course. See the Stock Market Trading Professional Course.

How much does margin interest cost?

Margin interest is charged on the loan, not on the whole position: interest = loan x annual rate x days held / day count. The calculator treats it as simple interest on the opening loan. Loan terms state whether the annual rate is divided by 360 or by 365 days, and the choice sits under Interest day count.

Days held$10,000 at 8%, 360-day basis$10,000 at 8%, 365-day basis
30$66.67$65.75
90$200.00$197.26
365$811.11$800.00

Interest also moves the margin call price. When interest is charged to the account instead of paid in cash, it adds to the loan, and a larger loan raises the price at which a call arrives. On the default trade, adding the $200 of interest to the $10,000 loan lifts the call price from $33.33 to $34.00. The result card shows both figures.

Margin rules in the US: Regulation T and FINRA Rule 4210

Two sets of rules set the floors for a US margin account. Both are minimums, and a broker can ask for more:

  • Initial margin, Regulation T. The Federal Reserve Board's Regulation T, at 12 CFR 220.12 (the e-CFR text, read 13 November 2026), sets the required margin for a margin equity security at 50% of its current market value, or the percentage set by the regulatory authority where the trade occurs, whichever is greater. That is the 50% default above.
  • Maintenance margin, FINRA Rule 4210. The rule on finra.org (read 13 November 2026) sets maintenance margin for long positions at 25% of the current market value of the margin securities held. That is the 25% default.
  • Minimum equity. The same FINRA rule requires a customer to have equity of at least $2,000 in a margin account, though cash need not be deposited beyond the cost of the securities bought.

For short sales the same two rules set different figures, which the short selling calculator works through. Margin lending in the UK, Europe, Canada, Australia and the Gulf runs under each region's own rules and each firm's own lending terms, so type the requirements from your account agreement into the calculator. The arithmetic does not change.

Margin trading examples in pounds and euros

  • Pound account, a loss. £5,000 of cash buys 300 shares at £30, a £9,000 purchase, so £4,000 is borrowed and equity starts at 55.56%. The broker's maintenance requirement is 30%, which puts the margin call at 4,000 / (300 x 0.70) = £19.05, a 36.51% fall. The loan costs 6.5% a year on a 365-day basis. The shares are sold after 120 days at £27: a £900 fall in value plus £85.48 of interest is a loss of £985.48, or 19.71% of the £5,000, while the share price fell 10%.
  • Euro account, a gain. €8,000 of cash buys 200 shares at €60. The purchase is €12,000, the loan €4,000 and the starting equity 66.67%. With a 35% maintenance requirement the call price is €30.77, 48.72% below the buy price. Thirty days at 5% on a 360-day basis costs €16.67, and a sale at €66 leaves a profit of €1,183.33, a 14.79% return on the €8,000 for a 10% rise.

A smaller loan gives more room. The euro trade borrows a third of the purchase and can fall almost half before a call; the default dollar trade borrows half and has a third of the way to fall.

How a margin loan changes your return

A loan does not change how far the share price moves. It changes how much of your own money each move represents. On the default trade, $20,000 of shares sit on $10,000 of your cash, so every 1% move in the price is 2% of your money, and the $200 of interest comes off whichever way the price goes:

Sale price moveReturn on your cash with the loan, after interestReturn with the same cash, no loan
-30%-62.00%-30.00%
-20%-42.00%-20.00%
-10%-22.00%-10.00%
0%-2.00%0.00%
+10%+18.00%+10.00%
+20%+38.00%+20.00%
+30%+58.00%+30.00%

A flat price is a 2% loss, because the interest is still owed. The second chart under the calculator redraws this table for your own inputs. These are arithmetic illustrations of the loan, not a view on whether to borrow.

How to calculate a margin call price in Excel or Google Sheets

Put your cash in B2, the buy price in C2, the shares in D2, the maintenance requirement as a decimal in E2 (0.25), the annual rate as a decimal in F2 (0.08) and the days held in G2. Then:

  • Loan: =MAX(0, D2*C2-B2), which returns 10,000 for the defaults.
  • Equity percentage at purchase: =(D2*C2-H2)/(D2*C2) with the loan in H2.
  • Margin call price: =H2/(D2*(1-E2)), which returns 33.33.
  • Interest: =H2*F2*G2/360, or /365 if your loan terms use 365 days.
  • Buying power: =B2/0.5 for a 50% initial requirement.

To see the cash a margin call would ask for at a lower price P in J2, use =MAX(0, E2*D2*J2-(D2*J2-H2)). At $30 it returns 1,000.

What this calculator leaves out, and common mistakes

It works on one purchase and the numbers you type. It ignores commission, dividends received while you hold, tax, and changes in the interest rate during the loan. It does not follow the price day by day or apply a broker's house rules, such as a higher requirement for a concentrated or volatile holding. A gap in the price overnight can take a position straight through the margin call price, and a broker that sells to cover the loan sells at whatever price it gets.

  • Reading buying power as spending money. It is the most the broker will lend against, not an amount that has to be used.
  • Forgetting interest on a flat trade. A share that ends where it started still loses the interest.
  • Using the initial requirement for the margin call. The call is set by the maintenance requirement, which is lower.
  • Expecting time to meet a call. A broker can sell without waiting.
  • Ignoring interest added to the loan. It raises the margin call price as the weeks pass.

Glossary

Margin account: a brokerage account that lends against the securities in it. Margin loan or debit balance: the money borrowed from the broker. Equity: the market value of the shares minus the loan. Initial margin requirement: the share of a purchase you must pay with your own money. Maintenance requirement: the lowest equity percentage the broker accepts while the position is open. Buying power: cash divided by the initial requirement. Margin call: a demand to deposit cash or securities, or sell, when equity falls below the maintenance requirement. Day count: the number of days a year the annual rate is spread over.

Frequently asked questions

How do I calculate a margin call price?

Divide the loan by the shares times (1 - maintenance requirement). With a $10,000 loan on 400 shares and a 25% requirement, the call price is 10,000 / (400 x 0.75) = $33.33. At that price equity is exactly 25% of the market value.

How is buying power calculated on a margin account?

Divide your cash by the initial margin requirement. At 50%, $10,000 of cash gives $20,000 of buying power. A broker can set a higher initial requirement, which lowers it.

What is the initial margin requirement in the US?

Regulation T, 12 CFR 220.12, sets it at 50% of the current market value for a margin equity security, or the percentage set where the trade occurs if that is higher. Brokers can ask for more than this floor.

What is the maintenance margin requirement under FINRA rules?

FINRA Rule 4210 sets maintenance margin on long positions at 25% of the current market value of the margin securities. A firm can set a higher level in its own terms, so type the figure your account uses.

How is margin interest calculated?

Multiply the loan by the annual rate and by the days held, then divide by the day count in your loan terms, 360 or 365. A $10,000 loan at 8% for 90 days costs $200 on a 360-day basis and $197.26 on a 365-day basis.

How much do I need to deposit to meet a margin call?

Enough to bring equity back to the maintenance requirement: requirement x market value - equity. With 400 shares at $30 and a $10,000 loan, equity is $2,000 against a $3,000 requirement, so the deposit is $1,000. A broker can ask for more than the minimum.

Does interest change the margin call price?

Yes, if it is added to the loan. On the default trade, $200 of interest added to a $10,000 loan raises the call price from $33.33 to $34.00. Paying the interest in cash keeps the loan, and the call price, where they were.

Can I lose more than my own money on margin?

Yes. If the price falls fast or gaps past the margin call price, the shares can be sold for less than the loan, and you still owe the difference. The loan is repaid in full whatever the shares fetch.

Why is my return on a margin trade bigger than the price change?

Because the gain is measured against your own cash, which is only part of the purchase. With half the purchase borrowed, a 10% rise is about a 20% gain on your cash before interest, and a 10% fall is about a 20% loss.

Can I use this margin calculator in pounds or euros?

Yes. Choose from 24 account currencies; prices and cash are shown in that currency and nothing is converted. Type the requirements and the rate from your own account terms, since rules outside the US differ.

Courses behind trading on margin

Stock Market Trading Professional Course

All-in-one stock market training program led by Arvind Sharma, combining multiple core areas of trading into a single structured course.

See what the course covers

Stock Market Trading Beginners Course

Structured online beginner program covering UK, USA, and European stock markets, technical analysis, fundamental analysis, risk management, and trading psychology.

See what the course covers

Stock Trading Rules and Strategies

Practical program explaining why trading rules matter and how traders apply predefined strategies for day trading and short-term market analysis.

See what the course covers

Sources and review

Last reviewed 14 November 2026 by the NIFM Academy editorial team. Next review by 14 May 2027.

  • Federal Reserve Board, Regulation T, 12 CFR 220.12 Supplement: margin requirements (e-CFR text, Cornell Legal Information Institute), required margin for a margin equity security of 50% of current market value, or the percentage set by the regulatory authority where the trade occurs, whichever is greater. Checked 13 November 2026.
  • FINRA Rule 4210, Margin Requirements (finra.org), maintenance margin of 25% of the current market value of all margin securities held long; customer equity of at least $2,000, except that cash need not be deposited beyond the cost of securities bought. Checked 13 November 2026.
  • Margin loan arithmetic, loan = shares x price - cash; buying power = cash / initial requirement; interest = loan x rate x days / day count; margin call price = loan / (shares x (1 - maintenance)); shown in the working under every result. Checked 13 November 2026.

About these calculators. These are financial calculators made to make calculations easier and to help you find answers. Every result is arithmetic on the figures you enter. It is not a forecast, and it is not a recommendation to buy, sell or hold any security, currency, fund or product. NIFM Academy is an online education provider.

Amounts are shown in the currency you choose and are never converted between currencies. Any rate, allowance or tax figure the page fills in is dated where it appears, and you can change it.