Audited 31 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Margin Interest Calculator

Estimate the interest a broker charges on a margin loan from the debit balance, annual rate, days borrowed and the 360- or 365-day year it counts.

Margin Interest Calculator

%
days
days
Simple margin interest
166.6667
The simple interest owed on the borrowed balance for the days entered, in the same currency as the balance.
Model scope
Simple-interest estimate, not investment or brokerage advice; actual daily balances, tiered rates, compounding, settlement, short-credit treatment, fees, and the broker's disclosed day-count method control the charge.

Background.

Borrowing against shares is easy to start and easy to forget. A margin loan has no repayment schedule: the broker lends against the securities in your account, charges interest on whatever you owe, and keeps charging until you sell something or deposit cash. The cost builds quietly in the background of a portfolio, which is why it is worth putting a number on.

The arithmetic is simple interest: balance × annual rate × days ÷ the number of days the broker counts in a year. That last figure, the day-count basis, is easy to overlook. Some brokers divide the quoted rate by 360 rather than 365, so over a calendar year a quoted 10% costs about 10.14% of the balance. On a 20,000 debit held for a month the difference is a couple of dollars, but it is part of the true price of the loan, and the broker's margin agreement says which basis applies.

The bigger question is whether the borrowing pays. Interest is due whether the shares rise or fall. At 10% a year, anything bought on margin has to earn more than 10% just to cover the loan, and losses are magnified because the debt stays the same while the collateral shrinks. The disclosure statement FINRA requires brokers to give margin customers warns that you can lose more than you deposit, and that the firm can sell your securities without contacting you if your equity falls below its maintenance requirement.

What this estimate leaves out is the way a real statement is built. Interest accrues on each day's actual debit, which moves with every trade, deposit and dividend; rates are often tiered, falling as the balance grows; and interest that is charged to the account becomes part of the debit, so it then earns interest of its own.

What is margin interest calculator?

Margin interest is what a broker charges for lending you money against the securities you hold with it. It accrues on the debit balance, the amount you owe, at an annual rate that is often tiered so that larger balances pay less. The figure here is simple interest on a fixed balance for a stated number of days, using the day-count basis you choose, and it comes out in the same currency as the balance. It is the cost of the loan alone, separate from any gain or loss on the positions it paid for.

How to use this calculator.

  1. Enter the borrowed balance: the margin debit shown on your statement, not the market value of your positions.
  2. Enter the annual margin rate that applies to a balance of that size, taken from the broker's published rate table or your latest statement.
  3. Enter how many days the balance will stay outstanding. For a monthly figure use the actual days in that month, anywhere from 28 to 31.
  4. Set the day-count denominator to the basis your broker discloses, usually 360 or 365. If you cannot find it, run both; the gap between them is the uncertainty.
  5. If you trade, deposit or withdraw during the period, split it into stretches with a steady balance, run each one and add the results.

The formula.

interest = balance × annual rate × days / day-count basis

Interest = B × (r ÷ 100) × d ÷ D. B is the borrowed balance, r the annual rate in percent, d the number of days the money is owed and D the day-count basis, the number of days the broker treats as a year. The rate divided by D is the daily rate: 10% on a 360-day basis is 0.02778% a day, so each day costs about 5.56 on a 20,000 balance. Because every term is a straight multiplier, doubling the balance, the rate or the days doubles the interest. Switching D from 365 to 360 raises the charge by a factor of 365/360, roughly 1.4%. Nothing is compounded: the balance is treated as fixed for the whole period, with no interest added to it along the way, so for long periods the estimate runs below what a broker that posts interest monthly would charge. All four inputs must be greater than zero.

A worked example.

Example

You owe your broker 20,000 on margin at 10% a year, and the broker counts a 360-day year. The daily rate is 10% ÷ 360 = 0.02778%, which on 20,000 is about 5.56 a day. For 30 days the interest is 20,000 × 0.10 × 30 ÷ 360 = 60,000 ÷ 360 = 166.6667, roughly 166.67. On a 365-day basis the same 30 days would cost 164.38, about 2.28 less. The gap grows with time: a full 365 days at the 360-day convention costs 2,027.78 instead of 2,000. And if each month's interest is posted to the debit balance, twelve 30-day months come to 2,094.26 rather than the 2,000 that simple interest gives, which is the real hurdle the borrowed money has to beat in a year.

annual Rate Percent10
borrowed Balance20,000
elapsed Days30
day Count Basis360

Frequently asked questions.

Why would a broker divide the annual rate by 360 instead of 365?
A 360-day year is a long-standing convention in lending and money markets, and it slightly favours the lender. Dividing by 360 makes each day's charge about 1.4% larger, so a year of borrowing at a quoted 10% costs 2,027.78 on 20,000 rather than 2,000.
Do I still pay margin interest if my shares go up?
Yes. Interest is charged on the money you owe, not on how the investments perform. A gain can more than cover it, but the interest is due either way, and in a falling market it adds to the loss instead of offsetting it.
Why is the interest on my statement different from this estimate?
Brokers accrue interest on each day's actual debit balance, which changes when you trade, receive dividends or move cash. The rate can also change mid-month if the broker's base rate moves, and some apply different rates to different slices of a large balance. Run each stretch separately to get closer.
How much do my margin-funded investments need to earn to break even?
More than the margin rate, measured over the same period. At 10% on a 360-day basis, 30 days of borrowing costs 166.67 on 20,000, so the positions bought with that money need to gain more than about 0.83% in the month before the loan has paid for itself.
Does unpaid margin interest get added to what I owe?
Commonly, yes. Brokers usually charge the accrued interest to the account periodically, often monthly, and it becomes part of the debit balance. From then on it accrues interest too, which is why a year of monthly posting on 20,000 at 10% comes to about 2,094.26 rather than 2,000.
How can I cut the interest without selling shares?
Reduce the debit. Depositing cash lowers the balance immediately, and dividends or interest paid into the account do the same. Since the charge is proportional to the balance, paying down 5,000 of a 20,000 debit cuts the interest by a quarter for every day that follows.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
interest = balance × annual rate × days / day-count basis
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon