Cumulative Layout Shift (CLS) Definition

Cumulative Layout Shift (CLS) is a web performance metric that measures the visual stability of a page: how much visible content moves unexpectedly while the page is being used. It is the reason you sometimes tap the wrong button because the page suddenly jumped.

CLS is one of the three Core Web Vitals. Unlike the other two, it is not measured in seconds but as a score. A good CLS is 0.1 or less.

cls definition

What Is Cumulative Layout Shift?

A layout shift happens when an element that is already visible changes position from one frame to the next, for example when an image without reserved space loads above a paragraph and pushes it down. Each unexpected shift gets a score based on two factors:

  • the impact fraction: how much of the viewport the moving elements affect;
  • the distance fraction: how far they move, relative to the viewport.

CLS groups shifts that happen close together into session windows (with less than one second between shifts and a maximum of five seconds per window) and reports the largest window. Shifts that happen within 500 milliseconds of a user interaction, such as opening a menu, are expected and excluded.

📌 In brief
Cumulative Layout Shift (CLS) definition: how this Core Web Vital measures visual stability, the 0.1 threshold, what makes pages jump and how to fix it.
On the menu:
  • CLS Thresholds
  • Why CLS Matters for SEO
  • Common Causes of Layout Shifts
  • How to Improve CLS
  • How to Measure CLS
By SeoYass, SEO consultant since 2010 · Updated on

CLS Thresholds

CLS Rating
0.1 or less Good
Between 0.1 and 0.25 Needs improvement
More than 0.25 Poor

As for the other Core Web Vitals, the target applies to the 75th percentile of page loads, separately on mobile and desktop.

Why CLS Matters for SEO

  • Core Web Vitals: CLS is part of Google’s page experience signals, with LCP and INP, which Google describes as one factor among many.
  • Frustration and mistakes: content that jumps makes visitors lose their place or tap the wrong link, sometimes an ad or the wrong product.
  • Trust: an unstable page feels unfinished and unprofessional.
  • Conversions: buttons that move are harder to tap, especially on mobile.

Common Causes of Layout Shifts

  1. Images and videos without dimensions: the browser does not know how much space to reserve until the file loads.
  2. Ads, embeds and iframes that appear or resize after the content.
  3. Content injected above existing content: cookie banners, promotional bars or notices inserted at the top.
  4. Web fonts: when the final font loads and replaces the fallback font, text can change size and move surrounding content.
  5. Late CSS: styles applied after the first render, changing sizes and positions.
  6. Animations that move elements by changing layout properties instead of using transforms.

How to Improve CLS

  1. Set width and height attributes on images and videos, or use CSS aspect-ratio, so space is reserved in advance.
  2. Reserve space for ads and embeds with a fixed minimum height.
  3. Display banners without pushing content: overlay cookie notices at the bottom of the screen instead of inserting them at the top.
  4. Optimise font loading: preload key fonts and choose fallback fonts with similar dimensions.
  5. Load critical CSS early and avoid styles that change the layout after display.
  6. Animate with transforms rather than properties such as top, height or margin.

How to Measure CLS

  • Field data: the Core Web Vitals report in Google Search Console and PageSpeed Insights field data show the CLS of real visits, including shifts that happen later while scrolling.
  • Lab data: Lighthouse measures shifts during the initial load only, so it can underestimate CLS.
  • Chrome DevTools: the Performance panel and the rendering option that highlights layout shift regions show exactly which elements move.

CLS on WordPress and Page Builders

On WordPress sites, frequent causes are images inserted without dimensions in older content, sliders that resize after loading, consent banners inserted at the top of the page, and optimisation settings that delay CSS until after the first render. With page builders, a CSS optimisation that removes or delays styles can make sections render unstyled, then jump into place. Every performance change should be checked on mobile before and after.

Example: A Florist's Product Page

A florist in York finds a poor CLS on its product pages. In DevTools, the main photo has no dimensions, a promotional bar is inserted at the top after loading, and the price block moves when the web font loads. The fixes: width and height on all product images, the promotion shown as a fixed bar at the bottom of the screen, and a preloaded font with a close fallback. The “Add to basket” button now stays exactly where visitors expect it, and the field CLS drops below 0.1.

