Crypto average cost: how to calculate it and your profit
How to work out the average cost of a cryptocurrency bought in several purchases with fees, your profit or loss in percent and what records to keep for tax.

If you buy crypto in several goes, you need your average cost to know whether you're in profit and to report gains for tax. The maths is simple, but averaging the prices gives the wrong answer.
The formula
Average cost = total paid, including fees ÷ total units bought
Read alsoThe 4% rule: how much you need to live off your investmentsExample: three purchases of $1,400
| Purchase | Coin price | Units |
|---|---|---|
| 1 | $70,000 | 0.0200 |
| 2 | $56,000 | 0.0250 |
| 3 | $35,000 | 0.0400 |
Total invested: $4,200, plus $42 in fees (1%) = $4,242. Units: 0.0850. Average cost: $49,905.88. The simple average of the three prices would be $53,666.67, which is wrong.
Profit or loss
Profit % = (current price − average cost) ÷ average cost × 100. With the coin at $63,000: 26.2%.
For tax
- Keep the date, units, price and fee of every purchase and sale.
- Crypto tax rules differ from country to country; check the guidance from the Canada Revenue Agency (CRA).
Educational content, not investment advice. Work out profit percentages with the percentage calculator.
- Weighted average cost of acquisition
- Canada Revenue Agency (CRA)
Spotted a mistake or have a question? Write to the newsroom through the contact page. We fix it and log the change at the end of the story.
Stories written with AI assistance, with every figure checked against the site calculator and the official rules cited.