Stock Average Calculator

See how buying more shares changes your average price — average down, work back from a target, or combine several buys.

Enter all four values above zero to see your new average.

New average cost per share —
Total shares
—
Total invested
—
Additional cash needed
—

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

new average = (S₀ × A₀ + S₁ × P) ÷ (S₀ + S₁)

S₀ = shares owned, A₀ = current average cost, S₁ = shares bought, P = buy price per share.

Shares needed to reach a target average

shares to buy = S₀ × (A₀ − T) ÷ (T − P)

T = target average. Only possible when P < T < A₀ — the target must sit between the current price and your average.

Weighted average across lots

average = Σ(sharesᵢ × priceᵢ) ÷ Σ sharesᵢ

Break-even after averaging down

rise needed from buy price = (new average ÷ P − 1) × 100%

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.