Investment banks and underwriters usually set the IPO price. Usually, the company will decide how many shares it wants to make available to the public, and then the nominated bookrunner will conduct a valuation of the company.