The formula
Your average entry price is the total amount you paid divided by the total number of units you bought:
Average price = total cost / total units
Fees paid on each purchase belong in the total cost, because they are part of what the position cost you.
A worked example
The numbers below are illustrative. Suppose you bought Bitcoin three times:
- 0.10 BTC at 60,000 = 6,000
- 0.05 BTC at 55,000 = 2,750
- 0.15 BTC at 50,000 = 7,500
Total cost is 16,250 for 0.30 BTC. The average price is 16,250 / 0.30 = 54,166.67, which is not the last price you paid and not the simple average of the three prices.
Adding fees
Now assume a 0.1% fee on each purchase. The fees are 6, 2.75 and 7.5, so 16.25 in total. The total cost becomes 16,266.25 and the average price becomes 16,266.25 / 0.30 = 54,220.83. The difference looks small, but it grows with frequent trading and larger fee rates (see How to Estimate the Total Cost of a Trade Before You Open It).
Your break-even price
Break-even is the price at which selling gets you back what you paid. It is your average price plus the fee you will pay when you sell. With a 0.1% fee on the sale, break-even is about 0.1% above your average cost, here roughly 54,275.
Selling part of the position
When you sell part of a position, the average price of the units you still hold does not change under the average cost method. If you sell 0.10 BTC from the example above, the remaining 0.20 BTC still has an average entry of 54,166.67. Tax systems may use a different method to assign cost, so keep these two ideas separate (see cost basis for an overview).
Futures positions
On a futures exchange the platform calculates the average entry price for you when you add to a position. Be careful with what that means. Adding to a losing position lowers the average entry, but it also increases the size and moves the liquidation price closer to the market. Averaging down on a leveraged position is a common way to get liquidated (see Bybit Liquidation: How It Works and How to Avoid It).
A simple spreadsheet
Create one row per purchase with these columns: date, units, price, fee, cost. Cost is units times price plus fee. At the bottom, total cost divided by total units gives the average price. If you buy at regular intervals, see Dollar Cost Averaging in Crypto and When It Helps for how that affects the result.
Cashback lowers your real cost, so track it in its own column. Accounts registered through our referral link return part of the trading fees as cashback, and recording it shows your true break-even.
This article is educational and is not investment advice. Crypto assets carry a high risk of loss.
Get part of your trading fees back
Open the Telegram bot, link your exchange account and follow your cashback balance.



