Your page jumps just as a visitor goes to tap a button, and cumulative layout shift is the score that measures it. Reserve space for images, ads and embeds, and that score drops.
This guide belongs to the wider topic of web performance optimization, where visual stability sits alongside speed and responsiveness.
| Item | Value |
|---|---|
| Good CLS score | 0.1 or less |
| Poor CLS score | Greater than 0.25 |
| Share of page visits that should hit the good score | At least 75% |
| Grace period after a user interaction | 500 milliseconds |
| Maximum length of one session window | 5 seconds |
These figures come from Google’s web.dev guides to optimizing CLS and the CLS reference. Thresholds can change, so check the sources before you rely on them.
What cumulative layout shift actually measures
Cumulative Layout Shift (CLS) is one of the three Core Web Vitals metrics, according to the web.dev optimization guide last updated Feb 7, 2025. It combines how much visible content moves in the viewport with how far the affected elements travel.
A layout shift happens whenever a visible element lands in a different position from one rendered frame to the next. For a reader, that means losing your place when text moves, or clicking the wrong link or button, as the CLS reference describes.
CLS isn’t a stopwatch metric. The other Core Web Vitals are time-based, while CLS is a unitless number built from how much content moves and by how far, as the web.dev guide explains. If you are also tuning load speed, the guide to largest contentful paint covers one of those time-based metrics.
What is a good CLS score?
Aim for 0.1 or less. Values greater than 0.25 count as poor, and anything between the two sits in the middle band, per the web.dev guide.
The goal is to reach that mark for at least 75% of page visits. The CLS reference suggests measuring the 75th percentile of page loads, segmented across mobile and desktop devices.
How the layout shift score is calculated
Every shift gets a score that is the product of two measures: the impact fraction and the distance fraction. The impact fraction describes how much of the viewport the unstable elements touch between two frames, according to the CLS reference.
Picture an element that fills half the viewport and then drops down by 25% of the viewport height. The area it covers across both frames is 75% of the viewport, so its impact fraction is 0.75, as in the web.dev example.
Shifts are then grouped into bursts called session windows. Shifts with less than 1-second between them stay in the same window, and one window can last at most 5 seconds. Your page’s CLS is the largest burst, not a running lifetime total, per the same reference.
Movement that your visitor triggers gets a grace period. Shifts that arrive within 500 milliseconds of the interaction are treated as expected and left out of the score, according to the optimization guide.
What causes layout shifts?
Content tends to jump when resources load asynchronously or when elements are added to the page before existing content, according to the CLS reference. The usual culprits are:
- Images and videos with unknown dimensions.
- Ads, embeds and iframes without dimensions.
- Content injected dynamically above what a visitor is already reading.
- Web fonts that render larger or smaller than the fallback font shown first.
Problems often hide on your own machine. Test images are frequently already in the developer’s browser cache, and local API calls return quickly, so delays that never show in development become visible to real users, as the CLS reference points out.
How to find where your shifts come from
Lab tools such as Lighthouse typically run a basic page load. CrUX, the Chrome UX Report dataset, measures CLS across the full life of the page, which is why a Chrome DevTools reading can differ from field data, per the web.dev guide. Work through it in this order:
- Run the URL in PageSpeed Insights and compare the real-user CLS with the lab CLS.
- If the two roughly agree, you have a load issue. Lighthouse audits flag images missing width and height and list the elements that shifted.
- If the field value is much higher, look for post-load shifts, such as lazy-loaded content appearing as someone scrolls.
- Remember that Lighthouse often names the elements that were pushed, not the one that pushed them, so check what sits above them.
This sequence follows the optimization guide, which also warns that PageSpeed Insights may fall back to origin-level data when a URL has none, so check which data you are reading.
How to stop layout jumps
Most fixes come down to reserving space before content arrives. Each item below answers one of the causes above:
- Give every image and video explicit width and height, so the browser knows the space to hold.
- Set aside a fixed-size slot for ads, embeds and iframes, even before they load.
- Add late content below what visitors are reading, or inside space you have already reserved.
- Choose a fallback font that renders close to your web font in size.
File weight is a separate job, and the guide to image optimization for web covers it. Reserving layout space is what keeps those images from pushing text around.

Frequently asked questions
Why is my CLS higher in real-user data than in Lighthouse?
Show answer
Lighthouse usually records a simple page load, while field data follows the whole visit. Lazy-loaded content that appears as someone scrolls can add shifts a lab run never sees, as the web.dev guide notes.
Does a layout shift after I click a button count?
Show answer
Not if it begins within 500 milliseconds of your visitor’s interaction, because the browser treats it as expected. A slower transition falls outside that window and can count, according to the web.dev guide.
Is CLS still the sum of every shift on the page?
Show answer
No. The metric used to total each individual shift score across a page’s lifespan, but the CLS reference now describes it as the largest burst of shifts.
Does CLS have a unit like seconds?
Show answer
No, it carries no unit. The number reflects how much content moved and how far, not how long anything took, per the web.dev guide.



