Core Web Vitals are the three user-experience metrics that Google's web.dev programme designates as applying to every page, measured from real users' browsers. As of this guide's date there are three stable metrics: Largest Contentful Paint (LCP) for loading, Interaction to Next Paint (INP) for responsiveness, and Cumulative Layout Shift (CLS) for visual stability. INP replaced First Input Delay (FID) in March 2024. web.dev states that stable Core Web Vitals will not change more than once a year, and that any change is announced in its public changelog.

Thresholds verified 2026-11-02

Good LCP is 2.5 seconds or less. Good INP is 200 milliseconds or less. Good CLS is 0.1 or less. A page passes when all three are good at the 75th percentile of page loads, assessed separately for mobile and desktop. Source: web.dev/articles/vitals. Several third-party blogs claim the 2026 thresholds were tightened; the official documentation does not say so, and this guide follows the official documentation.

Where the Core Web Vitals sit on a page-load timeline, with thresholds A timeline from navigation start through TTFB, First Contentful Paint, Largest Contentful Paint, a user interaction and Interaction to Next Paint. LCP covers the loading phase; INP covers an interaction; CLS accumulates across the visit. Table of thresholds: LCP good at or under 2.5 seconds, needs improvement up to 4 seconds, poor above; INP good at or under 200 milliseconds, needs improvement up to 500, poor above; CLS good at or under 0.1, needs improvement up to 0.25, poor above. All assessed at the 75th percentile. NAVIGATIONuser requests the pagestartTTFBfirst byte of HTMLFCPfirst content paintedLCPlargest element renderedinteractiontap / click / keyINPnext paint after inputLCP: loadingINPCLS: layout shifts summed across the visit (worst session window)METRICGOODNEEDS IMPROVEMENTPOORLCP≤ 2.5 s2.5 – 4.0 s> 4.0 sINP≤ 200 ms200 – 500 ms> 500 msCLS≤ 0.10.1 – 0.25> 0.25Assessed at the 75th percentile of page loads, mobile and desktop separately.Source: web.dev/articles/vitals, checked 2026-11-02.
Core Web Vitals on the timeline. LCP measures loading, INP measures responsiveness to a real interaction, CLS measures visual stability across the visit. Thresholds per web.dev, 75th percentile.

Largest Contentful Paint

LCP reports the render time of the largest image, video poster, background image or block of text visible in the viewport, measured from when the user started navigating to the page. The browser keeps re-evaluating which element is largest as the page loads and reports the final candidate; measurement stops as soon as the user interacts. Only the visible portion of an element counts, and some elements are excluded in Chromium: fully transparent ones, full-viewport backgrounds, and low-entropy placeholder images.

On a gaming page the LCP element is almost always one of three things: the game's hero artwork, a large promotional banner, or the canvas element's poster image. If the game canvas itself is the largest thing and it starts blank, the LCP candidate may be whatever text block happens to be biggest, which produces an LCP time that looks fine while the user is actually staring at an empty frame. Give the game container a real poster image so the metric measures what the user sees.

The four sub-parts

The four LCP sub-parts and their relative budgets A single bar divided into four parts: Time to First Byte about forty percent, resource load delay under ten percent, resource load duration about forty percent, element render delay under ten percent. Load delay comes from poor discoverability of the LCP resource; render delay comes from blocking CSS and JavaScript. LCP SUB-PARTS · RELATIVE BUDGET GUIDANCE (web.dev/articles/optimize-lcp)~40%<10%~40%<10%TTFBserver + networkResource load delaydiscoverabilityResource load durationbytes ÷ bandwidthElement render delayblocking CSS/JSIdeal shape: almost all LCP time is TTFB plus the resource download itself.Load delay and render delay are gaps to eliminate.
LCP sub-parts. TTFB and the download of the LCP resource should dominate. Resource load delay (the image was discovered late) and element render delay (something blocked the paint) are the parts to eliminate.

web.dev's optimization guide breaks LCP into four sequential parts and recommends looking at their proportions rather than absolute times:

  1. Time to First Byte. From navigation until the first byte of HTML arrives. Includes redirects, DNS, connection and server time. Should be roughly 40 percent of LCP.
  2. Resource load delay. From TTFB until the browser starts fetching the LCP resource. Should be under 10 percent. It balloons when the image is only discoverable after CSS or JavaScript runs, or when it is lazy-loaded.
  3. Resource load duration. The download of the LCP resource itself. Roughly 40 percent. Governed by file size and connection speed.
  4. Element render delay. From the resource finishing until the element is painted. Should be under 10 percent. Grows when a render-blocking stylesheet or script is still outstanding.

