Core Web Vitals 2026: LCP, INP & CLS Complete Guide

Core Web Vitals measure aspects of loading, responsiveness and visual stability. INP replaced FID in March 2024. Good results can improve the experience but do not guarantee rankings, conversions or an advantage over another page. This guide explains thresholds, measurements and diagnostic approaches.

The Three Metrics, Explained Simply

Core Web Vitals consists of three metrics that map to three phases of the user experience:

MetricWhat it measuresGoodPoor
LCP — Largest Contentful PaintHow fast the main content appears≤ 2.5s> 4.0s
INP — Interaction to Next PaintHow responsive the page feels to interaction≤ 200ms> 500ms
CLS — Cumulative Layout ShiftHow stable the layout is during load≤ 0.1> 0.25

Core Web Vitals assessments use the 75th-percentile field value of each metric, evaluated separately for the relevant device group. A passing assessment requires the three Core Web Vitals to meet their Good thresholds with sufficient data. This does not mean that the same 75% of visits simultaneously passed every metric; INP also requires an eligible interaction, and some pages lack sufficient field data.

Field Data vs. Lab Data

Distinguish real-user field measurements from controlled lab measurements; they answer different diagnostic questions.

Field data measures eligible real visits. CrUX aggregates data from eligible Chrome users and sufficiently popular, publicly discoverable pages or origins. Search Console and PageSpeed Insights can show these aggregates when available; not every user, browser or page is represented.

Lab measurements come from controlled tests such as Lighthouse, WebPageTest or DevTools traces. Device, network, page state and scripted interactions are configurable; reproducibility requires recording the setup. These tests need not match the real audience.

Lab and field results can differ because of devices, networks, page states and interactions. Use available field data to prioritize observed user problems and lab tests to investigate causes. Lack of CrUX data is not a reason to ignore reproducible performance problems.

Largest Contentful Paint (LCP)

LCP measures the render time of the largest image or text block visible in the viewport. It is Google's best proxy for "how fast does the page feel like it loaded?" Most LCP problems fall into a small number of categories.

What element is your LCP?

PageSpeed Insights shows aggregate CrUX field metrics where available. Use lab traces or your own real-user attribution to identify LCP elements; the aggregate field report alone does not identify the most common element.

LCP fix 1: Preload the LCP image

If your LCP is an image, add a preload hint in the document head:

<link rel="preload" as="image" href="/hero.avif"
  fetchpriority="high" imagesrcset="/hero-480.avif 480w, /hero-960.avif 960w"
  imagesizes="100vw">

fetchpriority="high" is a priority hint, not an absolute scheduling command. Preloading a late-discovered LCP image may help, but competing downloads or incorrect responsive-image selection can offset the benefit. Measure the actual request and rendering timeline.

LCP fix 2: Modern image formats and compression

Compare AVIF, WebP and JPEG encodings for actual size, artifacts and supported clients. Quality values differ between encoders. Use responsive candidates where helpful; no format or quality setting guarantees invisible loss or better rankings.

LCP fix 3: Remove render-blocking resources

Stylesheets can delay rendering. Measure render-blocking work, remove unused rules and consider critical CSS carefully. There is no universal 14 KB budget; asynchronous styling can cause flashes or layout shifts. Use defer or async according to script ordering and execution needs.

LCP fix 4: Server response time

Server response time contributes to loading latency. Measure TTFB and its causes rather than imposing a universal 600 ms pass threshold. Consider appropriate CDN use, efficient queries and safe caching; do not cache private or personalized responses indiscriminately.

LCP fix 5: Font loading

For text LCP, inspect font loading. Compare system fonts, hosting, subsets and preload choices. font-display: swap can expose fallback text quickly but may cause layout shifts; variable fonts and subsetting are not always smaller for every use case.

Interaction to Next Paint (INP)

INP assesses latency from qualifying click, tap and keyboard interactions through processing and the next paint. It summarizes a high-latency interaction across the page visit, allowing outliers for pages with many interactions. FID measured only the input-delay portion of the first qualifying interaction, not the entire response.

Why INP is harder than FID

