Short positions profit when prices fall, which means the standard profit formula that portfolio apps use produces exactly the wrong number for a short. This guide shows you how to track shorts and longs together correctly, where to place stop-losses above your entry, and why most tracking tools quietly break when you go short.
What is a short position and why does its P&L invert?
A short position is a trade where you borrow and sell an asset you don't own, aiming to buy it back later at a lower price and keep the difference. Your profit and loss inverts compared to a long position: you make money when the price drops and lose money when it rises.
This inversion is the single reason most trackers get shorts wrong. The standard long formula is (current price - entry price) x quantity. For a short, the correct formula is the mirror image: (entry price - current price) x quantity.
Plug real numbers in and the problem is obvious. If you short TSLA at $250 and it drops to $220:
- Correct short P&L: ($250 - $220) x 100 shares = +$3,000 profit
- What a long-only app shows: ($220 - $250) x 100 = -$3,000 loss
Same trade, same win, opposite sign. An app that doesn't know the position is short will tell you you're bleeding money while you're actually up 12%.
Why do most portfolio apps treat shorts like longs?
Most portfolio apps treat shorts like longs because they were built around a single assumption: quantity is always positive and you always want the price to go up. Their entire P&L engine hard-codes the long formula, so a short trade just doesn't fit.
You'll see this break in a few predictable ways:
- Sign errors: gains show as losses and vice versa, as in the TSLA example above.
- Negative quantity confusion: some apps store shorts as -100 shares but then still apply the long formula, doubling the error.
- Broken cost basis: the app can't compute a weighted average when you add to a short at a higher price.
- Wrong portfolio weight: a short counts as negative exposure, but many apps add its absolute value to your total, inflating your book size.
Broker apps are usually fine because they know the position type from your fill data. The gaps appear when you use a third-party aggregator or a spreadsheet. If you're weighing your options there, our breakdown of a portfolio tracker versus a spreadsheet covers where manual formulas fall apart.
How do you calculate short position P&L correctly?
To calculate short P&L correctly, subtract the current price from your entry price, then multiply by quantity. The key is that your entry is the price you sold at, and your goal is to buy back lower.
The short P&L formula in plain terms
- Unrealized P&L = (average short entry price - current market price) x shares
- Realized P&L = (average short entry price - buy-to-cover price) x shares
- Percent return = P&L divided by the capital or margin committed, not the notional value
A worked example with two entries
Say you short EMAAR.AE in two tranches: 1,000 shares at AED 8.00, then 500 shares at AED 8.40 after it rallied against you. Your weighted average entry is (1,000 x 8.00 + 500 x 8.40) / 1,500 = AED 8.13.
If the price then falls to AED 7.50, your P&L is (8.13 - 7.50) x 1,500 = +AED 945. A long-only app would report a loss of the same amount. PortfolioTrackr stores the position direction as part of the trade, so the weighted average and the sign both stay correct across multiple entries.
Where do you place a stop-loss on a short position?
On a short position, your stop-loss sits above your entry price, not below it, because your risk is the price rising. This is the exact inverse of a long, where the stop sits below entry.
Getting this backward is one of the most expensive mistakes in short selling. Place the stop below entry and you've built a position with unlimited theoretical risk and no protection at all.
Long versus short stop-loss placement
| Parameter | Long position | Short position |
|---|---|---|
| Profit when price | Rises | Falls |
| Stop-loss goes | Below entry | Above entry |
| Take-profit goes | Above entry | Below entry |
| Max loss | Capped at 100% | Theoretically unlimited |
Because the downside on a short is uncapped, position sizing and stop discipline matter more than on any long. A common approach is to size so that a stop hit 2% above entry costs no more than 1% of portfolio equity.
How do shorts change your true portfolio exposure?
Shorts reduce your net market exposure, which is why treating them as positive holdings distorts your risk picture. A short is negative exposure: it moves opposite to the market and can hedge your longs.
Consider a book with $100,000 long and $30,000 short:
- Gross exposure = $100,000 + $30,000 = $130,000 (total capital at work)
- Net exposure = $100,000 - $30,000 = $70,000 (your real directional bet)
An app that adds shorts as positives would show $130,000 net long, nearly double your actual directional risk. That single number drives how much a market drop can hurt you, so getting it wrong means you're flying blind on your biggest risk. Our guide to tracking leverage and preventing liquidations goes deeper on gross versus net when derivatives and margin are involved.
Do shorts work the same across stocks, crypto, and UAE markets?
The P&L math is identical across asset classes, but the mechanics and availability differ sharply between US stocks, crypto, and UAE markets. Direction inversion and stop placement never change; how you actually open the short does.
US stocks
US equity shorts run through a margin account with a stock loan. US stocks settle T+1 since May 2024, and you'll pay borrow fees plus any dividends owed to the lender while short. Hard-to-borrow names carry high borrow rates that eat into P&L daily.
Crypto
Crypto shorts usually happen through perpetual futures or margin on venues like Binance. You pay or receive a funding rate every 8 hours, and liquidation risk is real because leverage is common. Tracking these alongside spot holdings is covered in our piece on managing crypto and energy stock risk.
UAE markets (ADX and DFM)
Covered short selling on the Abu Dhabi Securities Exchange and the Dubai Financial Market is regulated by the Securities and Commodities Authority and is limited to approved securities and market makers. Retail short access is far narrower than in US markets, so most UAE investors hedge with regional ETFs instead.
How does PortfolioTrackr handle long and short positions together?
PortfolioTrackr stores each position's direction as a first-class attribute, so a short's P&L, cost basis, and exposure all compute with the correct sign automatically. You never have to flip numbers by hand or fake a short with negative quantity.
In practice that means:
- Correct P&L inversion: a short showing green when the underlying falls, red when it rises.
- Net and gross exposure shown separately, so you see your real directional bet at a glance.
- Stop-loss alerts above entry for shorts and below entry for longs, with no manual toggling.
- Blended tracking across brokers and venues, so a short on Interactive Brokers and a long on Alpaca live in one view.
If you hold positions across multiple accounts, start by reading how to connect your brokerage account to a portfolio tracker so both sides of your book sync automatically.
The bottom line
A short position profits when prices fall, so its P&L must invert and its stop-loss must sit above entry. Most portfolio apps hard-code the long-only formula and quietly report your winning shorts as losses, while inflating your true exposure.
Before you run a mixed long-short book, confirm your tracker understands position direction, separates net from gross exposure, and places stops on the correct side. Get those three things right and shorts become a controlled tool rather than a hidden liability.
Find out what you are actually exposed to
Sector and currency concentration across every account you hold, benchmarked against the S&P 500, NASDAQ and gold.
Check My Exposure See the live demo first →Frequently asked questions
Why does my portfolio app show my short as a loss when I'm profitable?
Because the app applies the long-only P&L formula, which subtracts your entry from the current price. For a short you must reverse it: entry minus current price. Apps that don't store position direction produce a sign error, showing your gains as losses and vice versa.
Where should I put a stop-loss on a short position?
Place your stop-loss above your entry price on a short, since your risk is the price rising. This is the exact inverse of a long, where the stop sits below entry. A common rule is to set it so a stop hit costs no more than 1% of portfolio equity.
How do I calculate profit on a short sale?
Subtract the current or buy-to-cover price from your average short entry price, then multiply by shares. Shorting 100 TSLA at $250 and covering at $220 gives (250 - 220) x 100 = $3,000 profit. Percent return is measured against margin committed, not notional value.
Does PortfolioTrackr track short positions correctly?
Yes. PortfolioTrackr stores each position's direction as a first-class attribute, so short P&L, cost basis, and exposure all compute with the correct sign automatically. It also shows net and gross exposure separately and places stop-loss alerts above entry for shorts, no manual number-flipping required.
What is the difference between net and gross exposure with shorts?
Gross exposure adds all long and short positions together as absolute values, showing total capital at work. Net exposure subtracts shorts from longs, revealing your real directional bet. A $100,000 long and $30,000 short book has $130,000 gross but only $70,000 net exposure.
