How crypto trading fees change your cost per coin
A fee on a buy is part of what the coins cost, so it raises your average cost: total paid, fee included, divided by coins received. A fee on a sale comes off the proceeds, so it lowers the profit on that sale and leaves the average of the remaining coins unchanged.
Buying fees raise the cost
Take a buy of 20 coins at $50, which is $1,000 before any fee. The exchange charges 0.1%, which is $1. Whichever way the fee is taken, you end up with the same average cost.
Fee charged on top, in dollars: $1,001 ÷ 20 coins = $50.05
Fee taken from the coins: 0.1% of 20 = 0.02 coins, so you receive 19.98 coins
$1,000 ÷ 19.98 coins = $50.05
The fee is small here, but it is not zero, and it is the reason your average cost is a little above the price on the screen. The average cost guide shows how several buys combine.
Selling fees lower the proceeds
A selling fee does not touch the average cost of the coins you keep. It reduces the money you receive, and so the profit on that sale. Say you sell 10 of those coins at $60 with the same 0.1% fee.
Proceeds before the fee: 10 × $60 = $600.00
Fee: 0.1% × $600 = $0.60, so you receive $599.40
Cost of the 10 coins sold: 10 × $50.05 = $500.50
Realized profit: $599.40 − $500.50 = $98.90
Average cost of the 10 coins left: still $50.05
Realized vs unrealized profit explains why only the sold coins show up as realized.
When the fee is paid in a different coin
Some exchanges let you pay fees in another coin. The fee is still a cost of the trade, so convert it to dollars at the price on the day of the trade and add it to the total paid. Today's price is not the one to use.
Fee: 0.002 of a coin priced at $600 on the day = $1.20
Buy of 20 coins at $50: ($1,000 + $1.20) ÷ 20 = $50.06
Trade Tracker asks for the fee in the coin itself and values it at that trade's own price, so you can copy the figure from your trade history.
Small buys pay proportionally more
A flat fee weighs more on a small trade. Compare five buys of $20 at $50 with one buy of $100 at $50, with a flat $1 fee on each trade.
| Way of buying | Total paid | Coins | Average cost |
|---|---|---|---|
| Five buys of $20 | $105 | 2 | $52.50 |
| One buy of $100 | $101 | 2 | $50.50 |
Percentage fees do not behave this way, since 0.1% of $20 is 2 cents. Check which kind your exchange charges before you read anything into the difference. For regular small buys, see dollar cost averaging explained.
Fees and your break-even price
Fees at both ends push the break-even price above your average cost. With an average cost of $50.05 and a 0.1% selling fee, the price has to reach about $50.10 for a sale to return what you paid. The break-even calculator does this sum, including any cash you have already taken out.
This page explains arithmetic. It is not financial or tax advice, and it does not say whether to buy, sell or hold anything. Fee rules and tax treatment differ by exchange and by country.
Questions people ask
- Do I include the trading fee in my cost basis?
- For a buy, yes: the fee is part of what the coins cost, so add it to the total paid. A selling fee is taken off the proceeds of that sale instead.
- Does a selling fee change my average cost?
- No. It lowers the money you receive and so the profit on that sale. The average cost of the coins you still hold stays the same.
- How do I count a fee paid in a different coin?
- Work out what that amount of the other coin was worth in dollars at the time of the trade, and add it to the total paid. Do not use today's price.
- Why is my average cost above the price I bought at?
- Because the fee is included. $1,001 paid for 20 coins is $50.05 each, even though the price was $50.00.