Definition
CLS (Cumulative Layout Shift) measures how much visible content unexpectedly moves on a page; a score of 0.1 or less is good.
CLS explained
CLS measures the largest burst of layout shift scores for unexpected layout shifts during the whole time a page is open. A shift happens when a visible element changes position without the user causing it, for example when an image loads above the text you are reading and pushes it down.
web.dev rates a CLS of 0.1 or less as good, between 0.1 and 0.25 as needing improvement, and above 0.25 as poor, at the 75th percentile of page loads. Common causes it lists include images and videos without dimensions, content added dynamically above existing content, web fonts that render at a different size from the fallback, and third-party ads or widgets that resize themselves.
The fixes are mostly about reserving space: set width and height (or an aspect ratio) on images and embeds, give banners and ad slots a fixed area before they load, avoid inserting content above what the user is reading, and use font loading strategies that limit size changes.
Example
A cookie banner and a promotional bar load a moment after your page appears and push everything down, so visitors tap the wrong link. Reserving space for both in the page's initial layout removes the jump and brings CLS below 0.1.
Why it matters
Layout shifts cause mis-clicks and make a site feel unreliable, which costs trust and conversions.
Related service
Page Speed Optimization
We fix LCP, INP and CLS issues so pages load fast and respond quickly for real users.
Page speed and Core Web Vitals optimizationSources
- web.dev: Cumulative Layout Shift (CLS) (updated 12 Apr 2023)
Published by Vidern, founded and led by Malhar Shah. Updated .
Find out what's holding your site back
Get a free SEO audit with prioritized fixes, delivered within 48 hours.
Related terms
- Core Web VitalsCore Web Vitals are three Google metrics for real-user experience: loading (LCP), responsiveness (INP) and visual stability (CLS).
- LCP (Largest Contentful Paint)LCP (Largest Contentful Paint) measures how long the largest image, video or text block in view takes to render; 2.5 seconds or less is good.
- INP (Interaction to Next Paint)INP (Interaction to Next Paint) measures how quickly a page visibly responds to clicks, taps and key presses; 200 milliseconds or less is good.
- Above the foldAbove the fold is the part of a web page visible without scrolling, where visitors decide within moments whether the page is worth their time.