1. Downward Repricing
If your target average price is lower than your current average price, the new buy price must be below the target. The lower the new buy price, the fewer shares you need to buy to reach the same target.
Use only four inputs: current average price, current shares, target average price X, and buy price Y. The calculator will tell you how many shares Z to buy and automatically generate a batch scenario table around your specified buy price.
No manual scenario range is required. The tool derives a valid set of alternative buy prices automatically and builds the Y/Z table for you.
Your current average cost per share.
How many shares you already hold.
The average price you want to reach after the new buy.
The price you plan to buy at for the main scenario.
Let your current average price be C, current shares be Q, target average price be T, and your new buy price be Y. The required shares Z are:
To move your average cost down, you need Y < T < C. To move your average cost up, you need Y > T > C. If the new buy price is on the wrong side of the target, there is no finite solution.
| Buy Price Y | Exact Shares Z | Whole Shares | Estimated Capital | New Average | Gap vs Target |
|---|
This page is intentionally simple: only four inputs. Everything else is derived automatically so you can get from “I want my average cost to become X” to “I need to buy Z shares at Y” with minimal friction.
If your target average price is lower than your current average price, the new buy price must be below the target. The lower the new buy price, the fewer shares you need to buy to reach the same target.
If your target average price is higher than your current average price, the new buy price must be above the target. This is less common, but the same formula works for adding at higher prices.
The formula may return a fractional share count. The tool also shows the minimum whole-share count by rounding up, which is often the practical number if your broker or asset does not support fractional shares.
Your position is already at the target average price. Buying above or below that level will move the average away from the current target.
Because the denominator (T - Y) becomes very small. If the new buy price gets very close to the target average price, you need a much larger number of shares to pull the total average exactly to the target.
No. This page only performs arithmetic on cost basis and share count. It does not tell you whether the target is sensible or whether the asset is worth buying.