When a position is underwater, the instinct is to buy more and pull the average down — but how much, and at how many purchases? This calculator solves that directly: given a fixed buy size and a market price, it returns the exact number of dollar-cost-average purchases and the total capital needed to reach the average cost you are aiming for.
How it works
Your average cost is total dollars spent divided by total coins held. Starting from a
position of Q0 coins at average A0, each fixed purchase of D dollars at market
price P adds D to the dollars spent and D/P coins to the stack. Setting the
resulting average equal to your target T and solving for the number of buys n gives
a closed-form expression, which the tool evaluates and rounds up to whole purchases.
Crucially, the math also reveals feasibility. To lower your average you must buy below the target price, and to raise it you must buy above. If your buy price sits on the wrong side of the target, no amount of purchasing reaches it, and the tool says so explicitly rather than returning a misleading number.
Worked example
Suppose you hold 2 ETH purchased at an average of $3,000 each — a position value of $6,000 at cost, now underwater. The current market price is $2,000. You want to reach an average cost of $2,500, and you plan to buy in $1,000 increments.
Each $1,000 buy at $2,000 adds 0.5 ETH. Setting the algebra:
- Current stake: 2 ETH at $3,000 avg = $6,000 total spent
- Each purchase: +$1,000 spent, +0.5 ETH held
- Target average: $2,500
The tool solves for n purchases such that (6,000 + n × 1,000) ÷ (2 + n × 0.5) = 2,500.
This works out to n = 4 purchases (4 × $1,000 = $4,000 additional capital),
adding 2 ETH for a total of 4 ETH at $10,000 spent — an average of exactly $2,500.
Why the target must be between current average and buy price
The fundamental constraint of averaging down is that each purchase moves your average toward the buy price but can never push it past it. If your buy price is $2,000 and your current average is $3,000, your average after any number of buys will sit somewhere between $2,000 and $3,000 — the target must be in that range.
Similarly, to raise your average (adding to a winning position), the buy price must exceed your target. The tool checks feasibility before solving and states explicitly when the target is unreachable at the given price.
Practical notes on averaging down
The calculator shows the math but not the risk. Averaging down works when the asset eventually recovers; it amplifies losses when it does not. A few considerations:
- Treat the total capital commitment as a hard planning limit before you start. Knowing you will need $4,000 more capital before you begin buying is very different from discovering that on the fourth purchase.
- Re-run the tool with the live market price before each actual purchase. Prices move between buys, and the number of remaining purchases shifts with them.
- The model assumes purchases at a constant price. In practice you will often get slightly different fills; treat the result as a plan, not a commitment.
- This is position sizing math, not investment advice. The decision to average down on any asset is a separate judgement about the asset’s outlook.