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.
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.
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.
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.
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.
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.
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.
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.
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
Crypto Average Entry Price Calculator
Combine multiple crypto buys, quantities and fees to calculate weighted average entry, total cost basis, break-even and optional unrealized P/L.
Open tool →Bitcoin DCA & Break-Even Calculator
Model recurring Bitcoin purchases with price, contribution and fees to calculate BTC accumulated, average cost, break-even and optional P/L.
Open tool →Crypto Cost Basis & Tax Lot Organizer
Organize crypto buys and sells into FIFO, LIFO or HIFO-style tax lots and calculate modeled realized P/L, remaining basis and lot matches.
Open tool →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
Crypto
How to Calculate Bitcoin Trade Risk Before Entering a Position
Calculate Bitcoin trade risk from entry, stop, position size and fees, then compare potential loss with target reward before placing a trade.
Crypto
Crypto Position Sizing Explained: Account Risk, Entry and Stop Loss
Learn how account risk, entry price, stop distance, trading fees and leverage interact when calculating a crypto position size.
Crypto
Bitcoin DCA Explained: Average Cost, Fees and Break-Even
Understand how recurring Bitcoin purchases affect BTC accumulated, average cost and fee-adjusted break-even without assuming future returns.
Crypto
Ethereum Gas Fees Explained: Gas, Gwei, Base Fee and Priority Fee
Understand Ethereum gas units, Gwei, base fee, priority fee, max fee and how an EIP-1559 transaction fee is calculated.