How to calculate percentage change in stock price

What formula is used to calculate the percentage gain or loss in price?