Shorting Profit Calculator
A shorting profit calculator has to do more than (sell price − buy price) × shares, because a short sale carries costs that a long trade never sees. You borrow shares and sell them, hoping to buy them back cheaper later, but while you wait you pay borrow fees (the stock-loan rate), margin interest on your deposit, and dividends in lieu if the company pays out. This tool nets all of it out: gross profit, each cost line, true net P&L, return on your margin deposit, and the break-even cover price.
The worked example below follows a real trade structure: short 100 shares at $50, cover at $42 after 30 days, and the $800 of gross profit becomes $746.57 once costs are subtracted. To isolate just the stock-loan fee, use our stock borrow fee calculator; and before you short anything heavily shorted, read how squeezes work in our short squeeze calculator guide. Shorting can lose more than you put in: treat the risk section below as required reading.
Gross minus borrow fees, margin interest, and dividends: your true short P&L
Estimates for planning purposes. Verify figures with your processor agreement and accountant before making business decisions.
Quick Answer
💡 Key takeaways
- Short profit is (short price − cover price) × shares − borrow fee − margin interest − dividends − commissions. The costs are the part everyone forgets.
- Break-even = short price − (total costs ÷ shares): the single most useful number in the trade.
- Borrow rates are variable and can spike on heavily shorted names; treat any estimate as a snapshot.
- Losses are theoretically unlimited: a stock can rise without bound, and margin calls can force you out at the worst moment.
- Quick Answer
- How a short sale actually works
- The costs most traders forget to subtract
- Entering your trade’s real numbers
- Worked example: short 100 shares at $50, cover at $42
- What competing shorting calculators miss
- The risks no calculator can price
- Frequently Asked Questions
- Add This Calculator to Your Website
- References
How a short sale actually works
A short sale runs a normal trade in reverse. You borrow shares from your broker and sell them immediately at the market price, pocketing the proceeds. Later you buy the same shares back (covering) and return them to the lender. If the price fell, you bought back cheaper and kept the difference; if it rose, you pay more to return what you borrowed and eat the loss.
The headline math is simple: (short price − cover price) × shares. The part most calculators skip is everything that happens between those two prices: the daily cost of borrowing the shares, the interest on your margin deposit, and any dividends you owe the lender. Those carrying costs are subtracted from the gross to reach your true net.
The costs most traders forget to subtract
Borrow fee: the annualized stock-loan rate applied daily to the position value. Easy-to-borrow large caps run under 1%; hard-to-borrow names can exceed 50% annualized, and the rate can change while you hold. Formula: position value × annual rate × days ÷ 365. Margin interest: your broker charges interest on the margin deposit (typically 50% of the position under Regulation T), accruing daily the same way.
Dividends in lieu: if the company pays a dividend while you are short, the lender gets it and you pay an equal amount out of pocket, without the tax treatment of a real dividend. Commissions apply on both legs. Together these often exceed the borrow fee itself, which is why shorts that look cheap on rate alone still lose money.
Entering your trade’s real numbers
Enter the shares, your short sale price, and the cover price you are modeling (use the current market price to see unrealized P&L on an open position). Set the annual borrow rate from your broker’s stock-loan list, the days held, your broker’s margin interest rate, and the margin deposit percentage (50% is the Regulation T standard). Add dividends per share for any payout during the hold and your commissions.
The tool shows net P&L front and center, with gross P&L, borrow cost, total costs, return on your margin deposit, break-even cover price, and the deposit itself. The verdict is honest: green only when the trade truly profits after every cost.
Worked example: short 100 shares at $50, cover at $42
Short 100 shares at $50 (proceeds $5,000), cover at $42 after 30 days, with an 8% annual borrow rate, 10% margin interest on a 50% ($2,500) deposit, no dividends, and no commissions. The tool returns:
- Gross profit: ($50 − $42) × 100 = $800.00
- Borrow cost: $5,000 × 8% × 30 ÷ 365 = $32.88
- Margin interest: $2,500 × 10% × 30 ÷ 365 = $20.55
- Total costs: $53.43
- Net profit: $800.00 − $53.43 = $746.57
- Return on margin: $746.57 ÷ $2,500 = 29.9%
- Break-even cover price: $50 − ($53.43 ÷ 100) = $49.47
Those are the tool’s exact outputs for those inputs. Note how the return on margin (29.9%) tells a different story than the raw $800: leverage magnifies both the win and the risk.
| Cost line | Amount | Share of costs |
|---|---|---|
| Borrow fee (8% × 30 days) | $32.88 | 61.5% |
| Margin interest (10% × 30 days) | $20.55 | 38.5% |
| Dividends in lieu | $0.00 | 0% |
| Commissions | $0.00 | 0% |
| Total carrying costs | $53.43 | 100% |
What competing shorting calculators miss
Most short-profit tools compute (entry − exit) × shares and stop, which is the gross, not your profit. The better ones add a borrow-fee field and stop there, leaving out margin interest and dividends in lieu entirely. Almost none show the break-even cover price, which is the single number a short seller actually needs: cover below it and you profit, above it and you lose, regardless of how the gross looked.
This calculator includes every carrying-cost line, computes return on the capital you actually tied up (far more useful than raw dollars), and derives the break-even price from your real costs. It also annualizes nothing it should not: borrow and margin interest accrue daily on the rates you enter, using the 365-day convention most brokers apply.
The risks no calculator can price
Unlimited loss potential is the defining risk: a long position can only go to zero, but a shorted stock can rise without bound. Short squeezes turn that theory into practice: rapid buying forces shorts to cover at much higher prices, amplifying losses in hours. Margin calls can force you to deposit more cash or be liquidated at the worst moment. Share recall lets the lender demand the shares back whenever they want. And borrow rates can spike mid-trade on crowded shorts.
The practical defenses: size positions so a squeeze cannot ruin you, use stop discipline, avoid shorting heavily-shorted names without a specific edge, and never short on margin you cannot afford to top up. Compare the risk-adjusted picture with simply going long using our stocks return calculator before committing capital.
Frequently Asked Questions
Net P&L = (short price − cover price) × shares − borrow fee − margin interest − dividends in lieu − commissions. The gross is just the price difference; the carrying costs are subtracted to reach what you actually keep. Divide the net by your margin deposit for the return on capital.
Three main costs: the borrow fee (annualized stock-loan rate, under 1% for easy-to-borrow names, 50%+ for hard-to-borrow), margin interest on your deposit, and dividends in lieu of any payout while short, plus commissions. Borrow rates are variable and accrue daily.
Short price minus (total costs ÷ shares). In the worked example, $50 − ($53.43 ÷ 100) = $49.47: cover below $49.47 to profit, above it to lose. It is the most useful single number in the trade because it folds every cost into one price.
Yes. A long position’s worst case is −100%, but a shorted stock can rise without limit, so losses are theoretically unlimited. Brokers protect themselves with margin calls and forced liquidation, which is why position sizing and stop discipline matter more in shorting than in any long trade.
Yes. The share lender is entitled to the dividend, so you pay them an equal amount called a payment in lieu of dividends. It comes out of your pocket and does not get the favorable tax treatment of a qualified dividend.
A rapid price spike that forces short sellers to buy back shares (cover) at much higher prices, which pushes the price higher still in a feedback loop. Heavily shorted stocks with high borrow fees are the most squeeze-prone. Our short squeeze calculator guide explains the mechanics and warning signs.
Short-sale gains and losses are generally treated as short-term capital gains or losses regardless of holding period, and special rules (like the IRS wash-sale and straddle rules) can apply. The IRS Topic 429 on traders in securities covers the details; confirm your situation with a tax professional.
References
- Webull. Interest and Short Selling Fees. Accessed October 18, 2026.
- FasterCapital. Borrow Fee Rate: Calculating the Cost of Short Selling. Accessed October 18, 2026.
- U.S. Securities and Exchange Commission. Regulation SHO (short sale regulation). Accessed October 18, 2026.
- FINRA. Margin Accounts. Accessed October 18, 2026.
- Investor.gov (SEC). Stocks. Accessed October 18, 2026.
- FINRA. Rule 4210: Margin Requirements. Accessed October 18, 2026.
- U.S. Securities and Exchange Commission. Margin: Borrowing Money to Pay for Stocks. Accessed October 18, 2026.
- Internal Revenue Service. Topic 429: Traders in Securities. Accessed October 18, 2026.
- Investopedia. Short Selling: Definition, Pros, Cons, and Examples. Accessed October 18, 2026.
- Investopedia. Short Squeeze. Accessed October 18, 2026.
