Skip to the content
Start free

Cumulative Layout Shift (CLS)

Cumulative Layout Shift (CLS) is a score for how much a page’s content moves about unexpectedly while someone uses it. web.dev sets good at 0.1 or less and poor at more than 0.25. It has no unit: 0 means nothing jumped. It is one of Google’s three Core Web Vitals, and the usual fixes are simple: give pictures a size, and reserve room for anything that loads late.

What is CLS? #

A layout shift happens when something already on screen changes position without the visitor asking. web.dev says a layout shift is only bad if the user is not expecting it. CLS adds up those unexpected moves into one number. It sits beside loading speed, Largest Contentful Paint (LCP), and responsiveness, Interaction to Next Paint (INP), in Core Web Vitals.

What are the thresholds? #

Score Rating
0.1 or less Good
More than 0.1, up to 0.25 Needs improvement
More than 0.25 Poor

web.dev says to judge it at the 75th percentile of page loads, split by mobile and desktop. So three in four visits should score 0.1 or less. web.dev’s Web Vitals page says a page passes when all three metrics meet their targets at that percentile.

Why does it matter for people? #

A button that jumps just as you tap it leads to the wrong click, a lost place in the text or a mistaken order. On a phone, a late banner can push “Add to basket” under the visitor’s thumb at the wrong moment. Pages that settle quickly feel calm and honest; it is part of visual trust. Frustrated visitors leave, and you may see it as a high bounce rate or a low engagement rate on a landing page. It also matters for web accessibility: people who zoom, or read slowly, lose their place more easily.

Google Search Central says it highly recommends site owners achieve good Core Web Vitals for success with Search. It says they, along with other page experience aspects, align with what its core ranking systems seek to reward. Google does not say a good score guarantees a ranking. Treat CLS as part of page speed and technical SEO, not a shortcut. See mobile SEO.

Why does it matter for AI answers? #

An AI crawler reads your HTML, not your screen, so CLS does not change what it can read. But the fixes overlap. Width and height on pictures, real text instead of late-injected widgets, and content in the HTML rather than added by script all help bots too. See JavaScript SEO. And the people an AI sends you still meet the jumping page.

How is the score worked out? #

web.dev scores each shift as impact fraction times distance fraction. The impact fraction is how much of the screen the moving elements cover, before and after. The distance fraction is how far they moved, compared with the screen’s largest side. CLS is not the total of every shift during a visit. web.dev groups shifts into session windows: bursts with less than 1 second between shifts and at most 5 seconds long. The score is the window with the highest total.

Worked example: one late notice #

In web.dev’s own example, an element filling half the screen moves down by a quarter of the screen height. Its old and new positions together cover 75% of the screen (impact fraction 0.75), and it moved 25% of the screen height (distance fraction 0.25). The shift scores 0.75 × 0.25 = 0.1875, already past the 0.1 line for good.

Picture a bike shop’s product page where a delivery notice loads late above the product photo and pushes it down that far. Reserving the space removes the shift. Giving the image its width and height in the HTML lets the browser hold the room before the file arrives:

<img src="helmet.jpg" width="640" height="360" alt="Blue road cycling helmet, side view">

The delivery notice gets a fixed slot too, or moves below the photo, where it pushes nothing the visitor is reading.

Which shifts do not count? #

  • Shifts you asked for. Shifts within 500 milliseconds of a tap, click or key press are flagged so they can be left out. Scrolling does not count as input for this.
  • Animations with transform. web.dev says the CSS transform property lets you animate elements without causing layout shifts.
  • Back and forward. If a page is restored from the browser’s back/forward cache, web.dev says its CLS should reset to zero.

What usually causes it? #

web.dev’s guide to optimising CLS lists the most common causes:

  • images or videos with no width and height set;
  • ads, embeds and iframes with no size;
  • content injected after the page has shown, such as a cookie banner pushed in at the top;
  • web fonts that render larger or smaller than the fallback font.

How do I fix it? #

Cause Fix web.dev gives
Images and video Always include width and height, or use CSS aspect-ratio
Ads and embeds Reserve the space in advance with min-height or aspect-ratio
Late content Avoid inserting new content without a user interaction; use placeholders, overlays or place it lower down
Web fonts Use font-display: optional, match the fallback font’s size, preload key fonts
Animations Animate with transform, not top or left

web.dev warns that removing a reserved ad slot can cause as much shift as inserting one. Keep the slot, even when no advert fills it.

Common mistakes #

  • Trusting a lab test alone. web.dev says lab tools usually measure only the first load, while CLS is measured over the full life of the page. A big gap between lab and field often points to shifts after load.
  • Lazy pictures with no size. Lazy loading can raise CLS if a picture arrives late with no space held.
  • Banners at the top. Consent bars and offers pushed in above the content are a common cause. See consent mode v2 for UK websites.
  • Testing on desktop only. Mobile and desktop are judged apart.

How to check it #

  1. In Google Search Console, open the Core Web Vitals report. It groups similar pages as good, need improvement or poor, using real visitor data from the Chrome UX Report. A group takes the status of its worst metric.
  2. Run a page through PageSpeed Insights for its field data and a lab test. Our own Core Web Vitals Checker and Page Speed Checker are coming soon.
  3. Already have the numbers? Type your LCP, INP and CLS into our Core Web Vitals Calculator to see if each one is good, needs work or poor.
  4. In Chrome DevTools, record a page load, then scroll and tap as a visitor would. Shifts after load are the ones lab scores miss. Session recordings and heatmaps, for example in Microsoft Clarity, can show where people tap just as something moves.
  5. Check every picture has a width and height. The Image SEO Checker checks sizes, formats and alt text. See image SEO and WebP and AVIF.
  6. Find what injects content late. Use the Tracking Checker (every tracker and pixel) and the Cookie Checker, and check your theme with the tech stack checker.
  7. Score the whole page with the SEO Checker or, for 100 pages, the SEO Audit. Set your site beside a rival’s with Compare Two Websites, and run the AI Readiness Checker for what bots can read.
  8. After a fix, click “Start Tracking” in the Search Console report. Google says it starts a 28-day monitoring session.
  9. Over time, real-user speed (Core Web Vitals from your own visitors), the page speed monitor and the asset diet report are in URSY Pro, opening in stages. See why your website is slow and SEO audit.

What URSY.com counts #

Our methodology lists what our cookie-free counter records today: a page view each time a person’s browser loads a page and runs it, and a daily visitor code. Layout shift is not among those figures yet. Real-user speed from your own visitors is in URSY Pro, opening in stages. Until then, use Search Console and the Chrome UX Report for field CLS.

Questions #

What is a good CLS score? #

0.1 or less, at the 75th percentile of page loads, on both mobile and desktop.

Why is my lab score good but Search Console poor? #

Lab tests usually measure only the first load. Real visitors scroll, tap and wait, and late shifts add up. Fix what moves after load.

Does CLS affect Google rankings? #

Google says good Core Web Vitals align with what its core ranking systems seek to reward, along with other page experience aspects. It does not promise a ranking for a good score.

They can, if they push content down. A banner that overlays the page, or has its space reserved, does not shift the content.

Can a whole site be poor because of one template? #

Yes. Search Console groups similar pages, so one shared header or product template can put many pages in the same group. See ecommerce SEO and WordPress SEO.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Cumulative Layout Shift (CLS). URSY. Updated 26 November 2026. https://ursy.com/wiki/cumulative-layout-shift/ · Section links

Tools for this

All 871 wiki entries, A to Z →