Margin Interest Calculator
The Margin Interest Calculator estimates the financing cost of borrowing from a brokerage margin account. Enter the margin loan balance, the annual interest rate, the number of days the balance is outstanding, and either a 360-day brokerage year or a 365-day calendar year. The main result is interest for the selected period. The breakdown also shows daily interest, a simple monthly equivalent, effective cost over the selected period, and the day-count basis used.
This calculator is unrelated to gross profit margin in retail pricing. In investing, “margin” means borrowing against securities in a brokerage account. The margin calculator, markup calculator, vat calculator, and sales tax calculator handle business pricing and tax workflows. This page focuses only on loan interest from securities borrowing.
What the calculator does
The calculation method uses simple daily interest. It divides the annual percentage rate by 100, divides again by the selected day-count basis, then multiplies by the borrowed amount and the number of days. It does not compound within the holding period. It does not model changing rates, changing balances, margin calls, dividend treatment, tax consequences, commissions, short-sale borrow fees, or trading performance.
The monthly equivalent shown in the result panel is also simple. It calculates one-twelfth of the annual interest on the borrowed amount, regardless of the number of days entered. That line is helpful for comparing the quoted annual rate with a rough monthly carrying cost, but the primary interest result uses the exact day count you enter.
Formula
The daily rate is:
Interest for the selected period is:
The monthly equivalent displayed by the calculator is:
The effective cost over the selected period is:
If the borrowed amount is zero, the calculator reports a zero effective cost rather than dividing by zero.
Checking a margin interest scenario
Suppose you borrow $3,000 on margin at an annual rate of 5% and carry the balance for 30 days using a 360-day brokerage year. The daily rate is the annual rate divided by 100 and then by 360:
Daily interest is:
Interest for 30 days is:
The monthly equivalent line is:
The effective cost over the period is 0.42%, because $12.50 divided by $3,000 equals 0.0041667. The result matches the calculator’s note: $3,000 borrowed at 5% for 30 days costs $12.50 before commissions or trading gains and losses.
When this estimate is useful
Use the calculator before placing a leveraged trade, when deciding whether to keep a margin balance open, or when comparing a broker’s quoted rate with the expected holding period. A trade that appears profitable before financing can become unattractive after interest. A position that is held longer than planned can also consume more of the expected return.
It is especially useful for scenario planning. Try the same balance at several rates, then increase the number of days to see how quickly the cost grows. Compare the interest with your expected investment return using the ROI calculator or with alternative savings assumptions in the compound interest calculator. If a margin balance would strain monthly cash flow, include the rough carrying cost in the budget calculator.
Risk caveats
Margin borrowing increases both risk and complexity. Securities can decline in value while the loan remains due. A broker may require additional funds or securities, sell positions without waiting for your preferred timing, or change house maintenance requirements. Interest rates may be tiered by debit balance and can change over time. This calculator cannot judge suitability, collateral risk, or regulatory compliance.
Day-count choice also matters. With a 365-day basis, the same $3,000, 5%, and 30-day scenario costs $12.33 instead of $12.50. The difference is small in the example, but larger balances and longer holding periods make the basis more noticeable. Match your broker’s convention when estimating an actual statement charge.
Finally, use the borrowed balance, not the market value of the purchased securities. If you contribute $7,000 and borrow $3,000 to buy $10,000 of securities, interest accrues on $3,000. Entering $10,000 would more than triple the estimated financing cost and distort your trade analysis.
Statement timing can create another small difference between an estimate and the amount you see later. Brokers may accrue interest daily, post it monthly, and include prior unpaid interest in the next debit balance. If you are reconciling an actual statement, break the period at each cash deposit, securities sale, rate change, or interest posting date, then add the calculator results for those segments.
Sources
- SEC, Margin: Borrowing money to pay for stocks — investor bulletin on margin borrowing risks and obligations.
- FINRA, Margin calls — explanation of margin calls and account equity risk.
- FINRA, Margin accounts — regulatory topic page for margin account requirements.