Stock Average Calculator

Your average cost across multiple stock purchases — with total invested, current value and gain or loss per lot and overall.

100% FreeNo sign-upPrivate — runs in your browser

Average cost is your break-even price: above it the position is in profit, below it at a loss.

Show break-even note
States the price the stock must reach for the position to break even.
—

Average cost per share

—
Total invested
—
Total shares
—
Current value
—
Gain / loss
—
Return
—

Copied to clipboard

How to use this tool

1
Add each purchase

Enter the shares and price paid for every lot you bought. Add or remove rows as needed.

2
Enter the current price

The live price per share, used to value the whole position.

3
Read your average cost

Total invested ÷ total shares — the price the stock must beat for you to break even.

4
Check each lot

The per-lot table shows which purchases are in profit and which are under water.

Formula & worked example

Average cost = total amount invested ÷ total shares. Gain/loss = (current price − average cost) × shares; return % = gain/loss ÷ total invested × 100.

Buy 10 shares at $100 and 10 at $150: invested $2,500, average cost $125. At a current price of $140 the position is worth $2,800 — a $300 gain (12%).

Limitations — read this before you rely on it

This is an average-cost view for planning only: it ignores brokerage fees, taxes, dividends, splits and currency effects unless you fold them into your purchase prices.

Frequently asked questions

Your total invested divided by your total shares — the single price that summarises every purchase you made.

It is your break-even price: above it the position is in profit, below it the position is at a loss.

No — buying more at a lower price lowers your average, but it also increases your exposure to a falling stock.

Not automatically. If you paid commission, add it to the price of the relevant lot for a truer average.

No — it is arithmetic on your own figures. Investment decisions should consider your full financial situation.