The pricing of an IPO is a crucial step and involves assessing the company's valuation. The underwriters conduct a thorough analysis of the company’s financials, market conditions, and demand for the shares. They then set a price that balances maximizing capital raised with ensuring sufficient market demand to avoid a poor market debut.