FormatForge logoFormatForge

Crypto guide

How to Calculate Your Average Crypto Buy Price Correctly

Use weighted cost basis instead of a simple price average when combining multiple crypto purchases with different quantities and fees.

By FormatForge2026-08-168 min read

Quick summary

Use weighted cost basis instead of a simple price average when combining multiple crypto purchases with different quantities and fees. This guide gives you a clear, practical explanation before you use the related online tool.

1

Why a simple average can be wrong

If you buy different quantities at different prices, adding the prices and dividing by the number of purchases ignores how much was acquired in each lot. The correct average entry for a position is weighted by quantity and should also account for entered acquisition fees when those fees are part of cost basis.

2

Calculate each lot's basis

For each purchase, multiply unit price by quantity and add the buy fee you want included in basis. Sum the basis of all lots. Separately sum the quantity acquired.

3

Weighted average entry formula

Weighted average entry equals total cost basis divided by total acquired quantity. A large purchase therefore influences the average more than a small purchase, which is exactly what a simple average fails to capture.

4

Example with unequal quantities

If you buy 0.01 BTC at 60,000 and 0.03 BTC at 70,000, the simple price average is 65,000. But most of the BTC was bought at 70,000, so the weighted average before fees is 67,500. This difference matters when estimating break-even or unrealized P/L.

5

How fees change break-even

If buy fees are included in cost basis, average cost rises slightly. If you also expect an exit fee, the market price needed to recover the full entered cost can be higher than the average entry. Keep average entry and fee-adjusted break-even as separate metrics.

6

Average entry is not the same as tax-lot accounting

A portfolio average is useful for understanding the combined position, but tax reporting may require individual lots and jurisdiction-specific identification rules. Preserve transaction-level records even if you use a weighted average for trading analysis.

7

Use an entered market price only as a scenario

Current unrealized P/L can be calculated from a market price you enter, but the tool does not need a live feed. Separating the input from the calculation keeps the arithmetic transparent and avoids presenting stale prices as current.

8

Keep the lot history

Store date, price, quantity and fees for each buy. FormatForge's Average Entry Price Calculator handles the weighted arithmetic; use the Cost Basis & Tax Lot Organizer when you need disposal-lot matching rather than only a combined average.

Continue with a free tool

Related FormatForge tools

Frequently asked questions

How do I calculate average crypto buy price?

Add the cost basis of all buys and divide by the total quantity acquired. This is a quantity-weighted average.

Why is averaging the buy prices incorrect?

It gives every purchase equal weight even when the quantities are different.

Should crypto trading fees be included?

If you treat acquisition fees as part of cost basis, include them consistently. Tax treatment can vary by jurisdiction.

Is average entry the same as break-even?

Not necessarily. Expected exit fees can make the break-even price higher than average entry.

Can I use the calculator for assets other than Bitcoin?

Yes. Weighted cost-basis mathematics applies to any asset when the inputs use consistent units.

Keep learning

Related guides