Enter all four values above zero to see your new average.
- Total shares
- Total invested
- —
- Additional cash needed
- —
Must be between the current price and your average cost.
Enter all four values above zero to see how many shares to buy.
- Cost of purchase
- —
- Total shares after
- Total invested after
- —
- Resulting average cost
- —
Assumes fractional shares. If your broker only trades whole shares, round up to stay at or below the target.
Rows missing a value are ignored in the average.
Enter shares and price for at least one lot to see the weighted average.
- Total shares
- Total cost
- —
My portfolio
Positions are saved in this browser only (localStorage). Use export / import to move them to another device.
No saved positions yet. Add one below.
Add or update a position
Export / import
How it works
Your average price is total money in ÷ total shares. Buying below your average pulls it toward the new buy price — but never below it.
New average after a buy
S₀ = shares owned, A₀ = current average cost, S₁ = shares bought, P = buy price per share.
Shares needed to reach a target average
T = target average. Only possible when P < T < A₀ — the target must sit between the current price and your average.
Weighted average across lots
Break-even after averaging down
Worked example
You own 100 shares at an average of 10.00 and buy 100 more at 5.00. That's 100×10.00 + 100×5.00 = 1,500 over 200 shares, so the new average is 7.50 — 25.00% lower. From the 5.00 buy price, the stock must rise 50.00% to reach the new 7.50 break-even.
This tool only does the math — it's not investment advice. Averaging down increases your exposure to a falling stock.