Learn how stock market indices work, how they are calculated, and the key differences between price-weighted and market-cap-weighted benchmarks.