Skip to content

Stock Average Calculator

Average cost after buying more shares.

Reviewed by the Calculation Machine team · How we check our maths

Your values

ⓘ Live results

Results
New average cost
$38.66
Total shares
250
Total invested
$9,665.00
Current value
$9,100.00
Unrealised P/L
-$565.00 (-5.85%)
Break-even price
$38.66

Working

  1. 1Avg = (100×$48.50 + 150×$32.10) ÷ 250 = $38.66

Quick answer

Average cost is total money spent divided by total shares held across all purchases.

The formula

Avg = (q₁p₁ + q₂p₂) ÷ (q₁ + q₂)

Worked example

Worked example

Using the values the calculator loads with.

Inputs

  • First purchase shares100
  • First purchase price48.50 $
  • Second purchase shares150
  • Second purchase price32.10 $
  • Current price36.40 $

Result

  • New average cost$38.66
  • Total shares250
  • Total invested$9,665.00
  • Current value$9,100.00
  • Unrealised P/L-$565.00 (-5.85%)
  • Break-even price$38.66

How to use the Stock Average Calculator

  1. 1Enter your first purchase quantity and price.
  2. 2Enter the second purchase.
  3. 3Add the current price to see unrealised profit.

Frequently asked questions

Is averaging down a good idea?

Only if your thesis still holds. Adding to a losing position purely to lower the average is how small losses become large ones.

Do fees count in cost basis?

Yes — include commissions in the purchase price for accurate tax reporting.

About this calculator

Finding your average cost per share

When you buy the same stock at different prices, your average cost is the total amount spent divided by the total number of shares. It tells you the break-even price for the whole position.

Buying more at a lower price ('averaging down') lowers the average cost, but it also increases how much you have riding on one company.

Example

50 shares at $80 and 30 shares at $60 cost $5,800 for 80 shares — an average of $72.50 per share.

Use with care

  • Include commissions in total cost for a true break-even.
  • Averaging down works only if the original reason for buying still holds.
  • For taxes, specific lots may be used instead of the average — check your broker's method.

Sources

More questions

What is averaging down?

Buying more shares after a price drop to lower your average cost.

Does average cost matter for taxes?

Mutual funds often use average cost; stocks usually use specific lots or FIFO.