Apple reported another strong quarter of profits on Tuesday, as consumers kept buying iPhones and paying more for them, news that could soon help make the Silicon Valley giant the first public company to be worth more than $1 trillion.

Apple said its profit increased to $11.52 billion in its most recent quarter, up nearly a third from the same period a year earlier, showing that the company’s enormous business selling iPhones and other gadgets continues to breeze along.

The strong results beat Wall Street estimates, sending the company’s shares about 4 percent higher on Wednesday to a new record and for a market value of more than $950 billion.

Apple’s ascent past $1 trillion in market value would further confirm a remarkable turnaround from the brink of bankruptcy two decades ago. The steep growth was driven by a series of new products that upended the technology industry — and, in some cases, society — and that remain big sellers.