FID measured input delay for the first qualifying interaction; INP assesses interaction responsiveness across the visit and includes processing and presentation delay. Deferring a script alone did not guarantee good FID, and one long task does not by itself determine a page’s aggregate INP assessment. Measure the affected interactions.

INP fix 1: Break up long tasks

A "long task" is any chunk of JavaScript that occupies the main thread for more than 50 milliseconds. Long tasks delay the browser's ability to paint. Break long tasks into smaller pieces using setTimeout(fn, 0) or scheduler.yield() where supported. The goal is to give the browser a chance to paint and process input between work chunks.

// Bad: one giant synchronous loop
items.forEach(processItem);

// Better: yield to the browser between chunks
async function processInChunks(items) {
  for (const item of items) {
    processItem(item);
    if (navigator.scheduling?.isInputPending()) {
      await scheduler.yield();
    }
  }
}

INP fix 2: Reduce JavaScript payload

Less JavaScript means less work for the main thread. Audit your bundle with source-map-explorer or webpack-bundle-analyzer. Common culprits: full Moment.js (replace with date-fns or Day.js), full Lodash (use individual imports), unused framework components, and dependency-of-dependency bloat. Code-split aggressively so each route only ships what it needs.

INP fix 3: Move work off the main thread

Heavy computation (parsing, encryption, image manipulation, large data transformations) belongs in a Web Worker. The main thread should be reserved for UI work. Comlink makes Web Workers as easy as async function calls.

INP fix 4: Optimize event handlers

A costly handler or render can increase interaction latency; measure the complete interaction and field distribution before concluding that INP fails. requestAnimationFrame runs before the next repaint and is appropriate for short visual updates, not expensive work after paint. Chunk non-urgent work and yield with scheduler.yield() where supported or a timer fallback so the browser has opportunities to render and handle input. Debounce or throttle handlers that fire rapidly (search-as-you-type, scroll listeners). In React, use useTransition or startTransition to mark non-urgent updates as low priority.

INP fix 5: Tame third-party scripts

Third-party scripts can contribute to main-thread work. Measure their contribution before removing or changing them. async changes loading, not main-thread execution cost; delayed execution may move work into an interaction. Workers are suitable only for compatible tasks and libraries. Retest functionality and responsiveness.

Cumulative Layout Shift (CLS)

CLS aggregates eligible unexpected layout-shift scores within session windows: shifts less than one second apart, capped at five seconds per window, with the largest window reported. Some shifts following recent user input are excluded. Diagnosis can require observing interactions and late content, not just initial load.

CLS fix 1: Reserve space for media

Reserve appropriate layout space for images and iframes using dimensions, aspect-ratio or other stable layout rules. Missing attributes do not necessarily cause a shift if CSS already reserves the space.

<img src="hero.avif" width="1200" height="600" alt="...">

/* or with CSS aspect-ratio */
img { aspect-ratio: 16 / 9; width: 100%; height: auto; }

CLS fix 2: Reserve space for ads and embeds

Ads are the leading CLS culprit on content sites. Wrap every ad slot in a container with a fixed min-height matching the expected ad dimensions. If the ad does not load, the space is empty — acceptable. If you let the ad inject and push content down, CLS rockets.

CLS fix 3: Never inject content above existing content

Cookie banners, notification bars, app-install prompts — anything that appears above existing rendered content forces everything below it to shift. Either pre-render the space (a min-height container at the top), animate the content in from outside the viewport, or display it as an overlay rather than a layout-affecting block.

CLS fix 4: Web font swap CLS

When a web font loads after fallback text has rendered, characters often have different widths, causing layout shift as text reflows. Use the size-adjust, ascent-override, and descent-override font descriptors to match the fallback metrics to the web font, eliminating the shift. The Fontaine library automates this.

CLS fix 5: Animate with transform, not layout

CSS animations that change width, height, top, or left trigger layout shifts. Use transform: translate() or transform: scale() instead — they animate on the compositor thread without affecting CLS or repaint cost.