Common Mistakes

  • Removing image dimensions in the name of responsive design; dimensions and responsive CSS work together.
  • Checking only the first load, while shifts during scrolling also count in field data.
  • Lazy-loaded content without reserved space, such as reviews or maps that push content down.
  • Ignoring mobile, where shifts are more frequent and more disruptive.

How the Layout Shift Score Is Calculated

Each layout shift receives a score equal to its impact fraction multiplied by its distance fraction. Imagine an element that occupies half of the viewport and moves down by a quarter of the viewport height. The area affected by the element, before and after the move, covers about 75% of the screen, so the impact fraction is 0.75. The distance fraction is 0.25. The score of this single shift is 0.75 × 0.25, about 0.19, already above the 0.1 threshold. This explains why one large late banner at the top of a mobile page can be enough to fail CLS.

Cumulative Layout Shift: Key Takeaways

CLS measures how much visible content moves unexpectedly during a visit. A good score is 0.1 or less at the 75th percentile of real visits. Reserve space for images, videos, ads and embeds, avoid inserting content above what visitors are reading, load fonts and CSS carefully and animate with transforms. Check field data in Search Console, and use DevTools to see exactly which elements move. See also Core Web Vitals.

From theory to stable pages

Knowing what CLS measures is the first step. The next is finding which elements make your pages jump, and fixing them.

  • An action plan adapted to your situation
  • Clear explanations, no needless jargon
  • Direct application to your sector
CLSDefinitionCustomers ↑
// RESULTS & REFERENCES

From diagnosis to results, step by step

Here is how I handle cls issues on client sites, and what my clients say about my work.

+350COMPLETED PROJECTS
+320SATISFIED CLIENTS
5.0 ★VERIFIED GOOGLE REVIEWS
+17YEARS OF EXPERIENCE
001REFERENCES / VERIFIED REVIEWS

What Is Cumulative Layout Shift?

A layout shift happens when an element that is already visible changes position from one frame to the next, for example when an image without reserved space loads above…

EXPERTISEMETHODFIELD WORK
11ACTIVE PROJECTS
5.0GOOGLE RATING
READ THE REFERENCES →
002PORTFOLIO / PROJECTS

CLS Thresholds

CLSRating0.1 or lessGoodBetween 0.1 and 0.25Needs improvementMore than 0.25Poor
As for the other Core Web Vitals, the target applies to the 75th percentile of page…

EXPERTISEMETHODFIELD WORK
6-12MONTHS FOR SOLID RESULTS
+350COMPLETED PROJECTS
VIEW THE PORTFOLIO →
003METHOD / EXPERTISE

Why CLS Matters for SEO

Core Web Vitals: CLS is part of Google's page experience signals, with LCP and INP, which Google describes as one factor among many.Frustration and mistakes: content…

EXPERTISEMETHODFIELD WORK
100%POSITIVE REVIEWS 2026
11ACTIVE PROJECTS
SEE MY SEO SERVICES →
WANT TO BE THE NEXT CASE?Tell me about your project and I will reply with a first diagnosis.
SEND A BRIEFFREE MINI-AUDIT

FAQ: CLS

What is Cumulative Layout Shift?

A metric measuring the visual stability of a page: how much visible content moves unexpectedly while the page is used.

What is a good CLS score?

0.1 or less at the 75th percentile of page loads. More than 0.25 is considered poor.

What causes layout shifts?

Images without dimensions, ads and embeds, content injected at the top of the page, web fonts and late CSS.

Do shifts after a click count in CLS?

Shifts within 500 milliseconds of a user interaction are expected and excluded from CLS.

Why is my CLS worse in Search Console than in Lighthouse?

Lighthouse only measures the initial load, while field data includes shifts that happen later, for example while scrolling.

How do I find which element shifts?

Use the Chrome DevTools Performance panel or the layout shift regions option, or the diagnostics in PageSpeed Insights.

Do you want to work with me?

SeoYass, SEO consultant17+ years of SEO
Your SEO consultant
SeoYass

I am SeoYass, an SEO expert with over 17 years of experience. I have worked with small and medium-sized businesses, successfully completing more than 350 projects.

Passionate about local SEO, I continue to learn and refine my strategies to deliver the best performance for my clients.

350+Projects
5.0 ★Google reviews
17+Years of experience