Stock Average Calculator

See how buying more shares changes your average cost per share — average down after a buy, work backwards from a target average, or combine multiple lots.

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 only in this browser (localStorage) — nothing leaves your device. 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 cost per share is your total money in divided by your total shares. Buying more shares below your current average pulls the average down toward the new buy price — it can never go 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 existing 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. Total invested is 100×10.00 + 100×5.00 = 1,500 across 200 shares, so the new average is 7.50 — a 25.00% reduction. 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 arithmetic — it is not investment advice. Averaging down increases your exposure to a falling position.