Cumulative Layout Shift (CLS) Explained: Fix Unexpected Layout Shifts for Better SEO

Santaji GadeSEOCore Web Vitals1 month ago83 Views

Cumulative Layout Shift

Cumulative Layout Shift (CLS) measures visual stability by tracking unexpected layout shifts while a page loads. In this guide, learn what causes poor CLS scores, how Google measures them, and the best techniques to fix layout shifts for better Core Web Vitals, improved SEO, and a smoother user experience.

Technical SEO CLS Core Web Vitals Visual Stability

A visitor reaches for the "Submit" button on a lead form. A late-loading promo banner shoves it down half a second before the tap lands, and they hit a blank space instead, or worse, an ad. That single moment is what Cumulative Layout Shift measures, and it is quietly costing sites real conversions, not just Core Web Vitals points.

Cumulative Layout Shift measures how much visible content moves unexpectedly during a page's entire lifespan, not just while it loads. Every unplanned jump, whether from a late image, an injected banner, or a font swap, adds to the score.

We covered CLS alongside LCP and INP in our Core Web Vitals overview, and went deep on the other two in our LCP guide and INP guide. This article completes the set.

Advertisement
Advertisement
0.1

or lower is a good CLS score, measured at the 75th percentile of page visits

62%

of mobile pages still ship at least one image with no reserved dimensions

8-14%

typical bounce rate reduction reported after fixing a site from poor to good CLS

What a Layout Shift Actually Looks Like

Picture the same page loading two different ways.

Unstable Layout
Submit
banner loads here ↑
Stable Layout
space reserved ↓
Submit

CLS Thresholds: Good, Needs Improvement, and Poor

Good
0-0.1
Needs Work
0.1-0.25
Poor
0.25+

How a CLS Score Is Actually Calculated

CLS is unitless, which confuses a lot of people the first time they see it.

According to Parachute Design's 2026 CLS guide, the browser calculates each individual shift by multiplying two components: impact fraction, how much of the viewport was affected, and distance fraction, how far the elements actually moved.

These individual shift scores accumulate within session windows, groups of rapid shifts occurring within one second of each other, capped at five seconds total. The single highest-scoring session window becomes your page's CLS value, not a simple sum of every shift that ever happened.

Five Common Causes of Poor CLS

1

Images Without Width and Height Attributes

According to Sprout Sage Solutions' 2026 CLS guide, this is the single biggest CLS offender. Without explicit dimensions, the browser has no way to reserve space before the image finishes loading.

2

Ads and Embeds With No Reserved Space

Dynamic ad slots and third-party embeds that inject content after the initial layout renders are a frequent, hard-to-predict source of shifting, especially on ad-supported pages.

3

Web Fonts Swapping Late

According to Logos Web Designs' 2026 CLS guide, only about 11% of pages preload their web fonts, and a late font swap can noticeably resize text and push surrounding content.

4

Cookie Banners and Injected Notices

A consent banner that appears at the top of the viewport after the page has already rendered pushes everything below it down, a shift many sites never test for since it happens so early.

5

Animating the Wrong CSS Properties

Animating properties like top, left, width, or height triggers layout recalculation and counts toward CLS. Animating transform and opacity instead avoids this entirely.

Expected vs. Unexpected Shifts: What Actually Counts

Not every layout change counts against your CLS score. Tap through both categories to see the distinction.

A late-loading image pushing text down, a banner injecting itself above existing content, or a font swap resizing a headline are all unexpected shifts, since the user did nothing to trigger them.

According to Parachute Design's guide referenced above, any shift occurring within 500 milliseconds of user input is excluded from CLS calculations. Clicking an accordion to expand it, or tapping a button that intentionally reveals more content, does not count against your score.

Advertisement
Advertisement

How CLS Is Measured Across Impact and Distance

FactorWhat It MeasuresExample
Impact fractionHow much of the viewport was affected by the shiftA banner covering half the visible screen scores higher than a small icon
Distance fractionHow far the shifted elements actually movedContent moving 300px scores higher than content moving 20px
Session windowGroups rapid shifts within 1 second, capped at 5 secondsSeveral small shifts in quick succession combine into one window score
Quick Check: Is Your Site Likely Failing CLS?
Check the boxes that apply to see how likely CLS is a problem for you.

How to Fix the Most Common CLS Problems

Start with images, since they are the most common and easiest fix. Add explicit width and height attributes, or a CSS aspect-ratio value, to every image, ad slot, and embed on the page so the browser reserves the correct space before content arrives.

