Average Entry / DCA Calculator (Simple)
Price
Qty (coin)
How to Use the Average Entry / DCA Calculator
This calculator computes the weighted average entry price across multiple orders — essential for dollar-cost averaging (DCA) and scaling into positions.
Input Fields
- Order Quantity In: Coin / USDT
-
Choose how you specify quantities for each order.
Coin — enter quantity in coins (e.g. 0.05 BTC per order).
USDT — enter dollar amounts (e.g. $500 per order). The calculator converts to coins automatically using each order's price. - Orders (Price + Qty)
-
Add one or more rows. Each row has a Price and a Quantity.
Example: three orders buying BTC at $60,000 (0.05), $55,000 (0.08), and $50,000 (0.10).
Click + Add order to add more rows; click × to remove one.
Output Fields
- Average Entry
-
The weighted average price across all orders.
Formula: Total Cost / Total Quantity.
Example: Buy 0.05 BTC at $60k + 0.08 at $55k + 0.10 at $50k → Cost = $3,000 + $4,400 + $5,000 = $12,400 → Qty = 0.23 BTC → Avg Entry = $53,913. - Total Quantity
- Sum of all order quantities in coins.
- Total Cost
-
Sum of all order values in USDT.
Formula: Σ (Price × Qty).
Advanced Mode
Switch to Advanced to unlock pair selection, mark price, leverage, fees, and unrealized PnL calculations:
- Pair / Exchange / Last
- Select a trading pair and exchange. The Last button fetches the current market price and fills it into the Mark price field.
- Side: Long / Short
-
Determines how unrealized PnL is calculated.
Long — profit when mark > average entry.
Short — profit when mark < average entry. - Mark / Current Price
- The current market price. Used to calculate unrealized PnL — how much you would earn or lose if you closed all orders right now.
- Leverage
- Used to calculate margin and ROE.
- Include Fees
- Toggle to factor in exchange trading fees. Fetch fees pulls the current rate automatically.
- Unrealized PnL
-
Profit or loss if you closed all positions at the mark price.
Formula (Long): (Mark − AvgEntry) × TotalQty.
Formula (Short): (AvgEntry − Mark) × TotalQty. - ROE (%)
-
Return on equity at the mark price.
Formula: PnL / Margin × 100%. - Distance
-
How far the mark price is from the average entry.
Formula: |Mark − AvgEntry| / AvgEntry. - Margin Used
-
The collateral locked by the exchange.
Formula: AvgEntry × TotalQty / Leverage. - Fees Total
- Combined open + close trading fees in dollars.
Quick Example
You DCA into a Long BTC position with three orders:
0.05 BTC at $60,000 • 0.08 BTC at $55,000 • 0.10 BTC at $50,000.
Average entry = $53,913 • Total qty = 0.23 BTC • Total cost = $12,400
If BTC is now at $58,000 → Unrealized PnL = +$940 • Distance = +7.58%.
Frequently Asked Questions
-
What is DCA (Dollar-Cost Averaging) in crypto futures?
DCA means splitting your entry into multiple orders at different price levels instead of entering all at once. For example, instead of buying 0.3 BTC at $60,000, you buy 0.1 BTC at $60,000, 0.1 at $55,000, and 0.1 at $50,000. This gives you an average entry of $55,000 — better than the first price. DCA reduces the impact of short-term volatility and is especially useful when you are uncertain about the exact bottom or top. -
How is the average entry price calculated?
The average entry is the weighted average of all your order prices, weighted by quantity: Average Entry = Total Cost / Total Quantity, where Total Cost = Σ(Price × Qty). This means larger orders have more influence on the average. A single large order near the bottom can significantly lower the overall average. -
Should I DCA with equal amounts or equal quantities?
Equal dollar amounts (e.g., $500 per order) naturally buy more coins at lower prices, which pulls the average down faster. Equal coin quantities (e.g., 0.1 BTC per order) give each price level the same weight. Most DCA strategies use equal dollar amounts or increase the amount at lower levels (pyramid DCA) for better averaging. -
Can I DCA a short position?
Yes. In Advanced mode, select Short as the side. The calculator computes the average entry for your short orders. Unrealized PnL is then calculated as (Average Entry − Mark Price) × Total Quantity. You profit when the mark price is below your average entry. -
How does the current price affect my DCA results?
In Advanced mode, enter the Mark / Current Price to see your unrealized PnL and ROE. If the current price is above your average entry (long) or below it (short), you are in profit. The Distance field shows how far the current price is from your average entry as a percentage, helping you decide whether to close the position, take partial profit, or add more orders.