How to calculate average price per share

What formula can be used to calculate the average price per share?