Calculate your cryptocurrency average buy price across every fill. Add unlimited buy lots in coins or USD, include exchange fees, see volume-weighted average and true cost per coin, compare to live prices for unrealized P&L, plan an average-down trade, or solve how much to buy to reach a target average.
One row per fill. Use coins or USD spent at that price. Fees apply on each lot using the buy fee below.
Applied to each lot’s cost basis (typical exchange taker fee).
| Lot | Coins | Price | Cost (incl. fee) | % of position |
|---|---|---|---|---|
| 1 | 0.10000000 | $60,000.00 | $6,006.00 | 40% |
| 2 | 0.15000000 | $50,000.00 | $7,507.50 | 60% |
Used for unrealized P&L and break-even sell only.
See your new blended average if you add one more buy (not added to the table above).
How many coins must you buy at the price below to reach your goal average cost? Uses your lots above plus the buy fee.
If you only bought once, your average buy price is simply what you paid per coin. After a second or third entry — especially at a lower price to average down — you need a volume-weighted average: each purchase counts in proportion to how many coins you received, not how many dollars you spent in isolation. Exchanges often show a blended average in your trade history, but it may ignore fees, omit off-platform transfers, or mix spot with earn products. CoinToolHub lets you model every fill as its own row: coins (or USD at that fill’s price), buy price in USD, and a global buy fee percent so your average cost per coin reflects what actually left your account. We show both the gross VWAP (price-only average) and the fee-inclusive average cost — the number that matters for break-even and tax-style cost basis estimates. Pair it with a live market price to see unrealized profit, ROI, and the sell price that covers a round-trip sell fee. The average-down planner previews your new blended cost after one more buy, and the target-average solver answers how many coins you must add at today’s price to reach a goal average — a common question when a bag is underwater and you are sizing a DCA top-up.
Per lot: cost basis = coins × buy price. Buy fee = cost basis × (fee % ÷ 100). Lot cost = cost basis + buy fee. Total coins = sum of coins. Gross average buy price = sum(cost basis) ÷ total coins. Average cost per coin = sum(lot cost) ÷ total coins. Unrealized net P&L = (coins × market price × (1 − sell fee % ÷ 100)) − total cost. Break-even sell (after sell fee) = total cost ÷ (coins × (1 − sell fee % ÷ 100)). For a target average cost T with an extra buy at price P and fee f: extra coins q = (total cost − T × total coins) ÷ (T − P × (1 + f)). Live prices use the latest USDT pair on Binance as USD. Calculations run in your browser; nothing is stored on our servers.
Buy 0.1 BTC at $60,000, then 0.15 BTC at $50,000. Exchange fee 0.1% on each purchase.
Lot 1 cost basis $6,000 + fee $6 = $6,006. Lot 2 cost basis $7,500 + fee $7.50 = $7,507.50. Total 0.25 BTC for $13,513.50. Gross average $54,000; average cost $54,054 per BTC.
The second buy pulled your blended cost below the first entry even though you spent more dollars on the second lot — weighting by coins is what matters.
1,000 coins at $2.00, 2,000 at $1.50, 500 at $1.20. No fees. Market now $1.65.
Total 3,500 coins, cost basis $5,600. Gross average $1.60. Unrealized gross P&L = 3,500 × ($1.65 − $1.60) = $175 before any sell fee.
You are slightly green on price alone; add a sell fee in the tool to see net unrealized P&L at the live price.
Hold 10 ETH with average cost $2,400 (fees included). Considering 5 ETH more at $1,800, 0.1% buy fee.
New position 15 ETH. New total cost ≈ prior cost + (5 × $1,800 × 1.001). New average cost drops toward the lower fill.
Use the planner row to see the exact new average without re-entering all historical lots.
2,000 coins at average cost $0.80. You want average cost $0.70. Market $0.55, 0.1% buy fee.
q = (total cost − 0.70 × 2,000) ÷ (0.70 − 0.55 × 1.001). A positive q means that size at $0.55 pulls the blend down to $0.70.
If the target is above the market price, no finite buy size works — you need cheaper fills or a lower target.
For education only — not financial advice. Past performance does not guarantee future results.