Tool
Average buy price
When you buy more than once, your price is not the last one and not the simple mean: it is the average weighted by quantity, with fees included. This is the number that decides whether selling is a profit.
A worked example
You buy 0.10 at 30,000 USD, 0.15 at 40,000 USD and 0.05 at 50,000 USD with a 0.5 % fee. You accumulate 0.3 units for 11,557.50 USD. Your real average price is 38,525 USD; without fees it would be 38,333.33 USD. The difference is 57.50 USD of fees spread across the units.
Note that the simple mean of the three prices (40,000 USD) is not your price. You bought more at 30,000 than at 50,000, and that pulls the result down.
The average that matters
| Figure | Value in the example | What it is for |
|---|---|---|
| Simple mean of prices | 40,000 USD | Nothing practical. |
| Average price without fees | 38,333.33 USD | Compare with the market price. |
| Real average price | 38,525 USD | Decide whether selling is a profit. |
Before you rely on the number: units and decimals · the glossary