FrançaisEnglish

How to calculate net P&L after fees and slippage

Commissions, slippage, spread, swap: a step-by-step worked example, the same trade in R, and the formula to paste into your spreadsheet.

Updated October 25, 2026 · Last reviewed: October 25, 2026

Gross P&L vs net P&L

Gross P&L compares the entry and exit prices you aimed for. Net P&L is what actually lands in your account, after deducting:

Worked example: a crypto trade

Buy 0.5 BTC, target entry 60,000, target exit 60,600, 0.1% commission on each side. Actual fills: 60,010 on entry, 60,590 on exit.

StepCalculationAmount
Target gross P&L(60,600 − 60,000) × 0.5300.00
Slippage(10 + 10) × 0.5−10.00
Entry commission60,010 × 0.5 × 0.1%−30.01
Exit commission60,590 × 0.5 × 0.1%−30.30
Net P&L300 − 10 − 60.30229.70

Costs here are 23.4% of the target gain (70.30 / 300). We call this share the "hidden cost tax": it shows up nowhere if you only log gross results.

The same trade in R

With a stop at 59,700, initial risk was (60,000 − 59,700) × 0.5 = 150. The trade is worth 2R gross (300 / 150), but only 1.53R net (229.70 / 150). For a strategy aiming at 2R per trade, that gap completely changes the expectancy.

What about forex?

On 1 lot of EURUSD (100,000 units), 1 pip is worth 10 USD. A 10-pip target brings 100 USD gross. With a 7 USD round-turn commission and half a pip of slippage on entry and exit (1 pip, i.e. 10 USD), 83 USD net remain: 17% of the gain goes to costs. The smaller your target, the higher that share.

The formula in Excel or Google Sheets

With side in B (Long / Short), entry in C, exit in D, quantity in E, commissions in F and swap in G (a cost is positive, a credit negative):

=(D2-C2)*E2*IF(B2="Long",1,-1)-F2-G2

Use the actually executed prices: slippage is then already included. To track the hidden cost tax, divide total costs by total gross P&L.

Calculate your own trade, break-even price included, with our free net P&L calculator.
Hidden cost tax in TrueLedger: share of gross P&L absorbed by fees and slippage (DEMO file)
Hidden cost tax in TrueLedger: share of gross P&L absorbed by fees and slippage (DEMO file)

Reduce what fees cost you

The ready-made template

The ready-made template

TrueLedger does all of these calculations for you in Excel or Google Sheets: net P&L after fees and slippage, expectancy, profit factor, max drawdown, discipline and challenge tracking. DEMO file included.

View the journal on Etsy →

Read next