Measurement Toolkit

  • Chrome DevTools Performance panel — Frame-by-frame breakdown of LCP, INP, and long tasks. Best for debugging a specific page.
  • PageSpeed Insights — Combines Lighthouse lab data with CrUX field data. Best for one-off URL audits.
  • Search Console Core Web Vitals report — Field data for your entire site, grouped by URL pattern. Best for understanding which page templates need work.
  • web-vitals JavaScript library — Capture real Core Web Vitals from your own users and send them to your analytics. Best for ongoing monitoring with custom segmentation.
  • CrUX BigQuery dataset — Public dataset with monthly CWV data for millions of origins. Best for benchmarking against competitors.
  • Lighthouse CI — Run Lighthouse on every pull request in your CI pipeline. Best for preventing regressions.

Setting Up Real User Monitoring

Lab data helps debugging; field data reflects actual users. Your own web-vitals measurements help investigate issues but are not submitted to Google as ranking data. Implement the library with an appropriate privacy policy and consent handling where required:

import {onLCP, onINP, onCLS} from 'web-vitals';

function sendToAnalytics({name, value, id}) {
  navigator.sendBeacon('/analytics', JSON.stringify({name, value, id}));
}

onLCP(sendToAnalytics);
onINP(sendToAnalytics);
onCLS(sendToAnalytics);

Pipe the measurements into your analytics tool (Google Analytics 4, Plausible, Cloudflare Web Analytics, or a custom endpoint). Segment by device type, country, browser, and page template. The segmentation usually reveals where your bottleneck is — for example, "Android users in Indonesia on the product detail template fail INP" is a much more actionable insight than "INP is too high."

Common Anti-Patterns

  1. Optimizing only a Lighthouse score can miss field problems. A high lab score is useful evidence for that test, not proof of good real-user Core Web Vitals. Investigate differences in devices, routes, interactions and measurement periods.
  2. Treating CWV as a project, not a process. Performance regresses every release without continuous monitoring. Wire performance budgets into your CI pipeline.
  3. Ignoring third-party scripts. Measure their network and main-thread costs and the interactions affected. Script count alone does not establish blocking time or an INP outcome.
  4. Optimizing the homepage only. Most traffic enters on long-tail pages. Audit your page templates, not just the homepage.
  5. Single device-class testing. Throttle to mid-range Android and 4G to match the median real user. Optimizing on a MacBook Pro misses the bottleneck.

The Ranking Impact in Practice

Google uses Core Web Vitals in its ranking systems, but good scores do not guarantee high rankings and there is no published fixed tiebreaker formula. Relevant, useful content remains important. Improve performance for users and evaluate the results without promising a ranking or conversion lift.

Performance work should address measured user problems. Published case-study improvements do not predict this site’s revenue or ranking changes. Measure outcomes in the relevant context and account for other changes.

Optimize Images for Better LCP

Compress and convert images to modern formats — one of the highest-impact fixes for LCP and overall page speed.

Image Compressor →

Frequently Asked Questions

INP replaced FID as a Core Web Vital in March 2024. It measures latency for qualifying click, tap and keyboard interactions during a visit, including processing and presentation delay. The reported value represents a high-latency interaction with outlier handling on highly interactive pages—not every event such as scrolling. Measure actual visits instead of assuming a framework or former FID result predicts INP.
Good field thresholds are LCP at or below 2.5 seconds, INP at or below 200 milliseconds, and CLS at or below 0.1. Values above those thresholds and up to 4 seconds, 500 milliseconds and 0.25 respectively need improvement; larger values are Poor. Assess the 75th percentile of each metric separately, with enough eligible field data and the relevant device grouping.
Field data measures real visits, while lab tests use controlled conditions. Core Web Vitals are used by Google ranking systems without a published fixed weight. Use representative field data to assess experience and lab tools to diagnose causes; neither gives a ranking forecast.
Core Web Vitals are used by Google’s ranking systems, but passing the thresholds does not guarantee better rankings than a competing page. Google does not publish a fixed weight or a universal tiebreaker rule. Treat performance as a user-experience objective and measure any business impact on your own site.
Framework and rendering choices can affect JavaScript, hydration and interaction costs, but no framework guarantees good or poor INP. Measure the actual page, reduce unnecessary work and test representative devices and interactions.