Stock average calculator
Free stock average calculator. Enter the shares and price of each purchase to get your average cost per share, total shares and total cost.
Results update as you type. Nothing you enter leaves your browser.
Questions and answers
What does the stock average calculator do?
It works out your average cost per share when you bought the same stock more than once at different prices. Enter the number of shares and the price paid for each purchase. The calculator adds them up and shows the total number of shares, the total amount paid and the average price per share. Rows you leave empty are ignored.
How is the average price calculated?
The average is weighted by the number of shares, so a large purchase counts for more than a small one. The formula is:
average price = total amount paid / total number of shares
For each purchase, the amount paid is shares times price. Example: you buy 100 shares at $50 and later 50 shares at $40. You paid $5,000 plus $2,000, which is $7,000, for 150 shares. Your average cost is $7,000 / 150 = $46.67 per share. Note that this is not the simple average of $50 and $40, which would be $45. The first purchase was larger, so it pulls the average toward $50.
What is averaging down?
Averaging down means buying more of a stock after its price has fallen. Each new purchase at a lower price reduces your average cost per share. Averaging up is the opposite: buying more after the price has risen, which raises the average cost. The calculator handles both. A lower average cost does not change what the shares are worth today. It only changes the price at which the whole position breaks even.
Is the average cost the same as my tax cost basis?
Not always. This calculator gives one average for all shares. For tax, many countries and brokers track each purchase as a separate lot, and rules such as first in, first out decide which shares count as sold. Fees and commissions can also be added to the cost. Use your broker's statements for tax figures.
What are the limits of the stock average calculator?
It does not include commissions, taxes, dividends or currency changes, and it does not handle short positions. It describes the arithmetic of purchases you enter. It is not advice on whether to buy more of any stock.
More free tools
All toolsA calculator shows arithmetic on the numbers you enter. It is not investment advice. Disclaimer.