Stock average calculator

List each purchase as shares @ price, one per line. You get the average price you paid per share, and how you stand at the current price.

Your answer

Average cost per share$43.75
Total shares200
Total cost$8,750.00
Value now$9,000.00
Gain2.86%$250.00

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

  1. Total cost = 100 × $50.00 + 50 × $40.00 + 50 × $35.00.
  2. Average = total cost ÷ total shares.

Method and assumptions

The average cost is weighted by the number of shares in each purchase, which is how brokers report your cost basis when you use the average method. Commissions can be included by adding them to the price.

Questions

What is the average cost of 100 shares at $50, 50 at $40 and 50 at $35?

$43.75 a share: $8,750 for 200 shares.

Sources

Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

Embed this calculator on your site

Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and never sends us anything your visitors type.

Related calculators