Home › Templates › Margin interest spreadsheet

Margin Interest Calculator Spreadsheet

A free margin interest calculator for Excel and Google Sheets. Log your debit balance, type your broker's rate tiers and pick a 360- or 365-day year. The sheet accrues interest day by day, totals it by billing month, shows what a 1% rate rise would cost, and checks your margin: equity %, buying power, the price that would trigger a margin call, and the return you need to cover the interest.

Download Excel template (.xlsx) 325 KB · 2-year daily log · no macros · Excel 2016+ and Google Sheets · v1.0, 10 Nov 2026

Use it in Google Sheets: choose File → Import → Upload in Sheets and pick the .xlsx, or upload it to Google Drive and open it with Google Sheets. No sign-up, no email gate, no add-in.

Preview: the Example tabs and Summary. The rates, balances and positions are fictional, not any broker's real schedule.
$8,465.91interest over 304 days (360-day year)
11.18%effective annual rate across the tiers
$115.97extra vs a 365-day year
$756.96extra if every rate were 1% higher
52.3%equity; account can fall 29.8% before a call
1.28%return needed to cover 90 days of interest
MonthDaysAvg debitInterestEff. rateIf rates +1%Cumulative
Jan 202631$26,210$268.1811.882%$290.75$268.18
Feb 202628$40,271$366.9611.716%$398.28$635.14
Mar 202631$67,419$669.2711.528%$727.33$1,304.41
Apr 202630$100,817$958.1211.404%$1,042.14$2,262.53
May 202631$95,452$936.5611.394%$1,018.76$3,199.09
Jun 202630$119,650$1,116.8811.201%$1,216.58$4,315.97
Jul 202631$85,552$822.0611.159%$895.73$5,138.03
Aug 202631$91,961$878.4711.093%$957.66$6,016.50
Sep 202630$131,750$1,190.2610.841%$1,300.05$7,206.76
Oct 202631$135,229$1,259.1510.813%$1,375.59$8,465.91
$0$200$400$600$800$1,000$1,200$1,400$268Jan$367Feb$669Mar$958Apr$937May$1,117Jun$822Jul$878Aug$1,190Sep$1,259Oct

How margin interest is calculated

A margin loan is a loan from your broker, secured by the securities in your account. Investor.gov puts it simply: "Like all loans, margin loans charge interest" (Investor.gov, Understanding Margin Accounts). Interest builds up every calendar day on the debit balance and is posted once a month:

Interest for a day = debit balance × annual rate ÷ days per year

Two broker settings change the result, and brokers do not all use the same ones.

1. Day count: 360 or 365

Interactive Brokers' calculation page lists "360: USD, EUR, CHF, CZK, JPY, SEK, NOK, DKK, HUF, MXN" and "365: AUD, CAD, CNH/CNY, GBP, HKD, KRW, ILS, INR, NZD, RUB, SGD", with the formula "Balance tier1 * Rate tier1 / numberOfDaysInYear" (Interactive Brokers, Margin Interest Calculations). Schwab's explainer says "Margin interest compounds daily on a 360-day basis" (Schwab, Understanding Margin Interest). Dividing by 360 instead of 365 adds 365 ÷ 360 − 1 ≈ 1.39% to the interest at the same rate. In the example that is $115.97 over 304 days.

2. Tiers: blended or whole balance

Margin rates fall as the balance grows, in bands. Interactive Brokers says it "uses a blended rate based on the tiers": for a large balance it charges "the first 100,000" at the Tier I rate and "the next 900,000 at the Tier II rate" (Interactive Brokers, Margin Rates). Fidelity publishes a table of debit-balance bands and says "The interest rate is determined by the margin schedule" and "Margin interest is charged daily on all settled debit balances in your account" (Fidelity, Margin rates). Not every schedule says whether a band rate applies to the whole balance or only to the slice inside the band, so the template offers both methods. Check your broker's agreement.

