---
title: "What is cumulative layout shift (CLS)?"
description: "CLS measures visual stability. Learn what it is, thresholds, and how to prevent layout shifts."
canonical_url: "https://unlighthouse.dev/glossary/cls"
---

> Index of every page on this site: [llms.txt](https://unlighthouse.dev/llms.txt)

::interactive-cls-playground
::

Cumulative Layout Shift (CLS) measures visual stability - how much content unexpectedly moves during loading. It's one of Google's three [Core Web Vitals](https://unlighthouse.dev/glossary) and affects both UX and search rankings.

## Thresholds

| Score      | Rating            |
| ---------- | ----------------- |
| ≤ 0.1      | Good              |
| 0.1 - 0.25 | Needs Improvement |
| > 0.25     | Poor              |

Aim for a score of 0.1 or less at the 75th percentile of page loads to pass the [Google threshold](https://web.dev/articles/cls).

## How Lighthouse calculates CLS

CLS quantifies unexpected shifts by multiplying impact fraction (viewport affected) by distance fraction (how far elements moved). User-initiated shifts within 500ms of interaction don't count.

## Why it matters

Layout shifts cause accidental clicks and lost reading position. [79% of mobile sites pass CLS](https://almanac.httparchive.org/en/2024/performance) - it's the best-performing Core Web Vital. [Redbus reduced CLS to 0 and saw 80-100% higher conversions](https://web.dev/case-studies/vitals-business-impact).

## Common issues

- Images without width/height dimensions
- Ads and embeds without reserved space
- Web fonts causing text reflow
- Dynamically injected content

## Measure CLS

- [Core Web Vitals Checker](https://unlighthouse.dev/tools/cwv-checker) - test any page
- Chrome DevTools Performance panel
- Lighthouse audit
- [PageSpeed Insights](https://pagespeed.web.dev/) (field data)
- Web Vitals Chrome extension

→ [Complete CLS guide](https://unlighthouse.dev/learn-lighthouse/cls)

## Sitemap

See the full [sitemap](https://unlighthouse.dev/sitemap.md) for all pages.
