In short
- CLS is impact fraction multiplied by distance fraction for each unexpected shift, and the page's score is the worst burst of shifts (a session window), not the sum of the whole visit.
- "Good" is 0.1 or less at the 75th percentile of real visits, and poor is over 0.25.
- Five things cause almost every shift: media with no size, injected banners, ads and embeds, web font swaps and animations that change layout. Each fix reserves the space before the content arrives.
- On 43 UK homepages we measured in the lab, 33 scored good, and the cookie consent dialog was the biggest single shift on 10 of the 33 that shifted at all.
Cumulative Layout Shift (CLS) measures how much visible content moves unexpectedly while someone uses a page, and a good score is 0.1 or less. It is a unitless score: each shift scores the share of the screen that moved times how far it moved, and the page's CLS is its worst burst of shifts. Almost every shift has one of five causes, and every fix is the same idea: reserve the space before the content arrives. This guide covers how the score is calculated, what counts as good, the five causes and their fixes, how to find the element that moved, and what we found when we measured CLS on 43 real UK homepages.
If you have not read the broader picture yet, Core Web Vitals Explained covers LCP, INP and CLS together and is the better starting point. For the loading vital, see the Largest Contentful Paint deep dive, and for responsiveness, Interaction to Next Paint.
What is a good CLS score?
A good Cumulative Layout Shift score is 0.1 or less. Between 0.1 and 0.25 needs improvement, and over 0.25 is poor. Google grades the 75th percentile of real page views from the Chrome UX Report (CrUX), separately for phones and desktops, so three in four visits have to stay at or under 0.1 for the page to pass.
Read the phone grade first. Phones have narrower screens, so the same banner or image covers more of the viewport and moves the content a larger share of the screen height.
How Cumulative Layout Shift is scored
Every time an element that was already visible moves without the user asking for it, the browser scores that shift from two numbers:
Impact fraction is how much of the viewport the moving content covers, taking its position before and after the move together.
Distance fraction is how far the content moved, as a share of the viewport's larger side (the height, on a phone held upright).
layout shift score = impact fraction × distance fraction
Some movement never counts. Shifts within 500 ms of a tap, click or key press are excluded, because the visitor caused them. Content that moves with CSS transform does not count either, because it never changes the layout. And a brand new element appearing is not a shift on its own; only the content it pushes is.
The cumulative part is easy to get wrong. Chrome groups shifts into session windows: a window starts with a shift, takes in every further shift that arrives less than a second after the last one, and closes after a one-second gap or five seconds in total. The page's CLS is the highest-scoring window, not the sum of every shift in the visit.
That has a practical consequence. A cookie banner and an ad slot that both land in the same second compound each other, so separating them, or fixing either one, can be enough to bring the window under 0.1.
The five causes of layout shift
Every layout shift is something that took up space after the page had painted. These five account for almost all of them.
1. Media without reserved dimensions
Images, videos and iframes with no width and height (or CSS aspect-ratio) are laid out at zero height, then open the page up the moment the file arrives. This is the classic cause, and it is still common on user-uploaded content and CMS fields where the dimensions were never stored.
2. Injected content
Anything inserted above content people are already reading pushes it down:
- Cookie consent banners that push the page down instead of overlaying it.
- Promo bars and "get the app" strips injected by a script with no reserved slot.
- Late personalisation, such as a "welcome back" panel or a stock message, that renders after the page.
3. Ads and embeds
Ad slots resize when the ad server returns a creative bigger than the placeholder, and embeds (videos, social posts, maps, reviews widgets) swap in at their own size once their script runs. Either way, the final size is decided after your layout has painted.
4. Web font swap
When a custom font loads after the fallback font has already painted the text, the two rarely share the same character widths and line height. The text reflows, a paragraph gains or loses a line, and everything below it moves. Hiding the text until the font arrives (FOIT, flash of invisible text) hides the flash but not the reflow.
5. Animations that change layout
CSS animations and transitions that change width, height, top, left or margin move the neighbouring content on every frame. Unless a tap or key press started them in the last 500 ms, every one of those frames is a layout shift.
How to fix each cause
| Cause | Fix |
|---|---|
| Images, video and iframes with no size | Set width and height attributes (the browser works out the aspect ratio from them), or use CSS aspect-ratio |
| Injected banners and bars | Overlay them with position: fixed or absolute, or reserve their height in the first paint |
| Ads and embeds | Wrap them in a container with a min-height for the largest creative or embed you accept |
| Web font swap | Preload the font, and use a fallback with size-adjust, ascent-override and descent-override set to match it |
| Layout animation | Animate transform and opacity only, never width, height, top or margin |
A few of these deserve more detail.
Width and height still work on responsive images. The attributes do not fix the rendered size: CSS such as max-width: 100%; height: auto still scales the image. The browser only uses them to work out the aspect ratio, so it reserves the right amount of space at any width. For elements with no natural size, such as a placeholder <div> for a video player, aspect-ratio: 16 / 9 does the same job. With art direction (different crops through <picture>), give each <source> its own width and height.
Reserve space for the worst case, not the average. Size an ad container for the largest creative you accept in that slot and let smaller ones sit inside it. A slightly too big box costs a little white space; a resize costs a layout shift for everything below it. If a slot sometimes returns nothing, keep the reserved space or show a placeholder rather than collapsing it.
Most teams stop too early on fonts. Preloading the font file makes the swap happen sooner, but if the fallback's metrics differ from the real font you still get a shift, just an earlier one. The size-adjust, ascent-override, descent-override and line-gap-override descriptors in @font-face let you tune a local fallback font so its box matches the web font closely, and then the swap barely moves anything. font-display: optional avoids the swap altogether on slow loads by keeping the fallback for that visit.
Animate on the compositor. transform: translate() and transform: scale() do most of what people reach for top, margin or width to do, without touching layout. If an element needs to grow, scale it up from a slightly smaller size instead of animating its height.
Keep pages eligible for the back/forward cache. When a visitor goes back to a page the browser kept in its back/forward cache, the page is restored exactly as they left it, with nothing left to load or shift. Avoiding things that block that cache, such as an unload handler or Cache-Control: no-store on pages that do not need it, removes those visits' shifts entirely.
On WordPress, images without dimensions usually come from theme templates and page builders. WordPress images missing width and height attributes covers how they get there and how to fix ones already published.
How to measure CLS and find what moved
Measuring CLS takes two kinds of data, and you need both.
- Field data is what real Chrome visitors experienced, from the Chrome UX Report: the Core Web Vitals report in Search Console groups failing URLs that look alike, and the top of PageSpeed Insights shows the field numbers for a single URL and the whole site. This is the number Google grades.
- Lab data is one simulated load in a controlled browser: Lighthouse, the lower half of PageSpeed Insights, or the Performance panel in Chrome DevTools. It cannot tell you whether you pass, but it can tell you which element moved and why.
Lighthouse's layout shift culprits list names each element that moved, its share of the score and, where it can tell, a cause such as "Media element lacking an explicit size" or "Web font". The Performance panel in Chrome DevTools does the same frame by frame: record a page load, find the layout shift markers in the timeline, and select one to highlight what moved and see where it was before and after. For shifts that happen later in a visit, Google's Web Vitals extension logs each shift to the console with the element responsible while you browse.
A lab run that shows no shift does not clear the page. Lighthouse loads the page once in a clean browser and stops, so it misses shifts that happen after load (lazy embeds, infinite scroll, late ads), content shown only to logged-in or returning visitors, and font swaps that only happen on slow connections. Scroll the page, wait, and interact with it while the Performance panel records to catch those.
Crawl Cove helps with the first and last steps of that workflow. When a crawl ends it asks the Chrome UX Report for the whole site's real-user vitals and for the phone vitals of your top 20 pages, CLS included; for any other page, the URL Inspector loads the field data or runs Lighthouse locally. A page whose vitals fall in Google's poor range becomes a finding in the audit. Across the whole crawl it also flags every page with images missing width or height, the most common cause. It does not name the element that moved; that is still the Performance panel's job. The Core Web Vitals checker page covers what it reads and where.
The Inspecting a URL guide shows how to pull this panel for any page.
Which shifts actually happen on real UK homepages?
The top guides all list the causes, but none measure which ones show up on real sites. So on 16 November 2026 we ran Lighthouse 13.6 on 44 UK homepages, the same set as our LCP study: the highest-ranked .co.uk domains in the Tranco list that had answered our October fetch with a page. We used its phone profile with throttling, as a first visit in a clean browser, from our server in Germany. One redirected to google.com, which was already in the list, so 43 remained.
| What we measured | Homepages |
|---|---|
| Good lab CLS (0.1 or less) | 33 of 43 |
| Needs improvement (over 0.1, up to 0.25) | 6 of 43 |
| Poor (over 0.25) | 4 of 43 |
| Shifted at all (any shift of 0.001 or more) | 33 of 43 |
| Biggest shift was the cookie consent dialog | 10 of 33 |
| Biggest shift was an image without width and height | 5 of 33 |
| Lighthouse named no cause for the biggest shift | 16 of 33 |
| At least one image without width and height | 22 of 43 |
The cookie banner is the most common single culprit. On 10 of the 33 homepages that shifted at all, the biggest shift was the consent dialog itself, usually a consent platform's message box that resized or moved as it loaded. On The Independent, HuffPost UK and NewsNow it was the whole score: without it, each would have been under 0.1. Every first-time visitor sees that banner, so it counts in the field as well as in the lab. Render the consent box as an overlay with a fixed size from the first paint, and test with cookies cleared, because your own browser stopped showing it to you long ago.
Images without dimensions are common but rarely the worst shift. 22 of the 43 homepages had at least one image without width and height, but an unsized image was the biggest shift on only 5. Many such images sit below the first screen or inside a box that already has a fixed size, so they move nothing on load. They are still worth fixing in the template, because the day one lands in a hero or a slot without a height, it becomes the worst shift on the page. If your CLS is poor today, though, look at banners, carousels and late sections before auditing every image.
Lighthouse often cannot say why. For 16 of the 33 biggest shifts it named no cause: a carousel slide on EE, the whole main column on The Spectator, the page body on Currys Cloud Backup. When the culprits list names an element but no reason, record the load in the Performance panel and look at what changed just before the shift: a script that finished, a style that applied, or content that arrived.
One lab load per site is a snapshot. News homepages change all day, and a visitor who has already answered the cookie question never sees the banner, so treat each bar as one moment on that site rather than its field score.
Did the fix work?
Check the lab straight away: run Lighthouse on the same URL with the same settings and confirm the shift you fixed has gone from the culprits list. Then wait for the field data. The Chrome UX Report is a rolling 28 days of visits, so the old shifting visits age out gradually, and Search Console's Validate fix runs its own 28-day monitoring session before it marks the issue fixed. Because the report groups similar URLs, a fix made in a shared template clears the whole group at once, which is another reason to fix shifts in templates rather than page by page.
Wrap-up
Most CLS work comes down to reserving space. Reserve space for every image, video, iframe, ad and embed before it loads. Overlay banners instead of pushing content down. Match your fallback font to the real one so the swap does not reflow. Animate with transform and opacity so motion never touches layout. Judge the result at the 75th percentile against 0.1 rather than on your own fast connection, and when a page fails, find the element that actually moved before fixing the most obvious guess. A Core Web Vitals checker that turns a poor CLS into a tracked finding keeps the vital from quietly dragging an otherwise fast page down; see Crawl Cove's features for how audits surface it.
Frequently asked questions
- Is CLS measured in seconds?
- No. CLS is a unitless score: impact fraction times distance fraction for each shift, added up within session windows, and the worst window is the page's score. There is no time component.
- What is a good CLS score?
- 0.1 or less at the 75th percentile of real page views, measured separately for phones and desktops. Between 0.1 and 0.25 needs improvement, and over 0.25 is poor.
- What causes layout shift?
- Something taking space after the page has painted: images, videos and iframes with no width and height, banners injected above content, ad slots and embeds that resize, web fonts that swap in with different metrics, and animations that change height, top or margin.
- Does a CSS animation always hurt CLS?
- Only if it changes a layout property such as width, height, top or margin. Animations built on transform and opacity never register as a layout shift.
- Why is my Lighthouse CLS 0 when Search Console says the page fails?
- Lighthouse measures one page load in a clean browser and then stops. Real visitors scroll, wait for late ads and embeds, and use slower phones, so shifts that happen after load only appear in the field data Search Console reads.
- How long does Search Console take to show a CLS fix?
- Up to about four weeks. The Chrome UX Report is a rolling 28-day window, so old visits age out gradually, and Validate fix monitors for 28 days before it marks the issue fixed.