How to calculate ipo price per share

How is the IPO price per share calculated during an offering?