What breaks LCP on game pages

  • The hero image is set as a CSS background in a stylesheet that loads late, so the browser cannot discover it until the CSS arrives. Put the image in the HTML as an <img> with fetchpriority="high", or preload it.
  • The LCP image is lazy-loaded. web.dev is unambiguous: never lazy-load the LCP image. loading="lazy" belongs below the fold only.
  • A synchronous analytics, tag-manager or ad script in the <head> delays every paint.
  • The page is client-rendered: an empty shell plus a JavaScript bundle that builds the DOM. The LCP element cannot exist until the bundle runs. Server-render or pre-render the shell.
  • The hero is served at desktop resolution to phones. Use srcset and sizes, and modern formats. The asset guide covers both.

Interaction to Next Paint

INP measures how quickly the page visibly responds to user input. For every click, tap and key press during the visit, the browser records the time from the input until the next frame is painted. The page's INP is roughly the worst of these, with a small number of outliers discounted on pages with many interactions. Scrolling and hovering do not count.

The three phases of an interaction that INP measures A bar divided into input delay (the main thread was busy when the tap landed), processing duration (event handlers run) and presentation delay (style, layout, paint and the next frame). INP is the whole span, reported for roughly the slowest interaction of the visit. Good is 200 milliseconds or less. ONE INTERACTION · TAP ON A GAME CONTROLInput delaymain thread busy when the tap landsProcessing durationevent handlers runPresentation delaystyle, layout, paint, next frameINP = this whole span, for (roughly) the slowest interaction of the visitGood: ≤ 200 ms. Any long task on the main thread lengthens input delayfor every tap that arrives while it runs.
INP phases. Input delay + processing duration + presentation delay. Long tasks inflate the first; heavy handlers the second; expensive style and layout the third.

Each interaction has three phases:

  • Input delay: the input arrived while the main thread was busy, so the event handler could not start. Caused by long tasks: a booting game runtime, a third-party script, a large hydration.
  • Processing duration: the event handlers themselves. Heavy handlers that update state synchronously, read layout and then write it, or rebuild large parts of the DOM.
  • Presentation delay: after the handlers return, the browser has to recalculate style, lay out, paint and composite. A large DOM or expensive CSS makes this slow.

Why gaming pages struggle with INP

INP covers the whole visit, and a gaming visit is long and full of taps. The game loop runs on the same main thread as the page, so if a frame's update and render take 40 milliseconds, every tap that arrives during that frame waits up to 40 milliseconds before its handler even starts. Add a slow handler and a heavy paint and the 200 millisecond threshold goes quickly.

The remedies, drawn from web.dev's INP optimization guide and the Long Animation Frames API, are: break long tasks and yield to the main thread between chunks; keep per-frame work inside the frame budget; move decoding, physics and asset parsing to a Web Worker; avoid reading layout immediately after writing it; limit third-party scripts; and keep the DOM small. Show visual feedback in the same frame as the input, even if the real work completes later, because INP measures the next paint, not the completion of the work.

Cumulative Layout Shift

