Crypto Average Cost Basis Calculator

Calculate crypto average cost basis by dividing total purchase cost by total quantity. Simple method for estimating gains on cryptocurrency sales.

Purchases

$
$
$

Sale

$
Average Cost / Unit
$30,000.00
Arithmetic average of values
Cost Basis (sale)
$30,000.00
Sale Proceeds
$50,000.00
Gain / Loss
$20,000.00
Gain
Planning notes, formulas, and examples

About the Crypto Average Cost Basis Calculator

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.

Use the result to map token-release or fee scenarios and revisit the model when market conditions, unlock terms, or portfolio assumptions change.

When This Page Helps

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.

How to Use the Inputs

  1. Enter each purchase with quantity and total cost (or price per unit).
  2. The calculator computes the weighted average cost per unit.
  3. Enter the quantity sold and sale price per unit.
  4. View the average cost basis, proceeds, and gain or loss.
  5. Add more purchases to see how dollar-cost averaging affects your average price.
  6. Use the result for portfolio tracking or tax filing in jurisdictions that allow this method.
Formula used
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

Example Calculation

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.

Tips & Best Practices

  • Average cost is great for quick portfolio analysis but may not be accepted on U.S. tax returns.
  • Dollar-cost averaging (DCA) naturally lowers your average cost in volatile markets.
  • Your average cost drops when you buy at prices below the current average, and rises when you buy above it.
  • Track your average cost over time to understand your portfolio's break-even point.
  • In Canada and the UK, the average cost method (ACB/Section 104 pool) is the standard method for crypto.
  • Compare average cost results with FIFO or HIFO to see the difference in taxable gains.

How Average Cost Basis Works

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.

Average Cost for Portfolio Tracking

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. If the current price is above your average cost, your position is profitable. Many portfolio trackers display average cost prominently.

Limitations of the Average Cost Method

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.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • 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.