Nvidia Corp. predicted another massive sales gain for the current quarter, helping justify a stock rally that has turned it into one of the world’s most valuable companies.

Revenue in the current period will be about $24 billion, the company said in a statement Wednesday. Analysts had predicted $21.9 billion on average.