Three inputs decide the number
First, the coins held. That amount usually already reflects the buy fee: coins = investment × (1 − fee rate) ÷ buy price. If the position came from several buys, use the average cost tool to get the total first.
Then the sell price for this fill, and the fee rate. With those three numbers the proceeds are fully determined.
Formulas
coins held × sell pricegross proceeds × fee rategross proceeds − sell fee, i.e. coins held × sell price × (1 − fee rate)proceeds − investmentWorked example (recompute it yourself)
Invest 15,000 USDT, buy at 30,000 USDT, sell at 60,000 USDT, 0.1% fee on both sides:
Coins held = 15,000 × 0.999 ÷ 30,000 = 0.4995.
Gross proceeds = 0.4995 × 60,000 = 29,970 USDT. Sell fee = 29,970 × 0.1% = 29.97 USDT, so proceeds = 29,970 − 29.97 = 29,940.03 USDT.
Realised profit = 29,940.03 − 15,000 = 14,940.03 USDT, a return of +99.60%. The price doubled, but the two 0.1% charges leave the realised return just under 100%.
Notes
This covers exchange trading fees only. Withdrawal fees, on-chain gas and funding costs reduce the cash you actually receive.
Slippage can push the average fill below the price you enter; an unfilled limit order produces no proceeds at all.
To estimate "what would I get if I sold at today's price", set the sell price to the current price.
FAQ
How far is the proceeds figure from the position value?
The gap is the sell fee. In the example the position is worth 29,970 USDT and the proceeds are 29,940.03 USDT — a difference of 29.97 USDT, or 0.1%.
Why not just divide the investment by the buy price?
Because the buy fee is deducted from the fill: coins received = investment × (1 − fee rate) ÷ buy price, slightly fewer than a straight division gives.
Do withdrawal fees count here?
No. This page covers the sell trade only. Withdrawal fees are charged per transfer and are unrelated to the notional, so add them separately.