Trading & Investing
How To Calculate Trading Profit
Your edge in a trade is the price move minus friction. Fees, spreads and funding quietly shrink every trade, so a small directional move can still lose money after costs are counted.
Quick Answer
Net = (Exit - Entry) x Qty x Direction - (Entry x Qty + Exit x Qty) x Fee rate
- Entry
- Price the trade was opened at
- Exit
- Price the trade was closed at
- Qty
- Units traded
- Fee rate
- Commission charged on each side
Work out the gross profit from the price move and the quantity, then subtract the fee charged on both the entry and the exit notional. Long ten shares from 100 to 110 with a 0.1 percent fee nets 97.90 on 1,000 of capital.
What Is Trading Profit?
Trading profit is the money a trade makes after the cost of putting it on and taking it off. The gross figure is the price move multiplied by the quantity, and the net figure subtracts the fees charged on both sides.
A long trade profits when the exit price is above the entry price. The gross profit is the difference multiplied by the quantity, and it grows linearly with the size of the position.
A short trade profits when the exit price is below the entry price. The trader sells first and buys back later, so the profit is the entry price minus the exit price, multiplied by the quantity.
The fee is charged on both the entry and the exit notional, which is the price multiplied by the quantity on each side. Writing it as the fee rate times the sum of the two notionals is the same as charging it twice, and it is the reason fees bite harder than traders expect.
Net profit is the gross profit minus the fees. It is the figure that actually changes the account balance, and it is the figure that should be recorded rather than the gross.
Return on capital expresses the net profit as a percentage of the capital committed, which is the entry price multiplied by the quantity. It allows trades of different sizes to be compared fairly.
Spread is a hidden cost that behaves like a fee. The bid-ask gap is paid on entry, and on a liquid instrument it is small, but on an illiquid one it can exceed the commission.
Funding or financing costs apply when a leveraged position is held overnight. On a multi-day trade the accumulated financing can outweigh the price move, turning an apparently profitable direction into a loss.
Position size is the biggest lever on both profit and risk. Doubling the quantity doubles the gross profit and the fee, but it also doubles the loss if the price moves against the position, which is why sizing is the first risk decision.
The break-even move is the price change needed to cover the round-trip fee. It is the fee divided by the quantity, added to the entry price for a long or subtracted for a short, and it is the hurdle every trade must clear.
Traders often quote gross profit because it flatters the result. Recording net profit and return on capital gives an honest picture of whether a strategy is worth running after costs.
A trader who measures only the win rate is measuring the wrong thing. A strategy that wins six trades out of ten but pays a fee on every one can lose money, while a strategy that wins four out of ten with larger winners and the same fee can be profitable. Net profit per trade is what settles the question.
Recording the net result of every trade, rather than the gross, builds the only reliable picture of whether an approach works. Over a hundred trades the fee drag compounds, and a strategy that looked marginally profitable on gross figures often turns out to be a net loser once the costs are counted.
The calculator models the figures entered and nothing more. It does not know the spread, the financing or the tax treatment. Treat the output as the profit after the stated fee and adjust for the other costs separately.
Formula
Gross = (Exit - Entry) x Qty x Direction
The price move multiplied by the size, signed by direction.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| E | Entry price | currency | Price the trade was opened at. |
| X | Exit price | currency | Price the trade was closed at. |
| Q | Quantity | count | Units traded. |
| d | Direction | count | Plus one for long, minus one for short. |
Fees = (Entry x Qty + Exit x Qty) x Fee rate
The commission is charged on both sides of the trade.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| E | Entry price | currency | Price the trade was opened at. |
| X | Exit price | currency | Price the trade was closed at. |
| Q | Quantity | count | Units traded. |
| r | Fee rate | rate | Commission per side. |
Net = Gross - Fees; Return = Net / (Entry x Qty)
The realised profit and its return on the capital committed.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| G | Gross profit | currency | Profit before fees. |
| F | Fees | currency | Commission on both sides. |
| E | Entry price | currency | Price the trade was opened at. |
| Q | Quantity | count | Units traded. |
How To Calculate Trading Profit
- 1
Find the price move
Subtract the entry from the exit for a long, or the other way round for a short.
- 2
Multiply by the quantity
The price move times the number of units gives the gross profit.
- 3
Work out the fees
Apply the fee rate to the sum of the entry notional and the exit notional.
- 4
Subtract to get net profit
Take the fees off the gross profit to reach the net result.
- 5
Divide by capital for the return
The net profit divided by the entry notional is the return on capital.
Examples
Example 1: Long 10 units, 0.1 percent fee
- Direction
- Long
- Entry price
- 100
- Exit price
- 110
- Quantity
- 10
- Trade fee
- 0.1%
| Step | Calculation | Result |
|---|---|---|
| Gross profit | (110 - 100) x 10 | 100 |
| Total fees | (1,000 + 1,100) x 0.001 | 2.1 |
| Net profit | 100 - 2.1 | 97.9 |
| Return on capital | 97.9 / 1,000 | 0.0979 |
| Capital committed | 100 x 10 | 1000 |
Result: The gross profit is 100, the fees are 2.1, so the net profit is 97.9 on 1000 of capital, a return of 0.0979 or about 9.79 percent.
Example 2: Short 100 units into a fall
- Direction
- Short
- Entry price
- 50
- Exit price
- 47
- Quantity
- 100
- Trade fee
- 0.1%
| Step | Calculation | Result |
|---|---|---|
| Gross profit | (50 - 47) x 100 | 300 |
| Total fees | (5,000 + 4,700) x 0.001 | 9.7 |
| Net profit | 300 - 9.7 | 290.3 |
| Return on capital | 290.3 / 5,000 | 0.05806 |
| Capital committed | 50 x 100 | 5000 |
Result: Selling at 50 and buying back at 47 earns 300 gross, and after 9.7 of fees the net profit is 290.3 on 5000 of capital, a return of 0.05806 or about 5.81 percent.
Calculator
Net profit
$97.90
- Gross profit
- $100.00
- Total fees
- $2.10
- Return on capital
- 9.79%
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the Trading Profit calculator page.
Common Mistakes
Quoting gross profit as the result
Gross profit ignores the fee charged on both sides. The net figure is what actually reaches the account and it can be materially smaller.
Charging the fee on one side only
Both the entry and the exit notional are charged. Applying the rate once understates the cost and overstates the return.
Forgetting the spread
The bid-ask gap is a cost paid on entry. On an illiquid instrument it can be larger than the commission and it never appears on a fee statement.
Holding a leveraged position without counting financing
Overnight funding accrues on a leveraged position. On a multi-day trade the accumulated financing can exceed the price move.
Reversing the sign on a short
A short profits when the price falls. Applying the long formula to a short trade flips the sign of the result.
Sizing the position before defining the risk
The quantity determines both the profit and the loss. Choosing it from the margin available rather than the acceptable loss is the fastest way to blow up an account.
Ignoring the break-even move
Every trade has to clear the round-trip fee before it makes anything. Not knowing that hurdle leads to overtrading on moves that cannot pay for themselves.
FAQ
Are trading fees charged on both sides?
Typically yes. The commission is charged when the position is opened and again when it is closed, so the rate applies to both the entry and the exit notional.
How is return on capital different from profit?
Profit is the absolute money gained. Return on capital expresses it as a percentage of the entry notional, which makes trades of different sizes comparable.
What is the break-even move?
It is the price change needed to cover the round-trip fee. Divide the total fee by the quantity and add it to the entry price for a long, or subtract it for a short.
Does this work for crypto as well as stocks?
Yes. Any instrument priced per unit and traded in a quantity fits the same formula, whether it is a share, a coin or a contract.
Why does my realised return differ from the calculator?
The model uses the prices and fee you enter. Slippage on the fill, funding costs and any tier discount on the fee all move the realised figure.
How do I reduce the fee drag?
Trade larger positions less often, use limit orders where maker fees are lower, and choose a broker or exchange with a rate that suits your volume tier.
References
- [1]Investopedia, Maker and taker fees — https://www.investopedia.com/terms/m/maker-taker-fee.asp
- [2]Investopedia, Bid-ask spread — https://www.investopedia.com/terms/b/bid-askspread.asp
- [3]FINRA, Margin and financing costs — https://www.finra.org/investors/learn-to-invest/advanced-investing/margin