Home › Templates › Short selling spreadsheet

Short Selling Spreadsheet: Track Short Trades, Borrow Fees and Margin Calls

A free short selling spreadsheet for Excel and Google Sheets. Log each short with its shares, short and cover prices and dates. The sheet works out net P/L after commissions, the daily borrow fee and dividends owed to the lender, plus for open shorts: equity, the FINRA Rule 4210 maintenance requirement, and the exact price that triggers a margin call. A stress tab shows losses if prices rise 10% to 200%, and a squeeze tab replays a price and borrow-rate spike day by day.

Download Excel template (.xlsx) 67 KB · 25 trades · no macros · Excel 2016+ and Google Sheets · v1.0, 11 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, no live price feed: you type the prices.

Preview: the Example tab on 2026-10-30 (day count 360). Tickers EXA to EXF, prices, dates and rates are fictional.
$96.13realised net P/L, 2 closed shorts
−$818.01open net P/L, 4 open shorts
$738.88borrow fees accrued (plus $110.00 dividends owed)
1 of 4open shorts in a margin call (EXF)
−$28,348open net P/L if every open short rises 100%
TickerStatusSharesShort priceCover / nowDaysGross P/LBorrow feeDividends owedNet P/L
EXAClosed200$48.00$41.5044$1,300.00$5.87$50.00$1,234.13
EXBClosed100$120.00$131.0070−$1,100.00$28.00$0.00−$1,138.00
EXCOpen500$12.40$9.8088$1,300.00$272.80$0.00$1,022.20
EXDOpen150$64.00$71.2046−$1,080.00$30.67$60.00−$1,175.67
EXEOpen1,000$4.20$3.1029$1,100.00$118.42$0.00$973.58
EXFOpen300$25.00$29.50151−$1,350.00$283.12$0.00−$1,638.12
Open shortEquityRequirementExcessCheckMargin-call priceRise to call
EXC$4,122.20$2,500.00$1,622.20OK$13.04+33.1%
EXD$3,624.33$3,204.00$420.33OK$73.36+3.0%
EXE$3,473.58$3,100.00$373.58OK$3.29+6.0%
EXF$2,111.88$3,540.00−$1,428.12Margin call$26.10−11.5%
−$2,000−$1,000$0$1,000$2,000Net P/L after commissions, borrow fees and dividends owed (Example tab)$1,234EXA (closed)−$1,138EXB (closed)$1,022EXC (open)−$1,176EXD (open)$974EXE (open)−$1,638EXF (open)

How a short sale makes or loses money

You sell borrowed shares now and buy them back later. The SEC's investor site puts it this way:

"A short sale generally involves the sale of a stock you do not own (or that you will borrow for delivery)."Investor.gov, Investor Bulletin: An Introduction to Short Sales

If the price falls, you keep the difference. If it rises, you lose, and the loss has no ceiling:

"shorting a stock leaves an investor open to the possibility of unlimited losses, since a stock can theoretically keep rising indefinitely."Investor.gov, same bulletin

Three costs eat into the result while the short is open:

Rules on the trade itself come from the SEC's Regulation SHO. Before the sale, the broker must have "reasonable grounds to believe that the security can be borrowed so that it can be delivered on the date delivery is due" (the "locate"). If a stock falls at least 10% in one day, Rule 201's price test applies to short sales "for the remainder of the day and the following day" (SEC, Key Points About Regulation SHO). The spreadsheet does not model these trading rules; it tracks the money.

What's inside the spreadsheet

TabWhat it does
Start hereInstructions, formulas, colour key, limits, sources. Example data is marked fictional.
SummaryYour Trades tab next to the Example: realised and open net P/L, fees, borrow fees, dividends owed, open equity vs requirement, shorts in a margin call, the short nearest a call, loss at +100%, squeeze results, two charts.
TradesEmpty log for 25 shorts. Yellow cells: as-of date, day count (360 or 365), and per trade the inputs below. Grey columns: 21 formulas per row, with a row status that names any input problem.
Stress testNet P/L and margin excess for each open short if the price rises by six editable moves (default +10%, +25%, +50%, +100%, +150%, +200%), with totals and a count of margin calls.
Squeeze testOne short, up to 15 rows of daily closing prices and borrow rates. Shows the fee for each period, equity, requirement, the first margin call and the cash needed that day.
ExampleThe Trades tab filled with 6 fictional shorts: 2 closed, 4 open, one under $5, one with a 40% house requirement.

