Crypto Average Price Calculator
Weighted average · DCA · Multiple fills
Calculate your true weighted average entry price across multiple buys.
Price (USDT)
Amount (Base)
How to use the average entry calculator
- Add each buy or fill — enter the price and quantity for each row.
- Add as many fills as needed (market orders, partial fills, DCA entries).
- Read the weighted average entry price and total position size instantly.
Weighted average entry formula
Unlike a simple average, the weighted average accounts for the size of each purchase:
- avgEntry = Σ(price_i × quantity_i) / Σ(quantity_i)
A larger buy at a lower price pulls the average down more than a small buy. This is why DCA (buying more when price drops) effectively lowers your average entry.
Worked example — scaling into BTC over 3 buys
| Buy | Price | Qty (BTC) | Cost |
|---|---|---|---|
| 1 | $60,000 | 0.05 | $3,000 |
| 2 | $55,000 | 0.10 | $5,500 |
| 3 | $50,000 | 0.15 | $7,500 |
| Total | 0.30 | $16,000 |
- Simple average = ($60,000 + $55,000 + $50,000) / 3 = $55,000
- Weighted average = $16,000 / 0.30 = $53,333
The weighted average is $1,667 lower than the simple average because the third buy (at $50,000) was three times larger. Your actual break-even is $53,333 — not $55,000. Using the simple average would make you think you are profitable at $54,000 when you are actually still at a loss.
DCA strategy: when to add to a losing position
DCA works best when you have a strong conviction about the long-term direction and sufficient capital for multiple entries. Each additional buy at a lower price reduces your average — but also increases your total exposure. Always calculate the new average entry after each add to know your updated break-even price and required target to profit.
Futures multi-entry: averaging into a perpetual position
The same formula applies to futures positions filled across multiple entries. When scaling into a long — e.g. first at $80,000, then again at $78,000 — your average entry determines your actual break-even and PnL, not the first fill price. Enter each partial fill as a separate row to get the precise average.
After calculating average entry, use the Break-Even Calculator to factor in fees, or the PnL Calculator to project profit at your target exit.
Check if the position is safe to hold
Once you know your average entry, run a full pre-trade risk check with that price to see liquidation distance, sizing, and funding cost together:
Run Pre-Trade Risk Check →Use via API or MCP
Average entry calculations are available as a deterministic API call — useful for portfolio trackers, bot position management, or AI agent workflows that need exact weighted average prices across fills.
Frequently Asked Questions
What is average entry price in crypto trading?
When you buy an asset at multiple prices (dollar-cost averaging or scaling in), your average entry is the weighted average of all fills - each price weighted by the size of that buy.
How is weighted average entry calculated?
avgEntry = Σ(price × size) / Σ(size). Each fill's price is multiplied by its size, all products are summed, then divided by total size.
What's the difference between simple average and weighted average?
Simple average treats all prices equally. Weighted average accounts for position size at each price - a larger buy at a lower price pulls the average down more.
When should I use average entry calculation?
When you're scaling into a position over time (DCA strategy), after partial fills on a large order, or when adding to an existing position.