Marketing term, content and SEO

Cumulative Layout Shift (CLS)

Cumulative Layout Shift (CLS) is a Core Web Vitals metric that measures how much visible content unexpectedly moves on a page, with 0.1 or less rated good.

Also called: CLS, cumulative layout shift, layout shift, CLS score, page jumping

Cumulative Layout Shift (CLS) lives in attract, the part of the funnel about getting found, near related terms like Core Web Vitals, Largest Contentful Paint (LCP) and Interaction to Next Paint (INP) (the blue squares).

Cumulative Layout Shift, or CLS, is a Core Web Vitals metric that measures how much visible content moves around unexpectedly while a page is open. It's the jump when an image or banner loads and the button you were about to tap slides away. Lower is better. Google rates 0.1 or less as good.

How it works

Each unexpected shift gets a score:

Layout shift score = impact fraction x distance fraction

  • Impact fraction: the share of the viewport affected by the moving elements, counting where they were and where they ended up.
  • Distance fraction: the farthest any element moved, divided by the viewport's largest dimension.

Shifts are grouped into session windows. A window is a burst of shifts with less than one second between them, capped at five seconds. CLS is the total of the worst window during the visit. Shifts within half a second of a click, tap or key press don't count, because users expect the page to change after they act.

Google's thresholds, judged at the 75th percentile of real visits:

  • Good: 0.1 or less
  • Needs improvement: above 0.1 up to 0.25
  • Poor: above 0.25

Field data from real users, shown in Search Console and the Chrome UX Report, is what counts. Lab tools catch load-time shifts but can miss ones that happen later as people scroll.

The common causes are:

  • Images, videos and iframes without width and height set.
  • Ads and embeds with no reserved space.
  • Promo bars, cookie banners or other content inserted above what's already shown.
  • Web fonts that swap in and change text size.
  • Animations that move elements by changing position instead of using transforms.

Example

A mobile landing page has an 800-pixel-tall viewport (all numbers hypothetical). Two shifts happen within the same window.

Shift Impact fraction Distance fraction Score
Promo bar loads at the top and pushes everything down 60 px 0.90 60 / 800 = 0.075 0.068
Hero image with no dimensions loads and pushes text down 200 px 0.60 200 / 800 = 0.25 0.150
Window total 0.218

A CLS of 0.218 needs improvement. The fixes are small. The team reserves space for the promo bar with a fixed minimum height, and sets width and height on the hero image so the browser saves its spot. Both shifts disappear, and the page's CLS drops close to zero.

By company size

Small business: Theme-based sites on Shopify, WordPress and similar platforms often shift because of app-injected widgets: review stars, popups, announcement bars and chat bubbles. Audit installed apps and remove the ones you don't use.

Mid-market: Marketing scripts are the usual cause. A/B testing tools that swap content after load, chat widgets and personalization blocks all shift pages. Set rules for how new scripts get added, and reserve space for anything that loads late.

Enterprise: Ad-supported pages, personalization engines and many teams adding components create constant risk. Use real-user monitoring, set CLS budgets in the release process and catch regressions before they ship.

Why it matters for GTM teams

Layout shift hurts conversion directly. People tap the wrong button, lose their place and stop trusting the page. The ranking effect is real but modest, so the stronger case is user experience. We'd usually fix CLS first among the three vitals, because the fixes tend to be cheaper than work on Largest Contentful Paint or Interaction to Next Paint. It's also a quick win inside broader page speed work.

Common mistakes

  • Testing only in lab tools on a fast desktop connection.
  • Ignoring shifts that happen after load, during scrolling.
  • Cookie banners that push content down instead of overlaying it.
  • Lazy-loading images without reserving their space.
  • Letting A/B testing tools rewrite headlines after the page renders.
  • Loading a headline font that swaps in at a different size.

FAQ

What is a good CLS score?

Google 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. The score is judged at the 75th percentile of real page visits. Aim to keep it as close to zero as you can, since most causes are fixable.

What causes high Cumulative Layout Shift?

The usual causes are images and videos without set dimensions, ads and embeds without reserved space, banners or content inserted above existing content, and web fonts that change text size when they load. Animations that move elements by changing their position instead of using transforms can also add shifts.

Does CLS affect SEO rankings?

Core Web Vitals, including CLS, are part of the page experience signals Google uses, but they are one factor among many and relevance matters more. The bigger effect is often on users: pages that jump cause misclicks and frustration. Fixing CLS is worth doing for conversion alone.

See all content and SEO terms ↳

Used in these articles