Inputs per trade

ColumnInputNotes
B–ETicker, shares, short date, short priceShares as a positive number.
F–GCover date, cover priceOpen short: leave the date blank and type today's price in G.
HCommissions + feesBoth sides, in dollars.
IBorrow fee rateAnnual %, from your broker. Blank = 0.
JDividends per shareSum of dividends paid while you were short.
KMargin depositCash put up for this short. Blank = Reg T 50% of proceeds.
LHouse maintenance %If your broker asks for more than FINRA's 30% or 100%. Blank = FINRA minimum.

How to use it

  1. Open the Trades tab. In E4 type the as-of date (blank = today). In E5 pick the borrow-fee day count, 360 or 365. Ask your broker which one it uses.
  2. Add one row per short: ticker, shares, short date, short price.
  3. For a closed short, type the cover date and cover price. For an open short, leave the cover date blank and type the current price in column G. Update it whenever you check.
  4. Type commissions, the annual borrow rate and any dividends per share you paid while short.
  5. Type the cash you deposited for the short, or leave it blank for the Reg T 50%. Add your broker's house maintenance % if it is above FINRA's.
  6. Check the Row status column. "OK" rows count; other text, such as "Cover date before short date", names the fix.
  7. Read the Summary, then the Stress test for the loss and margin status if prices rise.

The formulas

These are the formulas in row 9 of the Trades tab. Every result column is wrapped in IF($N9="OK", …, ""), so blank or broken rows stay empty. No macros, no array formulas.

ResultFormula in the file
Holding days=$P9-$D9 (end date = cover date, or the as-of date if open)
Short proceeds=$C9*$E9
Gross P/L=$R9-$S9 (proceeds − shares × cover or current price)
Borrow fee=$R9*N($I9)*$Q9/$E$5
Dividends owed=$C9*N($J9)
Net P/L=$T9-$W9 (gross − fees − borrow − dividends)
Deposit used=IF(ISNUMBER($K9),$K9,0.5*$R9)
Equity (open)=$R9+$Z9-$S9-$W9
Requirement (open)=IF($G9>=5,MAX(5*$C9,MAX(0.3,N($L9))*$S9),MAX(2.5*$C9,MAX(1,N($L9))*$S9))
Margin check=IF($AD9<0,"Margin call","OK") where AD = equity − requirement
Margin-call price=IF(hi>=5,hi,MAX(0,lo)), hi = MIN(k/(1+MAX(0.3,N($L9))),k-5), lo = MIN(k/(1+MAX(1,N($L9))),k-2.5), k = ($R9+$Z9-$W9)/$C9

Why the margin-call price formula works

Per share, equity is k − P, where P is the price and k is proceeds plus deposit minus costs. For a stock at $5 or more, FINRA's requirement is the greater of $5 or 30% × P. A call starts where k − P = 30% × P, that is P = k ÷ 1.30, unless the $5 floor bites first at P = k − 5. The lower of the two is the trigger. Under $5 the same logic uses 100% and $2.50. The check script tests this closed form against a brute-force search on 432 cases; the largest gap was 0.00000000000006.

Reg T and FINRA margin for short sales

Regulation T sets the initial requirement. 12 CFR 220.12(c) lists for a "Short sale of a nonexempted security": "150 percent of the current market value of the security" (eCFR, 12 CFR 220.12). The 150% is the proceeds (100%) plus your deposit (50%).

FINRA Rule 4210(c) sets the maintenance minimum (FINRA Rule 4210):

Short stock priceFINRA 4210(c) maintenance (exact wording)
Under $5.00"$2.50 per share or 100 percent of the current market value, whichever amount is greater"
$5.00 or more"$5.00 per share or 30 percent of the current market value, whichever amount is greater"

Rule 4210(b) also asks for "equity of at least $2,000" in the account. Brokers can and often do set higher "house" requirements, especially on volatile or hard-to-borrow stocks; type yours in column L.

Low-priced stocks need more than 50%. This follows from the rule text. Short a $8 stock with a 50% deposit and your equity is $4 per share, below the $5-per-share floor, so you start in a maintenance deficit. Below $5, maintenance is 100% of market value on top of the proceeds, so a 50% deposit is short again. The Example's EXE row ($4.20 short) uses a larger deposit for this reason.

