A stock index is used to describe the performance of the stock market, or a specific portion of it, and to compare returns of investments. Generally, an index uses a weighted average of stock prices, so larger companies count more in the calculation. The NASDAQ, S&P 500, and Dow Jones Industrial Average are examples of stock indexes.