Skip to content

How Stock Market Indexes Actually Work

What an index number measures, how market-cap, price, and equal weighting produce different answers from the same stocks, and why the biggest companies dominate.

By the editorial team at The Long View How we check our guides 9 min read
A financial newspaper market section on a desk beside reading glasses and a cup of coffee

Almost every headline about the market is really a headline about an index: "the S&P 500 fell 2 percent," "the Dow hit a record." Yet most people who repeat those sentences could not say what the number measures or why one company's bad day moves it more than another's. That matters more than it sounds, because index funds - the default recommendation for most long-term savers - are built directly on these rules. This article explains what an index actually is, works through the weighting math with a three-company example you can check by hand, and shows where the common mental shortcuts break down.

An index is a scoreboard, not a thing

A stock index is just a number computed from a basket of stocks according to fixed rules. The basket is the list of companies - 500 large U.S. companies for the S&P 500, thirty for the Dow Jones Industrial Average, thousands for a total-market index. The rules decide two things: which companies are in the basket, and how much each one counts. Nothing is bought or sold inside the index itself; it is a measurement, the way a thermometer is a measurement. When people "buy the S&P 500," they are buying shares of a fund that holds the same basket in the same proportions - the index is the recipe, the fund is the dish.

The interesting part is the second rule: how much each company counts. Three weighting schemes cover nearly every index you will encounter, and they produce meaningfully different answers from the exact same stocks.

Market-cap weighting: the standard scheme

Most major indexes - the S&P 500, total-market indexes, most international indexes - weight each company by its market capitalization: share price multiplied by shares outstanding. A company worth $300 billion counts three times as much as one worth $100 billion. The logic is that the index represents the aggregate value of the market, so bigger companies are naturally a bigger slice of it.

Here is the whole mechanism in a worked example. Suppose an index contains just three companies:

CompanyMarket capWeight
A$300B50.0%
B$200B33.3%
C$100B16.7%

Each weight is the company's cap divided by the total ($300B / $600B = 50%, and so on). Now suppose tomorrow company A's stock rises 10% while B and C are unchanged. A's cap becomes $330B, the total becomes $630B, and the index rises by $30B / $600B = 5%. A single company's 10 percent day moved the whole index by 5 percent, because it was half the basket. Run the same move on C instead and the index rises just 1.7% ($10B / $600B). This is the arithmetic behind a familiar experience: the market drops sharply on a day when one or two giant companies report disappointing earnings, even though the typical company in the index did nothing.

Price weighting: the Dow's quirky scheme

The Dow is computed completely differently: it adds up the share prices of its thirty companies and divides by a constant called the divisor (roughly 0.16 today, after more than a century of adjustments for stock splits and component changes). No market caps involved - a $400 stock counts four times as much as a $100 stock, even if the $100 company is ten times larger by value.

Worked example: three stocks priced at $300, $150, and $50. The sum is $500; with a divisor of 5 (a simple hypothetical number), the index reads 100. If the $300 stock rises 10 percent - thirty dollars - the index gains 30 / 5 = 6 points, a 6 percent move. If the $50 stock rises 10 percent - five dollars - the index gains just 1 point, or 1 percent. Same percentage move, six times the impact, purely because the share price is higher. This is why a historic-seeming "Dow falls 800 points" headline can correspond to a smaller percentage move than the same day's S&P 500 change: points scale with the divisor and the price levels, percentages do not. Always convert to percent before comparing days, years, or indexes.

Equal weighting: the third scheme

Equal-weighted indexes give every company the same slice regardless of size - each of the three companies above would count as 33.3%. Under this scheme, C doubling its value moves the index by +16.7%, the same as A rising 50 percent. Equal weighting is a deliberate bet that smaller companies will collectively outperform bigger ones, and it has a mechanical consequence worth knowing: to keep weights equal, the index must periodically sell winners and buy losers, which means higher trading activity than a cap-weighted index, which rebalances itself automatically as prices move.

Why the giants dominate modern indexes

Cap weighting has one consequence that surprises almost everyone who first looks: a handful of companies control an outsized share of the number. In recent years the ten largest companies have accounted for roughly a third to two-fifths of the entire S&P 500. The practical meaning: when you own an S&P 500 index fund, roughly a third of your money is in ten firms, and the index's year lives or dies largely on what those firms do. This is not a flaw the index managers could fix - it is what "own the market in proportion to its size" means. But it changes how you should read index-level news: "the S&P 500 rose 20 percent" usually translates to "a small group of very large companies rose a lot, and most companies rose less."

Cap weighting also means an index fund quietly owns more of whatever has already gone up. Prices rise, weights rise, the fund buys more - no committee decides it. That built-in tilt toward recent winners is a feature of the design, and it cuts both ways across cycles.

What an index number does not include

Three omissions trip people up. First, the famous index levels are price indexes - they track share prices only. Dividends, which have historically contributed roughly 1.5 to 2 percentage points per year of the market's total return, are excluded; "total return" versions of the same indexes include them, and comparing a fund's performance to a price index makes the fund look artificially good or bad depending on which version you grabbed. Second, indexes change their rosters - companies are added and removed as they shrink, grow, merge, or fail, which means today's S&P 500 is not the same basket as the 1990s S&P 500, and long "index history" quietly assumes the changes were made at the right times. Third, an index holds no cash, charges no fees, and pays no taxes - the fund that tracks it does all three, which is why the number that matters for your money is the fund's return, not the index's. The gap between the two is covered in the tracking difference guide.

Reading index moves like an investor

Three habits convert index headlines into usable information. Convert points to percentages - the Dow falling 500 points from 44,000 is about 1.1 percent, a thoroughly ordinary day, while 500 points from 10,000 would have been 5 percent. Ask which companies drove the move - a day when the index falls 2 percent because two mega-caps fell 8 percent is a very different event from a day when everything fell 2 percent together, and market data pages usually let you see the difference. And match the index to the question - the Dow for a thirty-company price-weighted anecdote, the S&P 500 for large U.S. companies, a total-market index for "U.S. stocks overall," and international or bond indexes for everything else. Using "the Dow" to reason about your globally diversified portfolio is a category error that happens daily.

Why this matters more than the details

Understanding weighting rules is not trivia - it is the difference between knowing what you own and owning a ticker symbol you heard about. If your core holding is a cap-weighted index fund, you now know why your returns track a few hundred giant companies, why your fund automatically drifts toward whatever has performed well, and why concentration headlines are a property of the design rather than a manager's mistake. If you are still choosing between index options, the weighting scheme is one of the few real differences between them, alongside fees - the practical starting steps are in the index fund starting guide, and the question of how many different index funds a sensible portfolio needs is covered in asset allocation basics.

The bottom line

An index is a basket plus a weighting rule, nothing more. Market-cap weighting sizes each company by its value, which makes the giants the story; price weighting sizes them by share price, which makes the Dow eccentric; equal weighting makes a deliberate bet on the smaller end. Once you can reproduce the three-company math above on paper, every index headline becomes a percentage statement about a specific basket - and every index fund becomes simply the cheapest, most faithful way to own that basket. That is the entire machinery behind the most popular investment vehicle of the era.

This article is general educational information, not investment advice. Index composition, weighting methods, and divisor values change over time, and past index behavior does not predict future results. Consider consulting a qualified financial professional about your specific situation before investing.