Worked example from the sample data

Row EXD on the Example tab (fictional): 150 shares shorted on 2026-09-14 at $64.00, still open on 2026-10-30 with the price at $71.20. Borrow rate 2.5%, $0.40 dividend per share paid while short, $5 commissions, Reg T deposit, day count 360.

StepCalculationResult
Holding days2026-10-30 − 2026-09-1446
Short proceeds150 × $64.00$9,600.00
Market value now150 × $71.20$10,680.00
Gross P/L$9,600.00 − $10,680.00−$1,080.00
Borrow fee$9,600 × 2.5% × 46 ÷ 360$30.67
Dividends owed150 × $0.40$60.00
Net P/L−$1,080.00 − $5.00 − $30.67 − $60.00−$1,175.67
Deposit (Reg T 50%)50% × $9,600$4,800.00
Equity$9,600 + $4,800 − $10,680 − $95.67$3,624.33
Requirementgreater of 150 × $5 = $750 and 30% × $10,680$3,204.00
Excess$3,624.33 − $3,204.00$420.33
Margin-call pricek = $14,304.33 ÷ 150 = $95.36; lower of $95.36 ÷ 1.30 and $95.36 − $5$73.36
Rise to the call$73.36 ÷ $71.20 − 1+3.03%

EXF shows the other side: with a 40% house requirement and a 9% borrow rate, it is already in a margin call at $29.50 (excess −$1,428.12); its call price was $26.10.

Max-loss scenarios: what if the price rises

The Stress test tab holds today's costs fixed and raises each open short's price. Net P/L for the four open example shorts:

Open short (price now)+10%+25%+50%+100%+150%+200%
EXC ($9.80)$532−$203−$1,428−$3,878−$6,328−$8,778
EXD ($71.20)−$2,244−$3,846−$6,516−$11,856−$17,196−$22,536
EXE ($3.10)$664$199−$576−$2,126−$3,676−$5,226
EXF ($29.50)−$2,523−$3,851−$6,063−$10,488−$14,913−$19,338
All 4 open shorts−$3,571−$7,701−$14,583−$28,348−$42,113−$55,878
Shorts in a margin call3 of 43 of 44 of 44 of 44 of 44 of 4

At +100% the four positions lose $28,348 combined, against $27,500 of short proceeds. A long position can lose at most 100% of what you paid; a short loses another 100% of its proceeds every time the price adds the original price again.

Squeeze test: price and borrow rate spike together

The SEC staff report on the January 2021 meme-stock episode describes the mechanism: "A short squeeze might occur when an event triggers short sellers en masse to purchase shares to cover their short positions." It records that "On January 22, 2021, the price of GME rose from $43 to $72 (a 71% increase) in approximately three hours." (SEC Staff Report on Equity and Options Market Structure Conditions in Early 2021, October 14, 2021)

The Squeeze test tab lets you type a path like that. Fictional example: 1,000 shares of "EXQ" shorted at $20.00 on 2026-10-16, Reg T deposit $10,000, borrow rate rising from 8% to 150%:

DateCloseBorrow rateBorrow feeEquityRequirementExcessCheck
2026-10-19$21.008%$14.00$8,986.00$6,300.00$2,686.00OK
2026-10-20$23.0012%$7.67$6,978.33$6,900.00$78.33OK
2026-10-21$26.0020%$14.44$3,963.89$7,800.00−$3,836.11Margin call
2026-10-22$30.0035%$29.17−$65.28$9,000.00−$9,065.28Margin call
2026-10-23$36.0060%$60.00−$6,125.28$10,800.00−$16,925.28Margin call
2026-10-26$44.0090%$330.00−$14,455.28$13,200.00−$27,655.28Margin call
2026-10-27$52.00120%$173.33−$22,628.61$15,600.00−$38,228.61Margin call
2026-10-28$47.00150%$195.83−$17,824.44$14,100.00−$31,924.44Margin call
2026-10-29$40.00150%$166.67−$10,991.11$12,000.00−$22,991.11Margin call
2026-10-30$35.00120%$116.67−$6,107.78$10,500.00−$16,607.78Margin call

The first margin call comes on 2026-10-21 at $26.00, a $3,836.11 deficit, only 30% above the short price. The worst net P/L in the path is −$32,628.61, more than three times the deposit; borrow fees add $1,107.78. Negative equity means losses beyond the deposit: in practice a broker may buy you in long before that.

