Weighted Index Calculation: How Index Values Are Computed
Weighted index calculation explained with worked examples: market-cap, price, and equal weighting, the index divisor, and how a daily index level is actually computed.
July 2026 · Indexes
Educational only · Never places a trade
A weighted index calculation turns a basket of securities into a single number, the index level, by combining each holding's price with a weight that reflects how much influence it should have. The level itself is not a dollar amount; it is a scaled figure, often starting at a base like 100 or 1000, that moves as the underlying prices move. Understanding the arithmetic demystifies index quotes and makes it far easier to build and read your own index. This article is educational and is not investment advice.
The three common weighting methods
Almost every index you will meet uses one of three weighting philosophies. They differ in what "weight" means.
| Method | Weight is based on | Effect |
|---|---|---|
| Market-cap weighted | Company size (shares times price) | Large companies dominate the level |
| Price weighted | Share price alone | High-priced stocks dominate, regardless of size |
| Equal weighted | Every member counts the same | Small and large members have equal say |
Market-cap weighting, worked
In a market-cap-weighted index, each company's weight is its market value divided by the total market value of all members. Suppose an index has three companies with market values of 600, 300, and 100 (in billions). The total is 1000. The weights are 60 percent, 30 percent, and 10 percent. If the largest company's price rises 10 percent while the others are flat, the index rises by roughly 0.60 times 10 percent, or 6 percent, because that company carries 60 percent of the weight. This is why a handful of giant companies can move a broad market-cap index on their own.
Price weighting, worked
A price-weighted index adds up the share prices of its members and divides by a divisor. Suppose three stocks trade at 300, 90, and 30. Their sum is 420. If you use a divisor of 3, the index level is 140. Notice that the 300 stock carries far more weight than the 30 stock purely because of its price, even if the 30 stock is a much larger company. This quirk is why price weighting is now uncommon, though a few famous indices still use it.
Equal weighting, worked
In an equal-weighted index every member is assigned the same target weight. With ten members, each starts at 10 percent. The index return over a short period is the simple average of the members' returns. If five members rise 4 percent and five fall 2 percent, the equal-weighted return is 1 percent, the plain average. The catch is that prices immediately push the weights away from equal, so an equal-weighted index has to be rebalanced regularly to stay true to its name.
The role of the divisor
Real indices use a divisor so the level stays continuous when the membership changes. Imagine a price-weighted index at 140 and a new stock joins, or a member has a stock split. Without an adjustment, the raw sum of prices would jump or drop for a reason that has nothing to do with performance. The provider recalculates the divisor at that moment so the index level is unchanged by the mechanical event, and only real price moves change it afterward. The same principle applies to weighted indices generally: the divisor absorbs structural changes so the level reflects performance, not plumbing.
Setting a base value
To make an index readable and comparable, you anchor it to a base value on a base date. Choose 100 (or 1000) on your start date, then let the weighted basket's growth scale that figure. If the basket rises 12 percent from the base date, an index that started at 100 now reads 112; one that started at 1000 reads 1120. The base value is arbitrary, but it makes two indices with different starting prices directly comparable and lets you line the level up against a benchmark on the same scale.
Putting it together for a custom index
To compute your own index each day, you (1) note the target weights from your rulebook, (2) apply each member's price change to its weight to get the basket's daily return, (3) apply that return to yesterday's level, and (4) at each rebalancing point, reset the weights to target. Do that consistently and you have a clean, trackable level. This same engine, run over history, is exactly what powers a backtest, and run forward it powers live performance tracking. If you want to see the mechanics inside a full workflow, our guide on building your own index fund ties the calculation to the design steps.
Any historical figures you compute this way are hypothetical historical performance, and past performance does not guarantee future results. If you would rather not maintain the arithmetic by hand, Indexes computes weighted index levels for baskets of stocks or crypto, backtests them against real history, and tracks them against a benchmark. It is built for learning and measurement, not trading, and nothing here is investment advice.
Build your index and see how it backtests
Bundle stocks or crypto into your own weighted index, backtest it against real market history, and track it against the S&P 500 or BTC. Educational and informational only, and Indexes never places a trade.