Features
- Answer updates as you type.
- Clear breakdown you can copy.
- Works on phone and desktop.
Is Stock average calculator private?
The calculation runs in your browser. Nothing you type is sent or stored, and there is no limit.
Step by step
- Type one purchase per line as quantity, then price: 10, 150.
- Leave out commas inside a number. Write 1000, 450 and not 1,000, 450, because the comma separates quantity from price.
- Add the current share price if you want to see your profit or loss.
- Read your average price, total shares and total cost.
Worked examples
The second example shows why the average is not simply the middle of the prices. Adding 150, 120 and 98.50 and dividing by 3 gives 122.83, which is wrong here because you bought more shares at the lower price. The calculator weights each price by the number of shares.
- Two equal buys: 100 shares at 500 and 100 shares at 400 cost 90,000 for 200 shares, so the average is 450.
- Three different buys: 10 at 150, 5 at 120 and 20 at 98.50 cost 4,070 for 35 shares, so the average is 116.29. At a current price of 110 the shares are worth 3,850, a loss of 220 (5.41%).
What the average does not tell you
Buying more at a lower price brings your average down, but the shares you already hold have not gained anything: the share still has to rise above the new average before the position is in profit. This calculator only does the arithmetic and is not a suggestion to buy or sell.
Questions
Does it include brokerage fees?
Add fees into the price of each purchase for an exact figure.
What if I have already sold some shares?
List only the purchases of the shares you still hold. Your broker may work this out differently, for example by treating the oldest shares as sold first, so its figure can differ from yours.
How do I handle a bonus issue or a stock split?
Enter the adjusted figures. After a 1:1 bonus, 100 shares bought at 500 become 200 shares at 250. The total cost stays the same.
Does it work for mutual funds or crypto?
Yes. It works for anything bought in units at different prices. Decimal quantities are fine, such as 12.5, 300.
Why does my broker show a different average?
Brokers may include charges in the price, and they may treat sales differently. Compare the purchases and any sales in your broker’s statement with what you typed.