# Profit and loss calculator

> Work out the net profit or loss on a long or short trade from entry, exit, quantity and fees, with the return as a share of position value at entry.

Source page: https://tickandpip.com/tools/profit-loss-calculator/

Updated 24 Nov 2026 · Free, no sign-up · Inputs stay in your browser

**In short** A profit and loss calculator measures what a trade made or lost. For a long trade, P/L equals exit price minus entry price, times quantity, minus fees. For a short trade the price difference is reversed. The result is in the currency the price is quoted in.

## Calculator

Profit or loss from entry, exit and size, with fees.

Calculations are for information only and are not a recommendation to trade.

## Formula

- Long P/L = (exit − entry) × quantity − fees
- Short P/L = (entry − exit) × quantity − fees
- Return % = net P/L ÷ (entry × quantity)

## Worked example

- **Direction:** Long
- **Entry price:** 100
- **Exit price:** 110
- **Quantity:** 10 units
- **Total fees:** 0

1. Gross P/L = (110 − 100) × 10 = +100.00
2. Net P/L = 100.00 − 0 fees = +100.00
3. Return = 100 ÷ (100 × 10) = +10.00% of position value

Net profit = +100.00 (+10.00% of position value)

## Units and currency

The result is in the currency the price is quoted in. Shares priced in USD give P/L in USD. For forex, quantity is in units and P/L comes out in the quote currency, so a EUR/USD trade shows USD.

Futures P/L is ticks times tick value, which the futures tick value calculator covers.

## Fees and percentages

The fees field takes total costs for both sides of the trade, including commission and any financing. The tool subtracts them from gross P/L.

The percentage is measured against position value at entry, without leverage. On a leveraged account, the change relative to margin or equity is larger.

A loss shows with a minus sign. When fees exceed the gross profit, the net result is negative even on a trade where price moved in its favor.

## Frequently asked questions

### How do you calculate profit on a trade?

Subtract the entry price from the exit price and multiply by the quantity. Then subtract fees. Buying 10 units at 100 and selling at 110 gives (110 − 100) × 10 = 100 before costs.

### How is profit calculated on a short trade?

A short profits when price falls. Profit equals entry price minus exit price, times quantity, minus fees. Selling 10 units at 110 and buying them back at 100 gives a profit of 100 before costs.

### How do I get forex profit in my account currency?

A profit and loss calculator returns forex P/L in the quote currency. To convert, multiply by the rate from the quote currency to your account currency. For EUR/USD on a USD account, no conversion is needed.

### Does the P/L include the spread?

Only if the prices entered already reflect it. Actual fill prices, such as the bid on exit for a long, capture the spread. Commission and overnight swap charges belong in the fees field.

## Related calculators

- [Break-even price](https://tickandpip.com/tools/break-even-calculator/) – Exit price that covers fees
- [Position size](https://tickandpip.com/tools/position-size-calculator/) – Lots from risk and stop
- [Risk/reward](https://tickandpip.com/tools/risk-reward-calculator/) – R multiple and break-even win rate

---

For information only. Nothing on Tick & Pip is financial advice or a recommendation to buy or sell anything. Trading carries a high risk of loss. Data can be delayed or wrong. COT data: U.S. Commodity Futures Trading Commission (CFTC), public domain.
