Glossary term

Cumulative Layout Shift (CLS)

CMore terms under C

Cumulative Layout Shift (CLS) measures unexpected movement of visible content. It captures the disruption of things changing position while someone is trying to read or use a page.

A familiar example is an image arriving late and pushing a button down the screen. The page may have looked ready a moment earlier. The person’s intended target has now moved.

See what happens when an image arrives

You aim for the button. Then the page moves.
A late image is about to arrive. Watch where the pointers land.
Animated simulation with fictional pages and pointers. Left: the late image pushes the button away from the intended click. Right: reserved image space keeps the button in place. This demonstrates the disruption, not a measured CLS score.

On the left, the image arrives after the pointer is already aimed at Explore stays. The button drops and the click misses. On the right, the empty image space was there from the start, so the same action reaches the button.

Why a moving page is a problem

A reader can lose their place halfway through a sentence. A shopper can miss Add to basket or hit a different control that slides into its place. Even when nothing serious happens, people have to stop, find the target again and try a second time. The page feels unreliable because something that looked ready was not stable.

Image dimensions can communicate an aspect ratio before the file arrives. This markup describes an illustrative 800-by-450 image:

<img
  src="landscape.jpg"
  width="800"
  height="450"
  alt="A mountain landscape beneath a clear sky."
>

A movement example is not the score

A layout-shift score considers the affected area and how far content moved. CLS uses the largest qualifying burst of those scores, rather than a simple lifetime total of every movement. Some movement following recent user input is excluded. A score of 0.1 or less is the good threshold for the standard field assessment.

Frequently asked questions

What causes cumulative layout shift?

Common causes include images or embeds without space held for them, newly inserted content, and font changes that alter text layout. The relevant event is existing visible content moving unexpectedly, not every visual change on a page.

Is CLS the same as slow loading?

No. A page can load content slowly without moving what is already visible, or load quickly and still move a control unexpectedly. CLS measures stability; LCP measures a loading milestone.

Put it into practice

Master Core Web Vitals

Sources

← Browse Glossary: C