Finance

Stock Average Cost Calculator

Find the share-weighted average cost — and break-even price — across multiple purchases of the same stock at different prices.


Stock Average Cost Calculator

Advertisement

Buy the same stock at several different prices over time, and “what did I actually pay per share” stops being any single one of those prices — it’s a share-weighted average across every purchase.

How it works

Each lot’s shares are multiplied by its price and summed, then divided by the total shares across all lots. A bigger lot counts for more in the average, exactly as it does in the real cost basis — a plain average of the prices paid would treat a 5-share lot the same as a 500-share one, which is not what actually happened.

The break-even price

The average cost is also the break-even price: sell every share at exactly that price and the position is a wash, before fees or tax. It’s the number “am I up or down overall” actually has to be measured against, not the most recent price paid.

How to use this calculator

  1. List each purchase as shares@price — for example, “10@50, 15@45”.
  2. Optionally enter the current share price to see unrealised gain or loss.

Frequently asked questions

Is this the same as what my broker calls “cost basis”?

Conceptually yes for the average-cost method, though your broker’s tax reporting may use a different method (like specific-lot identification) that produces a different taxable gain even on the identical shares.

Does “averaging down” actually lower my risk?

It lowers your average cost and therefore your break-even price, but it also means more money is committed to a position that has already fallen — a decision worth making deliberately, not automatically.

Does this account for dividends or fees?

No — it’s the raw share-weighted price paid. Dividends and trading fees would adjust the true economic cost basis further.

What if I sold some shares along the way?

This calculator assumes only purchases, no sales — a sale would need its own accounting method (average cost, FIFO, or specific lot) to determine which shares’ cost basis it reduces.

Important: This is general information, not financial advice. Figures are estimates, and your lender or provider decides the real numbers. Check with a qualified adviser before acting on them.

Be the first to rate this

Written by

M. Whitfield

Personal finance writer

M. Whitfield writes the personal finance calculators, covering loans, mortgages, savings, tax and investment maths. The focus is on showing exactly which number goes into a formula and which assumptions a result depends on, so readers can tell when a figure applies to their situation and when it does not. Every finance page states what it does not account for as plainly as what it does.

Reviewed by

A. Whitfield-Reyes

Calculator reviewer — finance

A. Whitfield-Reyes reviews the finance calculators, checking compounding conventions, rate-period alignment, and whether each page is explicit about the costs and tax treatment it leaves out. Financial results are easy to state with false precision, so review focuses on whether the page makes its assumptions visible to a reader who is not looking for them.

How we write and review

Related calculators