Core Web Vital
Cumulative Layout Shift (CLS)
How much the layout jumps while the page loads.
- Good
- 0.1 or less
- Needs improvement
- 0.1 to 0.25
- Poor
- over 0.25
What it measures
CLS adds up unexpected layout shifts. Each shift scores the share of the screen that moved times how far it moved, as a share of the screen. Shifts are grouped into bursts, and the worst burst is the page’s CLS. Shifts within half a second of a click, tap or key press don’t count, because the visitor expects them.
How CLS is measured
- Real visitors (field data)
- The Chrome UX Report measures CLS over the whole visit, including shifts while scrolling. The 75th percentile of visits must be 0.1 or less.
- Lighthouse (lab data)
- Lighthouse measures shifts during load only, so it can miss shifts caused by scrolling or late ads. CLS is worth 25% of the Lighthouse performance score.
An example
A banner appears at the top of the screen and pushes a text block down. The text block covers half the screen and moves down by a quarter of it. Together, its old and new positions cover three quarters of the screen, so the shift scores 0.75 × 0.25 ≈ 0.19: “needs improvement” from one banner. Showing the banner as an overlay at the bottom brings that shift to 0.
Common causes of a poor CLS
- Images, videos and embeds without a width and height.
- Ads, banners or cookie notices inserted above existing content.
- Web fonts that swap in at a different size from the fallback.
- Content loaded by JavaScript that pushes what’s already there.
How to improve it
- Size every image and embed. Set width and height attributes, or aspect-ratio in CSS, so the browser saves the space.
- Reserve space for late content. Give ad slots, embeds and banners a fixed minimum height, or show them as overlays.
- Match the fallback font. Use size-adjust and other font metric overrides so the swap doesn’t move text.
- Animate with transform. Move things with transform and opacity, not top, left, width or height.
CLS questions
What is a good CLS score?
0.1 or less for at least 75% of visits. Between 0.1 and 0.25 needs improvement, and over 0.25 is poor.
Why is my field CLS worse than the lab?
The lab test only watches the page load. Real visitors scroll, so ads, lazy-loaded embeds and sticky headers that shift later show up only in field data.
Does lazy loading cause layout shifts?
Only when the lazy image has no width and height. With the size set, the browser keeps an empty box of the right shape until the image arrives.
How do I find what shifted?
In Chrome DevTools, the Performance panel marks each layout shift and the elements that moved. Lighthouse also lists the elements behind the biggest shifts.