Tools
Crypto profit calculator with fees and slippage
Your crypto profit is the sale proceeds minus your original position size, after fees on both sides and slippage on the buy and sell. Enter your own prices below to calculate the net dollar return, percentage return and break-even sell price.
Calculate a hypothetical spot trade
Type your own prices in USD. Results update as you type; no live quote is fetched.
Total committed, including the buy fee.
Same rate on buy and sell. Empty counts as 0.
Your estimate on each side. Empty counts as 0.
Net profit
+$192.82
+19.28%
- Total fees, both sides
- $2.19
- Slippage cost, both sides
- $4.39
- Break-even sell price
- $100.60
This is a hypothetical calculation, not advice. It places no orders. Your inputs stay in this browser. For coin-specific plans you can save in this browser, open the Trade Lab journal.
How the calculation works
Position size is the total USD committed, including the buy fee. The same fee rate and slippage estimate apply per side. The buy fee is deducted from that budget before buying tokens; the sell fee is deducted from the sale value. Slippage raises the buy fill and lowers the sell fill.
- Rates
- f = fee percent / 100; s = slippage percent / 100
- Buy fill
- Buy fill = buy price × (1 + s)
- Tokens bought
- Quantity = position size × (1 − f) / buy fill
- Sell fill
- Sell fill = sell price × (1 − s)
- Cash returned
- Sale proceeds = quantity × sell fill × (1 − f)
- Net profit or loss
- Net profit = sale proceeds − position size
- Percentage return
- Net return (%) = net profit / position size × 100
- Fees on both sides
- Total fees = position size × f + quantity × sell fill × f
- Slippage on both sides
- Slippage cost = quantity × buy price × s + quantity × sell price × s
- Price needed to recover the position size
- Break-even sell price = buy fill / ((1 − f)² × (1 − s))
Prices, fees, proceeds, profit and slippage cost are in USD; quantity is in tokens. Slippage cost measures the difference between the typed prices and the fill prices for the quantity bought. Fees and slippage are already reflected in net profit; do not subtract them again. Calculations use full precision; displayed dollar totals are rounded to cents.
A worked example
With $1,000.00 committed, a buy price of $100.00, a sell price of $120.00, a 0.1% fee per side and 0.2% slippage per side:
- Buy fill
- $100.20
- Quantity (tokens)
- 9.97005988
- Sell fill
- $119.76
- Sale proceeds
- $1,192.82
- Net profit
- $192.82 (19.28%)
- Total fees
- $2.19
- Slippage cost
- $4.39
- Break-even sell price
- $100.60
Source: Dextape Trade Lab arithmetic, calculated from the illustrative inputs above, not measured market prices. Example reviewed . There is no live price source or market timestamp for these hypothetical figures.
Why the break-even price is above your buy price
Fees reduce the tokens bought and the cash returned. Slippage makes both fills less favourable. Selling at the original buy price therefore leaves a loss when either cost is above zero.
Keeping the example’s $100.00 buy price and 0.2% slippage per side, a 0.1% fee per side gives a break-even sell price of $100.60. At a 1% fee per side, it rises to $102.44. These are the typed sell prices needed before sell-side slippage and fees. With both costs at zero, break-even equals the buy price.
What this calculator leaves out
It leaves out taxes, network gas unless included in the fee you enter, funding payments, borrowing costs and price moves while filling. It models one spot buy and one later sell, with a constant percentage on each side. A flat gas charge or a tiered venue fee may need a separate calculation; it cannot be represented exactly by the same percentage on both sides.
For record organisation, read crypto tax record keeping. For the difference between a single trade’s return and a portfolio’s path, read returns, drawdowns and volatility.