Apple is on the verge of becoming a $5 trillion company based on market capitalization, which is the total value of all of the company's outstanding shares.

Apple's stock closed at $336.91 today, up nearly 25% since late June. The company's market cap is now around $4.94 trillion, although this figure is not precise due to the company buying back shares over time.

Apple is once again the world's most valuable public company, having surpassed Nvidia.