Skip to main content
CRYPTO RESEARCH / EDUCATIONNO LIVE PRICES · NO TRADING SIGNALS
Menu
CRYPTO / METHOD EXPLAINED

Weighted average entry price across multiple fills

Calculate the average cost of a holding without averaging prices incorrectly.

ORIGINAL MATHEMATICAL EXAMPLE · EDUCATIONAL · NOT A LIVE MARKET QUOTE

Why an arithmetic mean is misleading

Buying two tokens at 100 USD and eight at 200 USD does not produce a 150 USD average entry. You spent 200 + 1600 = 1800 USD for ten tokens, so the correct weighted average before fees is 180 USD per token. The quantity of each fill matters.

Fees belong in cost

For three fills of price, quantity and fixed USD fee — (100,2,1), (120,3,2) and (90,1,0.5) — total purchase cost is 201 + 362 + 90.5 = 653.50 USD. Six acquired tokens yield a 108.9167 USD weighted entry. A simple average of 100, 120 and 90 would be wrong.

Method

Sum every fill's price × quantity + allocated purchase fee. Divide by the total acquired quantity. If you transferred coins and incurred withdrawal fees or sold a portion, choose and document an appropriate accounting convention; this simple estimator does not implement jurisdictional tax-lot accounting.

Practical use

Export your own exchange records, normalize currency and order units, then paste one fill per line into the browser calculator. Keep the original file privately. Do not upload private keys or wallet recovery phrases to any tool.

Quick questions

Why not average the purchase prices directly?

A fill buying more units contributes more to total invested cost than a very small fill.

Is average entry the same as a legal tax lot basis?

No. The simplified arithmetic example does not decide a jurisdiction-specific tax convention.

Try the exact calculation

Open the corresponding free browser tool, enter the numbers from this explanation and verify the output. The example is fictional and has no predictive meaning.

Published: 2026-11-23 · General education; the scenarios described are not investment or tax advice. Verify changing technical and legal claims against the current primary sources.