Skip to content
Back to toolsFEEORBIT / TRADING TOOLS

Partial Take-Profit Net P&L Calculator

Calculate the net P&L on multiple spot sale tranches after allocated buy fees and sell fees, while keeping unsold inventory separate.

Trading parameters

Sell tranche 1

Sell tranche 2

Sell tranche 3

Advanced cost settings

Methodology

Each sell percentage refers to the ORIGINAL after-fee spot quantity. Cost basis and original buy commission are allocated by units sold. Per-tranche gross P&L = sold units × (sale price − entry price); net P&L deducts allocated buy commission, sell percentage commission and any fixed sell fee.

Results assume the entered tranches have filled in full at the entered prices. Planned limit orders are NOT realized profits. No unrealized P&L is calculated for unsold units. Spot quote-denominated fees only; actual exchange fee currency, fills, taxes, slippage and rounding can differ.

Estimated rebate is displayed separately from primary net P&L. Only positive percentage commissions on the sold allocation are considered rebate-eligible; no assumed rebate is credited to unsold units or fixed fees.

User-supplied input only; no exchange API, prediction, order placement or guaranteed outcome.

FeeOrbit · Calculation research

Methodology and assumptions

Allocate each sell tranche against a percentage of the original spot quantity. Deduct the matching share of opening fees and that tranche's sell fees. Count only sold quantity as realized P&L; track unsold inventory separately.

Core calculation relationshipRealized net P&L = Σ[sold quantity × (sell price − entry price) − allocated entry fees − sell fees]

Sell tranche percentages are based on the original position, not the remaining balance. The calculator assumes fills at the specified prices and quote-denominated fees.

Two reproducible worked examples

01 Half position sold without fees

Original 10 units bought at 100; sell 50% of original quantity at 110; no fees.

5 × (110 − 100) = 50 USDT realized profit

Five units remain in inventory, and their unrealized P&L is excluded.

02 Allocated entry and exit fees

Original 10 units at 100; buy fee 0.1%, sell 5 units at 110 with 0.1% sell fee.

5 × (110 − 100) − 0.50 allocated buy fee − 0.55 sell fee = 48.95 USDT

Half the original buy fee is allocated to the sold five units; the remaining half belongs to unsold inventory.

Frequently asked questions

Do tranche percentages use remaining quantity?

No. Each percentage is of the original quantity; entered tranches cannot total more than 100%.

Is unsold inventory profit included?

No. The headline P&L represents only the realized-like sold portion under the assumed fills.

How are opening fees allocated?

The original entry charge is apportioned by quantity sold, rather than deducted in full from the first tranche.

Worked examples explain hypothetical user inputs only. Not investment advice, live official pricing, an execution guarantee or a profit forecast.