To calculate average stock value, divide the total value of your stock holdings by the total number of shares you own.