In words, this means that you multiply each price you paid by the number of shares you bought at that price. Then, add up all of these results. Finally, divide by the total number of shares you purchased.
This may sound a little complicated, so let's look at an example to illustrate how it works.
An example
Let's say that you own 500 shares of Microsoft (MSFT -1.92%), and you acquired your shares in three separate transactions. You bought the following number of shares at each of the following price points.
- 150 shares at $100.
- 250 shares at $200.
- 100 shares at $300.
In order to calculate your weighted average price per share, simply multiply each purchase price by the amount of shares purchased at that price, add them together, and then divide by the total number of shares. Written as an equation, it looks like this:
Weighted average price = [($100 × 150) + ($200 × 250) + ($300 × 100)] ÷ 500 = $190