What CLS measures
Cumulative Layout Shift measures how much a page's content moves on its own while the user is looking at it. It counts neither pixels nor seconds but a unitless score combining two things: how much of the screen was affected and how far the moving part travelled.
Google rates a value up to 0.1 as good, up to 0.25 as needing improvement, and above that as poor. As with the other field metrics, assessment runs on the 75th percentile of real visits, not on a lab test, exactly as with LCP and INP.
The word "cumulative" in the name misleads, because the whole visit is not summed. Since 2021 the highest-scoring session window is taken: a stretch of at most five seconds in which the jolts follow one another with gaps under a second. A long page with scattered shifts does not accumulate a huge value merely for being long.
That detail matters more in practice than it sounds. Before the change, a lengthy article or an infinitely loading list scored worse than a short page with the same fault, which rewarded thin pages without their behaviour being any better.
The formula is worth understanding, because it explains what a change actually fixes. Each jolt's score multiplies two fractions: the share of screen affected and the distance travelled relative to the visible height or width. A narrow banner dropping a long way can score the same as a large block dropping a little.
From that follows something counter-intuitive: moving a small element right at the top usually costs more than moving a large one at the end of the page, because it drags everything after it. The most rewarding fixes therefore sit almost always in the header of the CMS template rather than in the article body.
