DOM depth

The deepest nesting level in the DOM tree.

Field data PhoneDesktopAll Scope All sites Q2 2026 edition · Desktop field outcomes
Metric LCP INP CLS
1

At a glance the headline numbers for DOM depth

The deepest nesting level in the DOM tree.

18
on the typical site
half of sites sit at or below
23
1 in 4 sites exceed this
the top quarter
41
the heaviest 1%
the long tail
180,899
sites measured
desktop field data

The typical DOM tree is 18 levels deep.

The State of Web Vitals · Q2 2026 · 189,915 sites · desktop field datacorewebvitals.io/state-of-cwv
2

Distribution & median LCP site count and median LCP at each level of DOM depth

0ms 750ms 1500ms 2250ms 3000ms
2.5s
0 10602 21204
11–11 12–12 13–13 14–14 15–15 16–16 17–17 18–18 19–19 20–20 21–21 22–22 23–23 24–24 25–25 26–26 27+
Good (≤2.5s) Needs improvement Poor (>4s) Site count
The State of Web Vitals · Q2 2026 · 189,915 sites · desktop field datacorewebvitals.io/state-of-cwv
3

Passing LCP by DOM depth which level passes the LCP most often

DOM depthSitesPassing LCPLCP
11–11 5,873 91% 1.1s
12–12 8,679 91% 1.1s
13–13 9,084 91% 1.2s
14–14 10,746 90% 1.2s
15–15 11,379 89% 1.3s
16–16 11,657 90% 1.3s
17–17 11,772 87% 1.4s
18–18 11,898 88% 1.4s
19–19 10,246 87% 1.4s
20–20 9,518 85% 1.5s
21–21 8,365 84% 1.5s
22–22 9,548 84% 1.5s
23–23 8,487 83% 1.5s
24–24 6,480 79% 1.6s
25–25 5,920 81% 1.6s
26–26 4,135 79% 1.7s
27+ 21,204 79% 1.6s
Good Needs Improvement Poor Faded rows: under 100 sites

DOM depth 18. p75 23. p99 41. At the low end (11–11): LCP 1.1s. At the high end (27+): LCP 1.6s. computed

The State of Web Vitals · Q2 2026 · 189,915 sites · desktop field datacorewebvitals.io/state-of-cwv
4

Why this matters for the Core Web Vitals, and where to start fixing it

Depth is a different problem than size. Styles inherit downwards. Toggle a class high in the tree and the browser recalculates everything below it. Layout changes also travel through ancestors, and percentage heights and flexbox make that worse. Selector matching walks the ancestor chain too, so deep trees pay more for every CSS rule.

In practice this shows up as INP. The click is fast and the JavaScript is fast, but the style and layout pass after the update is slow because the change affects too many nested levels. A flatter tree holds the same content but keeps each update local.

Related signals Script coverage (used vs unused) → Image loading attribute → Images per page → Compression mix → Chrome field data from 189,915 sites, representing millions of real page loads · How we measured