Definition
Cumulative Layout Shift (CLS) is the sum of unexpected visible-element movement scores during the lifespan of a page. It's a Core Web Vital — Google considers a page to have 'good' CLS when the 75th-percentile real-user measurement is 0.1 or less.
What causes layout shifts
Four common causes. (1) Images without width and height attributes — the browser doesn't know how much space to reserve, so when the image loads, text below jumps down. (2) Late-loading custom fonts — when the fallback font swaps to the custom font, line heights and widths change, reflowing the layout. (3) Dynamically injected content above already-visible content — banners, popups, ad units. (4) Animations that reposition layout (transform animations don't trigger CLS; top/left/width animations do).
How CLS is scored
CLS is calculated as the largest 'session window' of layout shifts during page lifespan. A session window is a sequence of shifts separated by less than 1 second of stable layout. Each individual shift's score is the impact fraction (proportion of viewport affected) multiplied by the distance fraction (how far the largest element moved divided by viewport dimension).
CLS on Squarespace specifically
Squarespace handles the two main CLS causes reasonably well by default. Native image blocks include width/height attributes; the platform's font-loading strategy includes font-display: swap with reasonable fallbacks. Where CLS fails on Squarespace tends to be: gallery blocks during initial paint, third-party embeds (Instagram feeds, custom widgets), and Code-Injected scripts that inject content above the visible viewport.
Related terms
CLS is one Core Web Vital. Adjacent terms below.