Short Selling Profit Calculator
Compute the profit or loss of a short sale from the entry and exit prices, commissions, borrow fee and days held.
What this page does
A short sale profits when the exit price is below the entry price, after two commissions and the fee for borrowing the shares.
How to use it
Enter this sample with the defaults shown:
500
Press Run. The page gives:
Position: 500.0000 shares at 60.00 = 30000.00
Exit: 45.00 per share
Gross: 7500.00 before costs
Costs: 10.00 commission (2 trades) + 147.95 borrow fee
Net: 7342.05
On margin: 48.947 % on 15000.00 of margin
Basis: borrow fee on the position value for 90 days over a 365-day year; no dividends paid to the lender
Risk: a short position loses without a floor as the price rises
The formula and its basis
Gross = (entry − exit) × shares; net = gross − 2 × commission − entry × shares × borrow rate × days ÷ 365.
The borrow fee is an annual percentage charged on the position value over a 365-day year; commissions are flat per trade.
What it is not
It is arithmetic on the numbers you enter, not financial advice: no product, rate or course of action is recommended. Nothing is uploaded, stored or logged.
A short sale profits when the exit price is below the entry price, after two commissions and the fee for borrowing the shares.
The rule this page applies: Gross = (entry − exit) × shares; net = gross − 2 × commission − entry × shares × borrow rate × days ÷ 365.
Basis: The borrow fee is an annual percentage charged on the position value over a 365-day year; commissions are flat per trade.
Worked example: the sample values below, with the defaults, give exactly the output recorded in What to Expect.
How to use the Short Selling Profit Calculator
Enter shares sold short in the box, set the options beside it, then press Run. The answer appears beside the form and re-runs on the same input.
Every number in the answer follows from your inputs and the assumptions stated below; the page does not choose a rate for you.
The worked example uses "500" with the defaults shown, and its exact output is printed in What to Expect.
The formula, its basis and its refusals
Gross = (entry − exit) × shares; net = gross − 2 × commission − entry × shares × borrow rate × days ÷ 365.
The borrow fee is an annual percentage charged on the position value over a 365-day year; commissions are flat per trade. Money prints to two decimals, percentages to four, and intermediate values are never rounded.
It refuses zero or negative shares and prices, negative commissions or days, a margin of zero, and any borrow fee at or below −100 %.
What this page is not
It is arithmetic on the numbers you enter, with each assumption stated. It does not recommend a product, a rate or a course of action.
Where the tool is the wrong choice: Modelling margin calls; Dividends owed to the share lender, which are not included.
What to Expect
Best for
- Checking the real cost of a short position
- Comparing a short idea's profit with its borrow cost
Not ideal for
- Modelling margin calls
- Dividends owed to the share lender, which are not included
What this tool keeps
- The numbers exactly as you entered them
- The same answer on every run
- Nothing sent, stored or logged
What may need cleanup
- Rates entered as fractions rather than percentages: enter 5 for 5 %
- A currency symbol pasted beside a number, which the page refuses by name
Common errors
- It refuses zero or negative shares and prices, negative commissions or days, a margin of zero, and any borrow fee at or below −100 %.
- A non-numeric value, which the page names rather than silently treating as zero
Example use cases
- Reviewing a closed short position
- Costing a hedge held for a quarter
Sample input
500
Sample output
Position: 500.0000 shares at 60.00 = 30000.00 Exit: 45.00 per share Gross: 7500.00 before costs Costs: 10.00 commission (2 trades) + 147.95 borrow fee Net: 7342.05 On margin: 48.947 % on 15000.00 of margin Basis: borrow fee on the position value for 90 days over a 365-day year; no dividends paid to the lender Risk: a short position loses without a floor as the price rises
Who this is for
- investors
- students
Frequently asked questions
What formula does this page use?
Gross = (entry − exit) × shares; net = gross − 2 × commission − entry × shares × borrow rate × days ÷ 365.
What does it refuse?
It refuses zero or negative shares and prices, negative commissions or days, a margin of zero, and any borrow fee at or below −100 %.
Is this financial advice?
It is arithmetic on the numbers you enter, with each assumption stated. It does not recommend a product, a rate or a course of action.
What rate basis and rounding does it use?
The borrow fee is an annual percentage charged on the position value over a 365-day year; commissions are flat per trade. Money prints to two decimals, percentages to four, and intermediate values are never rounded.
Why two commissions?
A short sale is two trades: selling the borrowed shares and later buying them back. Each is charged, so the page applies the commission twice.
What is not included?
Dividends paid to the lender while the position is open, margin interest, and any locate fee. The page names the omissions because they can exceed the borrow fee itself.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.