
Stock market indices measure, in a single figure, how a group of shares is performing. When the news says “the S&P 500 is up 1%”, it means the weighted average change of the companies it contains. As well as being a market barometer, indices are used as a benchmark to compare investments and as the basis for funds, ETFs, futures and CFDs. In this guide you will see what stock market indices are for, how they are calculated and what risks trading them involves.
Educational content. The figures in the examples are illustrative.
What stock market indices are
A stock market index is an indicator that groups a basket of shares according to public rules (its methodology) and calculates a value that rises or falls with them. Each index has a purpose: representing a country (S&P 500, DAX, IBEX 35), a region (Euro Stoxx 50), a company size or a sector (technology, banks).
An index is not a product you can buy directly: it is a number. To invest in it you use products that replicate or track it.
What stock market indices are for

- Market barometer: a quick summary of how a country’s or sector’s stock market is doing.
- Benchmark: a US equity fund is usually compared with the S&P 500; if it falls short, its management has not added value against the index.
- Basis for investment products: index funds and ETFs that replicate the index, plus futures, options and CFDs.
- Economic analysis: indices reflect expectations about corporate earnings, interest rates and growth.
How stock market indices are calculated: weighting

Most indices are weighted by free-float-adjusted market capitalisation: the companies worth most on the stock market weigh the most. This is the case for the S&P 500, as S&P Dow Jones Indices explains.
There are historical exceptions. The Dow Jones Industrial Average is, according to its official methodology, a price-weighted index of 30 stocks: shares with the highest price have the most influence, even if the company is smaller.
| Index | Country or region | Companies | Weighting |
|---|---|---|---|
| IBEX 35 | Spain | 35 | Free-float market cap |
| Euro Stoxx 50 | Eurozone | 50 | Free-float market cap |
| S&P 500 | United States | ≈ 500 | Free-float market cap |
| Dow Jones Industrial Average | United States | 30 | Price |
Price indices and total return indices
A price index only reflects changes in share prices. A total return index also includes reinvested dividends. When comparing an investment with an index, use the equivalent version: comparing a fund that reinvests dividends with a price index makes the fund look better than it is.
What stock market indices are for when investing: products
| Product | How it works | Main risk |
|---|---|---|
| Index fund / ETF | Replicates the index by buying its shares | Market falls |
| Futures | A contract to buy or sell the index on a date | Leverage and margin calls |
| CFD | A contract for difference on the index price | Leverage and financing costs |
In the EU, index CFDs are limited to 20:1 leverage on major indices for retail clients, and Spain’s regulator, the CNMV, warns they carry a high risk of losing money rapidly. Before trading, review risk management in trading.
What stock market indices are not for: common mistakes
- Confusing the index with the economy: the stock market can rise while the economy struggles, and vice versa.
- Forgetting concentration: in some indices, a few companies weigh a lot.
- Comparing price indices with funds that include dividends.
- Comparing point levels between indices: 10,000 points in one index are not “more” than 5,000 in another.
Frequently asked questions
Can you buy a stock market index?
Not directly. You invest through products that track it, such as index funds, ETFs, futures or CFDs.
Who decides which companies are in an index?
The index provider (for example, S&P Dow Jones Indices for the S&P 500 or BME for the IBEX 35), following its public methodology and a committee that reviews the constituents periodically.
Why do indices have such different values?
Each index starts from a different base on its launch date. What matters when comparing is the percentage change, not the number of points.


