The S&P 500 tracks the market capitalization of the roughly 500 companies included in the index, measuring the value of the stock of those companies. Market cap is calculated by multiplying the number of stock shares a company has outstanding by its current stock price.