Short answer

The index weights companies by float-adjusted market value. Gains in a few large constituents can outweigh losses across more, smaller constituents.

Measure breadth and contribution separately

Count advancing and declining members over the same window to measure breadth. Then estimate each company's contribution as its starting weight times its return. Large constituents can dominate the index even when the median constituent falls. Specify which universe you are counting, because breadth across every exchange listing can tell a different story from breadth within the S&P 500. For a closer view of the average constituent, compare the equal-weight version over the same interval using matching price or total-return series.

Worked example or comparison
Basis Evidence or calculation
Worked example or comparison Hypothetical three-stock index. One 70%-weight stock rises 3%. Two stocks with 15% weight each fall 2%. The index gains 1.5% despite two declines.

Frequently asked question

What does a negative advance-decline count measure?

It means that more members fell than rose in the measured universe. The count does not include the magnitude or index weight of each move.

Source

Primary reference · spglobal.com

Related guide

What makes index point moves, percent changes, and total returns look so different from one another?