Skip to content
TraderCalcs.io

Crypto Average Price Calculator

Calculate your weighted average entry price across multiple buys, and how much more to buy to reach a target average.

Your weighted average entry price is the total spent divided by the total quantity held, and it is the crypto cost basis that unrealised gains and losses are measured against. This crypto average price calculator works it out across every lot you have bought, so the price the position needs to exceed to be in profit is explicit rather than estimated.

Formula: average price = Σ(quantity × price) ÷ Σ quantity

Your figures

Purchases

Enter the quantity bought and the price paid for each buy.

Purchase 1
Purchase 2

Optional — values the holding and enables the target average below.

Optional — works out how much more to buy to reach this average.

Results

Average entry price

US$32,000.00

across 0.75 units

Total quantity
0.75
Total cost
US$24,000.00
Purchases counted
2
Current value
US$24,000.00
Unrealised profit
US$0.00
Return on cost
0.00%

What this means

Your 2 purchases total 0.75 units at a cost of US$24,000.00, giving a weighted average of US$32,000.00. This is your cost basis: the price the position needs to exceed to be in profit before fees and tax.

  • Buying more at a lower price reduces the average but increases the amount committed to the position.

Average entry price: US$32,000.00

The link reopens this calculator with the same numbers. Nothing you enter is sent to a server.

About the Crypto Average Price calculation

Enter each purchase as a quantity and a price, and it returns the weighted average across all of them, together with the current value and unrealised profit if you supply a current price.

It also works as an averaging down calculator, solving a question the other averaging tools cannot: how much more you would need to buy at the current price to move your average to a specific target.

Crypto Average Price formula

total cost     = Σ (quantity × price)
total quantity = Σ quantity
average price  = total cost ÷ total quantity

to reach a target average by buying x more at the current price:
  (total cost + x × current price) ÷ (total quantity + x) = target
  x = (target × total quantity − total cost) ÷ (current price − target)
x
The additional quantity to buy at the current price.
target
The average price you want to end up with.

The weighted average entry price is a weighted mean: each price is weighted by the quantity bought at it. A large purchase moves the average much more than a small one at the same price.

The target-average equation is the same formula rearranged. Setting the new average equal to the target and solving for the additional quantity gives a closed-form answer rather than requiring trial and error.

A solution only exists when the target sits strictly between the current price and the existing average. You cannot average down to below the current price, and buying above your average cannot reduce it.

Crypto Average Price: a worked example

Holding 0.25 units bought at $40,000 and 0.5 units bought at $28,000, with the price now $32,000.

  1. Cost of lot 10.25 × 40,000 = $10,000
  2. Cost of lot 20.5 × 28,000 = $14,000
  3. Total cost$24,000
  4. Total quantity0.75 units
  5. Average price24,000 ÷ 0.75 = $32,000
  6. Current value0.75 × 32,000 = $24,000

The average entry price is $32,000, exactly where the price sits, so the position is level before fees. The first lot is down and the second is up; the average nets them out.

How to use the Crypto Average Price calculator

  1. Add a row for each purchase, entering the quantity bought and the price paid.
  2. Optionally enter the current price to see the holding's value and unrealised profit or loss.
  3. To use it as an averaging down calculator, enter both the current price and the target average you want to reach.
  4. The target must sit between the current price and your existing average for a solution to exist — the calculator explains when it does not.

Limitations of the Crypto Average Price calculator

Every calculation makes assumptions. These are the ones that matter here.

  • Excludes fees. Add them to each lot's cost if you want them reflected in the crypto cost basis.
  • Assumes a single average cost basis. Some tax regimes require specific identification or other matching rules.
  • The target-average solver assumes the whole additional purchase fills at the current price.
  • Averaging down increases the amount committed to a position that has already moved against you.

Frequently asked questions about Crypto Average Price

What does averaging down actually do?

It lowers your average entry price by buying more at a lower price, so a smaller recovery is needed to break even. It also increases the total amount committed to the position, so a further fall costs more in absolute terms.

Why can't I reach my target average?

The target has to sit strictly between the current price and your existing average. Buying at a price above your average cannot pull it down, and no amount of buying at the current price can push the average below that price.

Does this average cost calculator for crypto also work for shares?

The arithmetic is identical. The stock average price calculator is the same tool with share-specific wording and fields, so use whichever set of labels matches the position you are tracking.

Should fees be included in the price?

For an accurate cost basis, yes. Either add the fee to the price paid per unit, or add it to the lot's total cost before dividing.

Last reviewed . See our methodology and editorial policy.

More crypto calculators