Scripts per page

How many scripts the page runs and their over-the-wire weight.

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

At a glance the headline numbers for Scripts per page

How many scripts the page runs and their over-the-wire weight.

26
script count
on the typical page
552 KB
script weight
on the typical page
1,006 KB
1 in 4 pages exceed this
script weight
180,684
sites measured
all-device field data

The typical page runs 26 scripts weighing 552 KB.

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

Distribution & median LCP site count and median LCP at each level of scripts per page — n

0ms 750ms 1500ms 2250ms 3000ms
2.5s
0 17736 35472
0 1–2 3 4 5–7 8–11 12–18 19–30 31–48 49–78 79–126 >p98
Good (≤2.5s) Needs improvement Poor (>4s) Site count
The State of Web Vitals · Q2 2026 · 189,915 sites · all devices field datacorewebvitals.io/state-of-cwv
3

Passing LCP by scripts per page — n which level passes the LCP most often

Scripts per page — nSitesPassing LCPLCP
0 3,961 86% 1.2s
1–2 4,652 86% 1.2s
3 2,889 86% 1.3s
4 3,345 88% 1.2s
5–7 10,175 90% 1.2s
8–11 14,846 90% 1.2s
12–18 26,268 91% 1.3s
19–30 35,472 86% 1.5s
31–48 33,797 78% 1.7s
49–78 26,704 74% 1.8s
79–126 15,132 74% 1.8s
>p98 3,443 64% 2.1s
Good Needs Improvement Poor Faded rows: under 100 sites

Scripts per page — n 26. p75 49. p99 156. At the low end (0): LCP 1.2s. At the high end (>p98): LCP 2.1s. computed

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

Distribution & median LCP site count and median LCP at each level of scripts per page — size

0ms 750ms 1500ms 2250ms 3000ms
2.5s
0 35564 71127
0 0.1–0.28 0.28–0.784 0.784–2.2 2.2–6.15 6.15–17.2 17.2–48.2 48.2–135 135–378 378–1060 1060–2968 >p98
Good (≤2.5s) Needs improvement Poor (>4s) Site count
The State of Web Vitals · Q2 2026 · 189,915 sites · all devices field datacorewebvitals.io/state-of-cwv
5

Passing LCP by scripts per page — size which level passes the LCP most often

Scripts per page — sizeSitesPassing LCPLCP
0 763 85% 1.4s
0.1–0.28 15 100% 840ms
0.28–0.784 147 89% 966ms
0.784–2.2 326 93% 902ms
2.2–6.15 571 93% 969ms
6.15–17.2 1,505 93% 1.2s
17.2–48.2 3,496 95% 1.0s
48.2–135 15,226 93% 1.2s
135–378 42,449 87% 1.4s
378–1060 71,127 82% 1.6s
1060–2968 36,960 74% 1.8s
>p98 3,507 60% 2.2s
Good Needs Improvement Poor Faded rows: under 100 sites

Scripts per page — size 552 KB. p75 1,006 KB. p99 3.7 MB. At the low end (0 KB): LCP 1.4s. At the high end (>p98): LCP 2.2s. computed

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

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

Script weight is the most expensive weight. A kilobyte of JavaScript costs more than a kilobyte of image, because after the download it is parsed, compiled and executed on the main thread. That is the same thread that must answer every click and keystroke, which is why script totals track INP.

The count matters next to the bytes: every script is a potential long task and another spot for the main thread to stall. Most pages would lose nothing by deferring most of their scripts. The ones that truly must run early are rare.

How do scripts affect the Core Web Vitals?

Scripts per page correlates with the INP. Script count separates passing sites from failing sites more than script weight does. Where the script count is low, 80% of sites pass the INP. Where it is high, 91% do. The rise is gradual.

Related signals DOM size → Page weight & requests → Image source mix → Stylesheet loading mix → Chrome field data from 189,915 sites, representing millions of real page loads · How we measured