For fonts, according to Logos Web Designs' guide, using font-display: optional rather than swap, paired with size-adjust overrides, can eliminate font-swap shifts entirely rather than just reducing them.

For ads, embeds, and cookie banners, reserve a fixed-height container in the layout from the very first paint, even before the actual content has loaded into it.

According to CoreWebVitals.io's broader Core Web Vitals reference, this same reserve-space principle applies across all dynamic content types, not just images, so nothing needs to move once it arrives.

Common CLS Mistakes That Undo Good Fixes

The most common mistake is fixing images but ignoring third-party embeds and ad slots, which often cause the largest individual shifts on a page even when every first-party image is properly sized.

A second mistake, according to OnDigitals' 2026 CLS guide, is relying only on the PageSpeed Insights score without investigating which specific element is actually shifting, since the number alone can hide the real underlying issue on pages with complex, dynamic content.

A third mistake is treating a "good" CLS score as permanent. According to TechMarg's deep dive into CLS, new content additions, plugin updates, or design changes can quietly reintroduce shifts that were fixed months earlier, so periodic rechecks matter as much as the initial fix.

Why CLS Still Matters Alongside LCP and INP

A page that loads fast and responds instantly can still feel broken if content keeps jumping around underneath the visitor's cursor.

Google treats all three Core Web Vitals as one connected page experience signal, the same way it treats schema markup and crawl budget as pieces of one larger technical health picture, not isolated boxes to check off separately.

Advertisement
Advertisement

Why CLS Damages Conversions More Than It Damages Rankings

The SEO impact of CLS is real but modest. The conversion impact is often larger and more immediate, since a shifting layout directly interferes with the moment a visitor decides to act.

According to White Label SEO Service's CLS optimization guide, visitors who abandon a form mid-completion or click the wrong button because of a layout shift rarely come back to try again.

The lost conversion happens instantly, while the ranking penalty, if any, unfolds far more gradually.

This is especially costly on high-intent pages like checkout flows, lead forms, and pricing pages, where a single misplaced tap can end a conversion that would otherwise have completed successfully.

Testing for CLS on Mobile, Not Just Desktop

Layout shifts often show up more severely on mobile, since smaller viewports mean the same absolute pixel movement represents a larger share of what the user can actually see.

According to OnDigitals' CLS guide, ads, embeds, and review widgets that arrive after the first paint create disproportionately large shifts on mobile screens compared to how the same elements behave on a wider desktop layout.

Testing exclusively on a desktop browser during development is a common reason CLS problems go unnoticed until real mobile users start experiencing them, since the visual proportions genuinely differ between the two environments.

FAQs on Cumulative Layout Shift (CLS)

What is a good CLS score?
Google considers a CLS of 0.1 or lower, at the 75th percentile of page visits, to be good. Between 0.1 and 0.25 needs improvement, and anything above 0.25 is considered poor.
Does clicking a button that changes the layout count against my CLS score?
No, as long as the shift happens within 500 milliseconds of the user's input. Google excludes these expected, user-triggered shifts from the CLS calculation entirely.
What is the single biggest cause of poor CLS?
Images without explicit width and height attributes are the most commonly cited cause, since the browser has no way to reserve the correct amount of space before the image finishes loading.
How is CLS different from LCP and INP?
LCP measures loading speed and INP measures responsiveness to interaction. CLS measures visual stability, specifically how much visible content moves unexpectedly, whether during loading or later in a session.
Can ads and third-party embeds hurt my CLS score?
Yes, significantly. Ads, embeds, and injected banners that load after the initial layout renders are among the most common and hardest-to-predict sources of poor CLS, especially on ad-supported pages.
Does fixing CLS actually improve conversions, not just SEO?
Yes. Reported case studies commonly show bounce rate reductions of 8 to 14% and conversion rate increases after moving a page from a poor CLS score to a good one, independent of any ranking benefit.

What We Learn Today

CLS measures unexpected visual movement, not just during loading but the whole visit.

A good CLS score is 0.1 or lower, measured at the 75th percentile of visits.

Unsized images are the single biggest, most common cause of poor CLS.

Shifts within 500ms of user input are excluded from the score entirely.

Reserving space for ads, embeds, and fonts prevents most shifts before they happen.

Fixing CLS improves conversions directly, not just search rankings.

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Loading Next Post...
Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...