TradingCalculated
Calculations run privately in your browser
Direction
Entry fee
%
Exit fee
%
Funding, other costs, multiplier & account
USD
USD
Net profit / loss+$97.90+9.79% on position value
Gross P/L+$100.00before costs
Total costs$2.10entry $1.00 · exit $1.10
Break-even exit100.2002price that covers all costs
Net P/L per unit+$9.79
Price change+10%in your favour
This trade nets $97.90 after $2.10 of costs. Price has to reach 100.2002 just to cover costs — 0.2% away from your entry. Add your account balance to see the result as a share of your account.
P/L across exit prices
Net P/LGross P/L
110 → +$97.90
What if you exited at a different price?
+$37.96
+3.8% · costs $2.04
+$97.90
+9.79% · costs $2.10
+$247.75
+24.78% · costs $2.25

Scenarios are prices you choose to compare — they are not forecasts.

Not financial advice. Results are estimates based on the values you enter and simplified assumptions; real trades are affected by fees, slippage, gaps and other factors. Trading involves substantial risk of loss. Read the full disclaimer.

How trading profit and loss is calculated

Profit or loss starts with the price change multiplied by your position size. A long position profits when the exit price is above the entry; a short position profits when it is below. That is the gross P/L.

Then come the costs: commissions or exchange fees on the way in and out, funding or swap charges for holding the position, and anything else your broker bills. Subtract them and you have net P/L — the number that actually changes your account balance.

Profit and loss formulas

Long gross P/L = (Exit − Entry) × Quantity × Multiplier Short gross P/L = (Entry − Exit) × Quantity × Multiplier Percentage fee = Fee % × Price × Quantity × Multiplier (per side) Net P/L = Gross P/L − Entry fee − Exit fee − Funding − Other costs Return on position = Net P/L ÷ Entry value

Percentage fees are charged on the value of each transaction, so the exit fee depends on the exit price. The calculator accounts for this when it solves for the break-even price.

Worked example

  1. Buy 10 shares at 100 → entry value 1,000. Sell at 110 → exit value 1,100.
  2. Gross profit = (110 − 100) × 10 = 100.
  3. Fees of 0.1% per side: 1.00 on entry and 1.10 on exit.
  4. Net profit = 100 − 2.10 = 97.90, a 9.79% return on the position's value.

Short example: sell 10 at 100 and buy back at 90 — gross profit is (100 − 90) × 10 = 100. The formula is mirrored, the result has the same size.

Break-even price

Because you pay costs in both directions, price must move slightly in your favour before a trade is profitable. The break-even exit price solves the net P/L equation for zero:

Long: Break-even = (Entry × Units + Fixed costs) ÷ (Units × (1 − Exit fee %)) Short: Break-even = (Entry × Units − Fixed costs) ÷ (Units × (1 + Exit fee %))

“Fixed costs” are the entry fee, any fixed exit fee, funding and other costs. On the chart above, the break-even line shows exactly where the net P/L curve crosses zero.

Return on position vs return on account

A 10% gain on a position is not a 10% gain on your account. If the position was worth 2,000 in a 20,000 account, a 10% move adds 200 — a 1% account return. Leveraged positions work the other way: a 2% move on a position worth five times your account is a 10% account move.

Enter your account balance in the optional section to see both numbers. For planning how large the position should be in the first place, use the position size calculator.

Common P/L calculation mistakes

  • Forgetting the exit fee. Many traders only count the commission shown at entry. Round-trip costs are what matter.
  • Ignoring funding on held positions. Perpetual futures funding, overnight swaps and short borrow fees accumulate. On multi-week trades they can exceed trading fees.
  • Computing short P/L like a long. For a short, a falling price is profit. Using exit − entry gives the right size with the wrong sign.
  • Measuring returns against the wrong base. Report account return when comparing to benchmarks; report return on position when comparing trades.
Risk Management

Risk/Reward Ratio Calculator

Compare a trade's potential reward with its risk and see the win rate you need to break even.

Entry 100 · Stop 95 · Target 110 → 1:2
Risk Management

R-Multiple Calculator

Express any trade result in units of initial risk and analyse a series of trades in R.

Risk $100 · Profit $300 → +3R
Performance & Returns

Compound Growth Calculator

Model how repeated gains, losses, risk per trade and deposits shape your equity curve over time.

$1,000 · +1% × 10 trades → $1,104.62

Learn the concepts

Profit & Loss calculator FAQ

Does this work as a crypto or stock profit calculator?

Yes. For stocks and spot crypto, leave the contract multiplier at 1 and enter the number of shares or coins. For futures, set the multiplier to the contract's value per point. For forex, enter the position in units (100,000 per standard lot); the P/L will be in the pair's quote currency.

How do maker and taker fees fit in?

Enter the rate that applied to each side. If you entered with a limit order (maker) and exited with a market order (taker), use the maker rate as the entry fee and the taker rate as the exit fee.

Why is my net P/L negative when price moved my way?

The move was smaller than your round-trip costs. The break-even price shows how far price needs to travel just to cover fees. Very short-term trades on small moves are most exposed to this.

Should funding be entered as a cost or a credit?

Enter money you paid as a positive number. If you received funding or swap (for example, positive carry), enter it as a negative number and it will increase net P/L.