Loan Margin Calculator
A margin loan is money borrowed from a broker against the securities in an account, and its risk sits in one number: how far your equity stands above the maintenance line. This calculator measures that cushion, the interest the loan costs over the days you hold it, and the point at which a price fall becomes a margin call. A second mode covers the banking meaning of loan margin, the spread between a loan rate and the lender’s cost of funds.
Set by your broker, typically 25% to 40%. FINRA minimum is 25%.
Quick Answer
With $40,000 of securities and a $25,000 margin loan at a 30% maintenance requirement, your equity is $15,000 (37.50%), required maintenance equity is $12,000, and your cushion is $3,000, which is also the most you could borrow on top. Holding that loan at 8.5% for 30 days costs $174.66 in interest. In spread mode, a 7.5% loan rate against a 4.2% cost of funds gives a loan margin of 3.30 percentage points, worth $3,300 per $100,000 lent per year before operating costs.
Key takeaways
- The loan stays fixed while prices move, so equity absorbs the whole price change, up and down.
- The cushion, not the equity ratio alone, tells you the dollar size of the fall you can survive.
- Your account hits the maintenance line when market value falls to loan divided by (1 minus maintenance rate): $35,714.29 in the worked example.
- Margin interest here is simple interest on a 365-day year. A broker using 360 days charges slightly more at the same quoted rate.
How to use the loan margin calculator
Pick the mode that matches your question, enter your own figures, and read the verdict badge before the detail rows. The badge is the fastest health check: HEALTHY, THIN CUSHION or MARGIN CALL in trading mode, and POSITIVE, THIN or NEGATIVE SPREAD in lending mode.
Margin trading loan mode
- Enter the total market value of the securities in the margin account, at today's prices.
- Enter the margin loan balance, the debit balance you owe the broker.
- Enter the maintenance margin requirement from your broker, often 25% to 40%.
- Enter the annual margin interest rate and the days you will hold the loan, then click Calculate.
- Read the equity, equity ratio, required maintenance equity, cushion, maximum additional borrowing and the interest estimate. Interest accrues daily in a real account, and this tool prices it as simple interest on a fixed balance.
Lending spread mode
Enter the interest rate the lender charges and the lender's cost of funds. The tool returns the spread in percentage points, plus what that spread earns per $100,000 lent per year before operating costs. Spread mode validates only that both entries are numbers, so negative rates are accepted: see the disclosure in the spread section below before relying on an unusual result.
The formulas behind both modes
Trading mode uses four formulas, and spread mode uses one subtraction. Every line of the result is one of these, with no hidden adjustments.
- Equity = market value of securities minus margin loan balance
- Equity ratio = equity divided by market value, multiplied by 100
- Required maintenance equity = market value multiplied by maintenance margin percentage
- Cushion = equity minus required maintenance equity
- Maximum additional borrowing = cushion, floored at zero
- Margin interest = loan balance multiplied by (annual rate divided by 100) multiplied by (days divided by 365)
- Lending spread (loan margin) = loan interest rate minus cost of funds
One derived figure is worth knowing even though the tool does not print it: the market value at which a margin call triggers is loan divided by (1 minus the maintenance rate as a decimal). It comes from setting equity equal to required equity and solving for market value. When liquidation follows a call, costs and timing matter as well, which is why the cross-margin liquidation calculator treats that side of the problem separately. On day counts: brokers accrue on either a 365-day or a 360-day year. The 360-day convention makes the same quoted rate slightly more expensive, and this calculator uses 365 days throughout, so treat the interest line as an estimate and check your broker's disclosure. The rate you enter also interacts with compounding conventions elsewhere, which an effective interest rate calculator can unpack for amortizing loans.
Worked example: a healthy account, a thin one, and a margin call
Every figure in this section was produced by the calculator above from the inputs shown, so you can re-enter them and confirm each line.
You hold $40,000 of securities, owe $25,000 on margin, face a 30% maintenance requirement, and pay 8.5% annual interest:
- Equity = $40,000 minus $25,000 = $15,000 (equity ratio 37.50%)
- Required equity = $40,000 times 30% = $12,000
- Cushion = $15,000 minus $12,000 = $3,000, so you could borrow up to $3,000 more before hitting the line
- Interest for 30 days = $25,000 times 0.085 times (30 divided by 365) = $174.66
- Verdict: HEALTHY, because the $3,000 cushion is not smaller than 25% of required equity (also $3,000)
Now stress the same account two ways. Raise the loan to $27,000 and the cushion falls to $1,000: the verdict drops to THIN CUSHION and interest for 30 days rises to $188.63. Then hold the loan at $25,000 and drop the securities 20% to $32,000: equity becomes $7,000 against required equity of $9,600, the cushion is negative $2,600, and the headline reads: Below maintenance: deposit $2,600.00 or reduce the loan. The account reaches the line itself at a market value of $35,714.29, a fall of about 10.7% from $40,000, long before the headline-grabbing 20% drop.
| Scenario (30% maintenance, 8.5%, 30 days) | Equity | Cushion | Verdict |
|---|---|---|---|
| $40,000 value, $25,000 loan | $15,000.00 | $3,000.00 | HEALTHY |
| $40,000 value, $27,000 loan | $13,000.00 | $1,000.00 | THIN CUSHION |
| $32,000 value, $25,000 loan | $7,000.00 | -$2,600.00 | MARGIN CALL |
Margin loan vs. lending spread: two meanings, one term
Loan margin means two different things, and this page serves both rather than pretending one definition covers everything. Most searchers want the brokerage meaning; bankers and lending students usually want the spread.
Margin trading loan (brokerage). How much you have borrowed against your portfolio, whether your equity satisfies the maintenance requirement, and what the borrowing costs. The regulatory floor under this market is FINRA's 25% maintenance minimum, with the initial purchase limit set by Regulation T at 50% of the purchase price. House requirements above the floor are normal and change with volatility.
Lending spread (banking). The gap between the interest rate a lender charges and its own cost of funds. A 7.5% loan rate funded at 4.2% leaves a 3.30 percentage point spread, worth $3,300 per $100,000 per year before operating costs, credit losses and capital costs. That is a gross figure, not profit: a lender judging the same loan after amortization and fees would use a loan profit calculator instead. Spread is also not the same as net interest margin, which divides net interest income by average earning assets across a whole balance sheet. Two honest limits of this mode: it accepts negative rates without an error (negative funding rates have existed, and the result still flags a negative spread), and it prices a single loan rate, not a portfolio.
What competing calculators miss
Most margin tools answer one slice of the question. Margin call calculators give the trigger price but not the interest cost or the additional borrowing room. Maintenance margin explainers give the account-value formula with no verdict on your own numbers. Forex and intraday margin calculators compute required margin from leverage, a different problem from an existing brokerage debit balance. Almost none of them cover the lending spread meaning at all.
- No single verdict: rivals print ratios and leave you to judge them. Here the cushion is classified HEALTHY, THIN CUSHION or MARGIN CALL against a stated threshold: thin means positive but under 25% of required equity.
- Interest kept separate: interest-only margin tools never show equity or the maintenance line. Here the 30-day interest sits in the same result as the cushion it will slowly erode.
- The trigger value is derivable: the formulas section shows how to get the exact market value that triggers a call ($35,714.29 in the example) instead of discovering it from the broker.
- Both meanings, stated plainly: the spread mode exists, and its limits (gross, single-loan, negative rates accepted) are disclosed on the page rather than hidden.
Frequently asked questions
Margin interest here is simple interest on the loan balance: balance multiplied by the annual rate as a decimal, multiplied by days held divided by 365. A $10,000 loan at 6% for 30 days costs $49.32. The balance is treated as fixed for the period entered, so a balance that changes mid-period should be run in separate pieces.
It is the minimum equity ratio your broker demands, expressed as a percentage of the market value of the securities. FINRA sets a 25% floor for long stock positions, and individual brokers often require 30% to 40%, sometimes more for volatile or concentrated holdings. If your equity ratio falls below the requirement, the account is deficient and the broker issues a margin call.
The broker demands that you deposit cash or securities, or sell positions, to restore the required equity. Brokers set their own deadline and can liquidate your holdings without consulting you if you do not act in time. In this calculator a margin call means your cushion is negative: the headline states the deposit that would restore the maintenance line at the current market value.
At purchase, Regulation T generally lets you borrow up to 50% of the price of margin securities. After that, the binding limit is your broker's maintenance requirement: this calculator's maximum additional borrowing line shows how much more you could take while your equity stays at or above that line. Borrowing the full amount leaves a cushion of zero, so any price dip triggers a call.
The result is flagged THIN CUSHION when your cushion above maintenance is positive but smaller than 25% of the required maintenance equity. In the worked example that threshold is $3,000, so a cushion of exactly $3,000 still reads HEALTHY, while $1,000 reads THIN CUSHION. It is an early warning built into this tool, not a broker rule.
In the US, investment interest expense is generally deductible up to your net investment income if you itemize deductions, and unused amounts can carry forward. The rules differ by country and account type, and interest in a retirement account follows different treatment. This is general information, not tax advice; confirm your position with a tax professional.
There is no single right number, because the spread has to cover operating costs, credit losses and capital costs before anything is profit. In the spread mode here, a result under 1 percentage point is flagged THIN SPREAD and a negative result is flagged NEGATIVE SPREAD, meaning the lender pays more for funds than it charges borrowers. Compare your figure with published net interest margins for similar lenders before judging it.
Some brokers accrue margin interest on a 360-day year and others on a 365-day year. A 360-day convention divides the same annual rate into slightly larger daily pieces, so it costs a little more over the same holding period. This calculator always uses 365 days, so check your broker's margin disclosure for the convention in your agreement.
Spread mode validates only that the two entries are numbers, a behaviour preserved from the published tool. Negative funding rates have existed in real markets, and a negative cost of funds can be a genuine input. A negative loan rate or a negative spread is still flagged in the result, so the output warns you rather than silently accepting the scenario.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- Financial Industry Regulatory Authority (FINRA). Margin Accounts. Accessed October 22, 2026.
- Board of Governors of the Federal Reserve System. Regulation T: Credit by Brokers and Dealers (12 CFR Part 220). Accessed October 22, 2026.
- U.S. Securities and Exchange Commission, Investor.gov. Margin account (glossary). Accessed October 22, 2026.
- Internal Revenue Service. Topic No. 505, Interest Expense. Accessed October 22, 2026.
- Internal Revenue Service. Publication 550, Investment Income and Expenses. Accessed October 22, 2026.
- Board of Governors of the Federal Reserve System. H.15 Selected Interest Rates. Accessed October 22, 2026.
- Federal Reserve Bank of St. Louis, FRED. Secured Overnight Financing Rate (SOFR). Accessed October 22, 2026.
- Federal Deposit Insurance Corporation. Quarterly Banking Profile. Accessed October 22, 2026.
- Financial Industry Regulatory Authority. Frequently Asked Questions Regarding FINRA Rule 4210 Margin. Accessed October 22, 2026.
- U.S. Securities and Exchange Commission, Office of Investor Education and Advocacy. Investor Bulletin: Understanding Margin Accounts. Accessed October 22, 2026.