Borrow fee: 360 or 365 days

Brokers quote an annual rate and accrue it daily. IBKR's article notes that for SharpLink Gaming (SBET) in May 2025 "The borrow fee rate reached 1,000%." It divides by 360 ("1,000% / 360 days") and its example, a $100,000 short at 0.25% costing "$0.69 per day", matches a 360-day year ($100,000 × 0.25% ÷ 360 = $0.69; ÷ 365 would be $0.68). Other brokers or currencies may use 365. The file lets you choose in one cell; 360 gives fees about 1.4% higher than 365. Brokers also charge on each day's marked value and can change the rate daily, so the Trades tab is an estimate on the short sale value. Use the Squeeze test tab, or your broker's statement, when the rate moves.

Tax notes (US)

IRS Publication 550 (2025) covers short sales (IRS Pub 550). Key lines:

Column AH flags each trade with dividends as "Closed within 45 days: add to basis" or "Open 46+ days". It counts calendar days from short to cover and ignores the extraordinary-dividend and hedged-period exceptions. Pub 550 also covers constructive sales when you short a stock you already own at a gain. Ask a tax professional.

Common mistakes

Limits

No live prices: you type them. Margin is calculated per position, while brokers calculate it for the whole account, including other holdings, the $2,000 minimum and their own house rules. The interest some brokers pay on short proceeds (short credit or rebate) is not included. Borrow fees use one rate per trade. US rules only (Reg T, FINRA, IRS). Amounts are in one currency.

FAQ

How do you calculate profit on a short sale?

Profit = shares × (short price − cover price) − commissions − borrow fees − dividends owed to the lender. In the example, 200 shares shorted at $48.00 and covered at $41.50 make $1,300.00 before costs; after $10 of fees, a $5.87 borrow fee and $50.00 of dividends the net is $1,234.13.

How is the stock borrow fee calculated?

Brokers quote the borrow fee as an annual rate and charge it every calendar day you hold the short. A simple estimate is position value × annual rate × days ÷ 360 (or 365, depending on the broker). IBKR's example: a $100,000 short at 0.25% costs $0.69 a day, which matches a 360-day year. The same article describes a stock whose borrow rate reached 1,000% in May 2025, about 3% of the position value per day.

What is the margin requirement for short selling?

Regulation T sets the initial requirement for a short sale at 150% of the stock's market value: the sale proceeds (100%) plus a 50% deposit. FINRA Rule 4210 then sets the maintenance minimum: for a short stock at $5 or more, the greater of $5.00 per share or 30% of market value; under $5, the greater of $2.50 per share or 100%. Brokers can require more.

At what price will a short position get a margin call?

When equity (proceeds + deposit − current value − costs) falls below the maintenance requirement. With FINRA's 30% for a stock at $5 or more, the call price is the lower of k ÷ 1.30 and k − $5, where k is proceeds plus deposit minus costs, per share. Example: 150 shares shorted at $64 with a 50% deposit and $95.67 of costs gives k = $95.36, so a call at about $73.36.

Do you have to pay dividends when you short a stock?

Yes. Investor.gov says: "If the stock you borrow pays a dividend, you must pay the dividend to the person or firm making the loan." For taxes, IRS Publication 550 says these payments in lieu of dividends are deductible as investment interest only if the short stays open at least 46 days and you itemize; if you close by day 45, you add them to the basis instead.

How much can you lose short selling?

There is no cap. Investor.gov notes that shorting "leaves an investor open to the possibility of unlimited losses, since a stock can theoretically keep rising indefinitely." In the example, the four open shorts would lose a combined $28,348 if each price doubled, and all four would be in a margin call.

Related tools and templates

Educational template only, not investment, tax or legal advice. Short selling can lose more than the money you deposit. Example data is fictional: tickers EXA to EXF and EXQ, prices, dates and rates are made up to show the formulas and are not market data. Sources: Investor.gov (investor.gov); SEC, Key Points About Regulation SHO (sec.gov); Regulation T, 12 CFR 220.12 (ecfr.gov); FINRA Rule 4210 (finra.org); IRS Publication 550 (irs.gov); IBKR Traders' Insight (interactivebrokers.com); SEC Staff Report, October 2021 (sec.gov). Retrieved 11 November 2026.