How to average share price?

How do I calculate the average share price? Does it help in analyzing stock performance?