Underwriters must determine how much they expect to sell before an initial public offering takes place by estimating demand. Once this is determined, they are granted a certain number of shares, which they must sell to the public in the IPO. Prices are determined by gauging demand from the market—higher demand means the company can command a higher price for the IPO. Lower demand, on the other hand, leads to a lower IPO price per share.