One day at a $104,500 debit (example tiers)Annual $
Blended: $25,000 × 12.00%$3,000.00
+ $75,000 × 11.25% (band $25,000 to $100,000)$8,437.50
+ $4,500 × 10.00% (band from $100,000)$450.00
Blended total (11.376% effective) ÷ 360 = interest for the day$11,887.50 → $33.02
Same, ÷ 365$32.57
Whole balance: $104,500 × 10.00% ÷ 360$10,450.00 → $29.03

Same balance, same table, a $3.99 a day gap between the two methods. That is why the method matters as much as the headline rate.

What's inside the spreadsheet

TabWhat you typeWhat it calculates
Start hereNothingSteps, formulas in plain words, colour key, limits, sources, disclaimer
SummaryNothingYour data next to the Example: total interest, average daily debit, highest debit, effective annual rate, the same log on the other day count, interest if rates were 1% higher, margin status, break-even. Monthly interest table (by calendar month or your broker's billing day) and 3 charts
Margin setupStart date, 360 or 365, tier method, billing day, house maintenance %; up to 8 rate bands; up to 15 long positions; a new purchase to test; holding period; rate changes to testSettings and tier checks; market value, equity, equity %, Reg T excess, buying power estimate, maintenance requirement and excess, margin status, call price per position, whole-account fall to a call; new-purchase call price; interest over the holding period and break-even return; what-if table
Debit logThe debit balance on days it changes (up to 731 calendar days); optional rate adjustment and notePer day: balance in effect, adjustment in effect, annual interest at that balance, effective rate, interest for the day, cumulative interest, billing period
Example setup, Example logAlready filled with fictional rates, balances and positionsThe same results, to compare with yours

How to use it

  1. Open Margin setup. Type the first day of your log. Choose 360 or 365 days per year and the tier method your broker uses. If your broker bills on a fixed day (for example the 21st to the 20th), type the last day of the period (20).
  2. Type your broker's rate bands: where each band starts ($0 for band 1) and its annual rate. If the broker quotes a base rate plus or minus a spread, type the resulting rate for each band. Rates change often; use today's schedule.
  3. Open Debit log. Dates fill in by themselves. Type the settled debit balance on each day it changes, from your statement or account page. Blank days keep the previous balance, so weekends accrue as they should.
  4. When the broker changes its base rate, type the total change (for example −0.25%) in the adjustment column on the day it starts. When interest posts and raises your balance, type the new balance.
  5. Back on Margin setup, type your long positions and your house maintenance %. Read the margin status, the call price for each position, the new-purchase call price, and the break-even for your holding period. Then read Summary; every check must say OK.

Margin call price: Reg T, FINRA 4210 and house rules

Three layers of rules set how much equity you need:

For one stock bought on margin, the price that triggers a maintenance call is:

Margin call price = loan ÷ (shares × (1 − maintenance %))

With a 50% loan, the trigger as a share of the purchase price is 0.5 ÷ (1 − maintenance %):

MaintenanceCall at % of buy priceFall to the callBought at $50
25%66.7%33.3%$33.33
30%71.4%28.6%$35.71
35%76.9%23.1%$38.46
40%83.3%16.7%$41.67
50%100.0%0.0%$50.00

At a 50% maintenance requirement, a stock bought with the full 50% loan is at the call level from day one. The template's new-purchase box gives the example's 100 shares at $50.00 with a 30% house requirement: loan $2,500.00, call price $35.71, a 28.6% fall.

For a whole account, the sheet also works out how far every position could fall together before equity hits the requirement, and, for each position, the price that would trigger a call if only that stock moved:

Call price for one position = price − maintenance excess ÷ (shares × (1 − requirement %))

SymbolSharesPriceValueReq.Req. $Call price aloneFall
XMPL800$182.40$145,920.0030%$43,776.00$74.3859.2%
FICT650$96.15$62,497.5040%$24,999.00No call above $0—
DEMO1,200$41.80$50,160.0030%$15,048.00No call above $0—
SMPL150$268.90$40,335.0030%$12,100.50No call above $0—

The fictional account holds $298,912.50 of stock against a $142,500.00 debit: equity $156,412.50 (52.3%), maintenance requirement $95,923.50, excess $60,489.00. XMPL is the only position big enough to trigger a call alone, at $74.38 (59.2% down). If everything fell together, the account could drop 29.8%, to $209,839.11. Reg T excess is $6,956.25, so the buying power estimate is $13,912.50.

The formulas

Per day on the Debit log (row 8 shown; the tier helper columns E to G on Margin setup turn blank bands into a lower bound of 1015 so they never apply):

CellFormula in the file
Balance in effect (G8): typed balance, else yesterday's=IF($B8="","",IF(AND($F8="OK",ISNUMBER($C8)),$C8,N($G7)))
Annual interest at that balance (I8), both tier methods=IF($B8="","",IF('Margin setup'!$B$31<>"OK",0,MAX(0,IF('Margin setup'!$B$9="Whole balance",$G8*LOOKUP($G8,'Margin setup'!$E$23:$E$30,'Margin setup'!$G$23:$G$30),SUMPRODUCT(($G8>'Margin setup'!$E$23:$E$30)*((($G8<'Margin setup'!$F$23:$F$30)*$G8+($G8>='Margin setup'!$F$23:$F$30)*'Margin setup'!$F$23:$F$30)-'Margin setup'!$E$23:$E$30)*'Margin setup'!$G$23:$G$30))+$H8*$G8)))
Interest for the day (K8)=IF($B8="","",$I8/'Margin setup'!$B$17)
Billing period (M8)=IF($B8="","",IF(AND(ISNUMBER('Margin setup'!$B$10),DAY($B8)>'Margin setup'!$B$10),DATE(YEAR($B8),MONTH($B8)+1,1),DATE(YEAR($B8),MONTH($B8),1)))

The blended part, SUMPRODUCT((G>lower)*(((G<upper)*G+(G>=upper)*upper)-lower)*rate), adds up the slice of the balance inside each band times that band's rate. The whole-balance part, G*LOOKUP(G,lower,rate), finds the band the balance falls in.

Margin setup (account, new purchase, break-even):

ResultFormula in the file
Equity=$B$55-$B$56
Reg T excess=$B$57-$B$59
Buying power estimate=MAX(0,$B$60)/$B$13
Requirement % per position=IF($E36="","",MAX($B$18,N($D36)))
Call price if only this position falls=IF($E36="","",IF($B$63<0,"Already below maintenance",IF($F36>=1,"n/a: 100% requirement",IF($C36-$B$63/($B36*(1-$F36))<=0,"No call above $0",$C36-$B$63/($B36*(1-$F36))))))
Whole-account fall to a call=IF($B$55=0,"",IF($B$63<0,0,IF($B$56<=0,1,MAX(0,1-$B$56/($B$55-$B$62)))))
New purchase: call price=IF(AND(ISNUMBER($B$70),ISNUMBER($B$71),N($B$70)>0,N($B$71)>0),IF(MAX($B$18,N($B$73))>=1,"n/a: 100% requirement",$B$75/($B$71*(1-MAX($B$18,N($B$73))))),"")
Interest over the holding period=$B$86*MAX(0,N($B$84))/$B$17
Break-even return on the position=IF(IF(ISNUMBER($B$82),$B$82,$B$55)>0,$B$88/IF(ISNUMBER($B$82),$B$82,$B$55),"")

Worked example from the sample data

$0k$25k$50k$75k$100k$125k$150kband 2 starts ($25k)band 3 starts ($100k)JanFebMarAprMayJunJulAugSepOct
  1. One day. On 14 April 2026 the fictional debit rises to $104,500. Blended across the three bands it costs $11,887.50 a year, or $33.02 for the day on a 360-day year.
  2. One month. April has 30 days at an average debit of $100,816.67. Interest: $958.12, an effective 11.404% a year.
  3. The whole log. 304 days from 01 Jan to 31 Oct 2026, average daily debit $89,640.13, highest $142,500.00: $8,465.91 of interest, an effective 11.184%. On a 365-day year it would be $8,349.94.
  4. A rate cut. From 1 July every band is 0.25% lower (a fictional base-rate cut typed once in the adjustment column). July's effective rate drops even though the balance is similar.
  5. Break-even. Holding today's $142,500.00 loan for 90 days costs $3,832.81 (10.759% a year). The $298,912.50 of positions must gain 1.282% just to cover it, or 2.450% on your own $156,412.50.

What if rates rise 1%?

The what-if table adds the same change to every band rate. It shows the cost over your holding period, the break-even return, and what the whole debit log would have cost at that rate. Example ($142,500.00 loan, 90 days):

Rate changeRate on loanInterest, 90 daysvs todayBreak-evenWhole log
−1.0 pp9.759%$3,476.56−$356.251.163%$7,708.95
today's rates10.759%$3,832.81$0.001.282%$8,465.91
+0.5 pp11.259%$4,010.94+$178.121.342%$8,844.39
+1.0 pp11.759%$4,189.06+$356.251.401%$9,222.87
+2.0 pp12.759%$4,545.31+$712.501.521%$9,979.83

Is margin interest tax deductible?

IRS Publication 550 (for 2025 returns) says: "If you borrow money to buy property you hold for investment, the interest you pay is investment interest." It adds: "your deduction for investment interest expense is limited to your net investment income. You can carry over the amount of investment interest you could not deduct because of this limit to the next tax year." (IRS Publication 550). The deduction is figured on Form 4952; Pub 550 lists tests under which you "do not have to complete Form 4952". The deduction is itemized, and interest on money used for tax-exempt income is not deductible. The template totals your interest by month and for the log, which helps you match broker statements; it does not figure the deduction.

Common mistakes

Limits

FAQ

How is margin interest calculated?

Most brokers charge interest every calendar day on the settled debit balance: daily interest = debit balance × annual rate ÷ days in the year (360 or 365, depending on the broker and currency). The daily amounts add up over the month and post to the account once a month. With a tiered schedule the rate depends on the size of the balance, either slice by slice (blended) or as one rate for the whole balance.

Do brokers use 360 or 365 days for margin interest?

It depends on the broker and the currency. Interactive Brokers lists 360 days for USD and EUR and 365 days for GBP, CAD, AUD and several others. Schwab describes margin interest on a 360-day year. On the same balance and rate, a 360-day basis charges 365 ÷ 360 − 1 ≈ 1.39% more interest than a 365-day basis. Check your broker's margin-rate page or account agreement.

Is margin interest charged on weekends?

Interest accrues on calendar days, so the balance at the end of Friday normally accrues for Saturday and Sunday too. The spreadsheet does this by carrying the last balance forward on days you leave blank.

At what price will I get a margin call?

For one stock bought on margin: margin call price = loan ÷ (shares × (1 − maintenance requirement)). With the Regulation T 50% initial margin and FINRA's 25% minimum maintenance, that is 0.5 ÷ 0.75 = 66.7% of the purchase price, a fall of one third. A 30% house requirement raises it to 71.4%. Firms can sell your securities without issuing a call first.

How much return do I need to cover margin interest?

Break-even return = interest over the holding period ÷ position value. A $100,000 loan at 11% held 90 days costs about $2,750 on a 360-day basis; on a $200,000 position that is 1.375% before fees, taxes and dividends. The template works this out from your own tiers and shows it again for rate changes.

Is margin interest tax deductible?

In the US, interest on money borrowed to buy taxable investments is generally investment interest. IRS Publication 550 says the deduction “is limited to your net investment income”, unused amounts can be carried forward, and Form 4952 figures the deduction (with an exception for some simple cases). It is an itemized deduction. Ask a tax professional about your own return.

Related tools and templates

Educational template only, not investment, tax or legal advice. Margin increases losses as well as gains; you can lose more than you deposit. Example data is fictional: the rates, balances, symbols and prices are made up and are not any broker's schedule. Brokers are quoted only to show how conventions differ; no broker is recommended and there are no affiliate links. Sources: 12 CFR 220.12 (ecfr.gov); FINRA Rule 4210 (finra.org); Investor.gov, Investor Bulletin: Understanding Margin Accounts (investor.gov); FINRA, Know What Triggers a Margin Call (finra.org); IRS Publication 550 and Form 4952 (irs.gov); Interactive Brokers margin interest and rate pages; Schwab, Understanding Margin Interest; Fidelity margin rates. Retrieved 10 November 2026.