Calculate crypto average cost basis by dividing total purchase cost by total quantity. Simple method for estimating gains on cryptocurrency sales.
The average cost basis method calculates your cost basis by dividing the total amount spent on a cryptocurrency by the total quantity owned. This produces a single weighted average price per unit that applies to every unit sold. It is the simplest cost basis method and is commonly used in countries outside the U.S. (such as Canada and the UK).
In the United States, the IRS generally does not allow the average cost method for property like cryptocurrency — FIFO or specific identification is required. However, many investors still use average cost for quick estimation, portfolio tracking, and understanding their break-even price. Some countries explicitly allow or require this method.
This calculator lets you enter multiple purchases and computes the weighted average cost per unit. When you enter a sale, it calculates the gain or loss using the average cost as the basis for all units sold.
Crypto traders, long-term holders, and DeFi participants benefit from transparent crypto average cost basis calculations when planning entries, exits, or portfolio rebalances. Revisit this calculator whenever market conditions shift to keep your strategy grounded in accurate data.
Average cost basis is the easiest method to calculate and understand. It tells you your break-even price and helps you quickly estimate profits or losses. While U.S. taxpayers may not be able to use it on their tax return, it is invaluable for portfolio analysis, and it is the required or accepted method in several international tax jurisdictions.
Average Cost per Unit = Total Cost of All Purchases / Total Quantity Cost Basis for Sale = Quantity Sold × Average Cost per Unit Gain/Loss = (Quantity Sold × Sale Price) − Cost Basis
Result: $30,000 average cost basis, $20,000 gain
Total cost = (2 × $25,000) + (1 × $40,000) = $90,000. Total quantity = 3 BTC. Average cost = $90,000 / 3 = $30,000 per BTC. Selling 1 BTC at $50,000: cost basis = $30,000, proceeds = $50,000, gain = $20,000.
The average cost method pools all purchases of the same asset together. Every unit is assigned the same cost basis, which is the total amount invested divided by the total units. When you sell, each unit disposed has this identical average cost, making the calculation straightforward.
Even if you can't use average cost for taxes, it is a valuable portfolio metric. Knowing your average acquisition price tells you your break-even point instantly. If the current price is above your average cost, your position is profitable. Many portfolio trackers display average cost prominently.
Average cost cannot optimize for tax outcomes because it treats all units identically. You can't selectively sell high-cost lots to minimize gains or low-cost lots to realize specific losses. For tax planning purposes, specific identification provides much more flexibility.
The IRS does not currently allow the average cost method for property, which includes cryptocurrency. U.S. taxpayers must use FIFO, LIFO, HIFO, or specific identification. Average cost is primarily useful for estimation and portfolio tracking in the U.S.
Canada requires the Adjusted Cost Base (ACB) method, which is essentially average cost. The UK uses the Section 104 pool method, also based on average cost. Australia and several other countries also accept variations of average cost for crypto tax purposes.
DCA spreads purchases over time at different prices, resulting in an average cost that smooths out price volatility. If you consistently buy, your average cost approaches the mean market price over your investment period, reducing the impact of buying at any single high or low.
Yes. When you divide total cost by total quantity, larger purchases carry more weight in the average. A 10 BTC purchase at $25,000 affects the average much more than a 0.1 BTC purchase at $50,000. This is inherently a weighted average.
Under the average cost method, selling does not change the per-unit average cost. The average cost per unit remains the same until you make a new purchase at a different price, which recalculates the average based on remaining quantity plus the new purchase.
Average cost produces a different result than FIFO because FIFO uses actual lot prices while average cost uses a blended price. The difference can be significant if your purchase prices vary widely. For tax purposes in the U.S., you must use the actual lot-based method.