CLS measures unexpected movement of visible content. For each layout shift the browser computes an impact fraction (how much of the viewport the moved elements occupied across the two frames) multiplied by a distance fraction (the largest distance any of them moved, relative to the viewport's larger dimension). Shifts are grouped into session windows of up to five seconds with gaps under one second, and CLS is the largest window's total. Shifts within 500 milliseconds of a discrete input such as a tap are excluded, because the user expected something to happen.

How a late-inserted banner produces a layout shift Two frames of the same page. In frame one, a headline sits above a game frame and its controls. In frame two a banner is injected above the game frame without reserved space, pushing the game frame and controls down. The layout shift score is impact fraction times distance fraction. The fix is to reserve space with a fixed height or aspect ratio before the late element arrives. FRAME 1HeadlineGame frameControlsFRAME 2 · banner injected without reserved spaceHeadlinelate banner (+40 px)Game frame (shifted)distancescore = impact fraction × distance fraction.Everything below the banner moved, so the impact fraction is large.Fix: reserve the space (fixed height, aspect-ratio, min-height)before the late element arrives.
Layout shift. A late element with no reserved space moves everything below it. The score multiplies how much of the viewport moved by how far it moved.

What shifts on game pages

  • The game container has no reserved size. It starts at zero height, the runtime boots, and everything below jumps. Set an explicit aspect-ratio or height on the container before any script runs.
  • Images without width and height attributes. The browser cannot reserve space until the image headers arrive.
  • Late banners, cookie notices and promotional strips inserted above existing content. Reserve the space or overlay rather than insert.
  • Web fonts that swap in with different metrics from the fallback. Use font-display with size-adjusted fallbacks, or system fonts.
  • Animating layout properties. Changing top, height or margin moves neighbours. Animate transform and opacity instead.

Time to First Byte

TTFB is not a Core Web Vital, but it is the first sub-part of LCP and the floor under every other metric. It runs from navigation start until the first byte of the response arrives and includes redirect time, service worker start-up, DNS, connection and TLS negotiation, and the request itself. web.dev suggests most sites should aim for 0.8 seconds or less and treats values over 1.8 seconds as poor. The latency guide explains each component; the CDN guide explains how to make the HTML itself cacheable at the edge.

Render-blocking resources

Stylesheets block rendering. Synchronous scripts block parsing. Both delay LCP by increasing element render delay. The standard pattern is to inline the small amount of CSS needed for the first viewport, load the rest with a non-blocking technique, and mark every script defer or load it as a module. Third-party scripts deserve particular suspicion: each one is a stylesheet or script you do not control on an origin you do not control.

Responsive images

An image served larger than its displayed size wastes bytes on the LCP resource's download. srcset with width descriptors plus a sizes attribute lets the browser pick the right candidate for the viewport and device pixel ratio; the <picture> element adds format negotiation so AVIF or WebP is sent where supported. Always include intrinsic width and height so the browser can reserve the box and avoid a layout shift.

JavaScript execution

JavaScript is the most expensive byte on the page. It has to be downloaded, parsed, compiled and executed, and the last three happen on the main thread. A gaming page often ships two separate bundles: the page's framework and the game's runtime. Code-split both so that the first paint needs neither; load the game runtime only when the container is in view or the user asks to play; and never load scripts for features that are not on the page. The asset guide covers chunking and the HTML5 gaming guide covers the runtime's own boot sequence.

Measuring

Use the web-vitals JavaScript library or a Real User Monitoring product to collect field values from your own users, and CrUX for the public view of your origin. Use Lighthouse and the DevTools Performance panel to diagnose: they attribute LCP to its sub-parts, highlight long tasks, and show which element shifted. Remember that lab tools measure the load, not the play session, so INP and CLS problems that appear only during play need field data to find.

Example, not a measurement

Suppose a game page's field LCP is 3.4 seconds. Lab attribution shows TTFB 0.6 s, resource load delay 1.5 s, load duration 1.0 s and render delay 0.3 s. The delay is the problem: the hero image is referenced only from a stylesheet. Moving it into the HTML with fetchpriority="high" would let the fetch start at TTFB. These numbers are invented to illustrate the sub-part analysis, not reported from any site.

Sources

Primary documentation consulted for this guide. Thresholds and API behaviour were checked against these pages on 2026-11-02.

  1. Web Vitals — web.dev
  2. Largest Contentful Paint (LCP) — web.dev
  3. Optimize Largest Contentful Paint — web.dev
  4. Interaction to Next Paint (INP) — web.dev
  5. Optimize Interaction to Next Paint — web.dev
  6. Cumulative Layout Shift (CLS) — web.dev
  7. Optimize Cumulative Layout Shift — web.dev
  8. Time to First Byte (TTFB) — web.dev
  9. Optimize Time to First Byte — web.dev
  10. Optimizing resource loading with the Fetch Priority API — web.dev
  11. Why lab and field data can be different — web.dev
  12. Chrome UX Report (CrUX) — Chrome for Developers
  13. Largest Contentful Paint specification — W3C
  14. Event Timing API specification — W3C
  15. Layout Instability API (draft) — WICG
  16. Understanding page experience in Google Search results — Google Search Central