Averaging Stocks Calculator

One purchase per line, quantity first: "10 @ 100" or "10, 100".
Given, the position value and the unrealised gain or loss are worked out.
Average price per share
166.6667 USD
Stock Average Calculator
Total shares
30.0000
Total cost
5,000.00 USD
Break-even price including fees
166.6667 USD
Number of purchases
2
Summary
30 shares costing 5000 average 166.6667 per share.
Worked out from IRS Publication 550, Investment Income and Expenses - cost basis of stock and 1 other source.

How this is worked out

4 steps
  1. Money spent: 10 x 100 + 20 x 200 = 5000.
  2. Shares: 10 + 20 = 30.
  3. Weighted average = 5000 / 30 = 166.666667.
  4. No commission, so break-even equals the average price.
Purchasestable
10 @ 100 = 1000, 20 @ 200 = 4000

Results are general information, not financial, tax, legal, medical or engineering advice.