Box Inc. bought itself some breathing room as it waits for a more suitable time to hold an initial public offering.

The online-storage startup raised $150 million in funding from private-equity firm TPG and hedge fund Coatue Management, the company said on Monday in a regulatory filing that also provided its latest quarterly results. The new financing—rare for a company that already has filed for an IPO—values Box at about $2.4...