Core Web Vitals: Thresholds, Measurement and Fixes for LCP, INP and CLS

What LCP, INP and CLS measure, the 75th-percentile thresholds you need to pass and why field and lab data disagree. Then the specific fixes for each metric, plus TTFB.

Core Web Vitals are three Google metrics that describe how real visitors experience a page: Largest Contentful Paint (LCP) for loading, Interaction to Next Paint (INP) for responsiveness and Cumulative Layout Shift (CLS) for visual stability. A page passes when at least 75% of real visits score LCP ≤ 2.5 seconds, INP ≤ 200 milliseconds and CLS ≤ 0.1. This guide explains each metric, where the numbers come from and the fixes that actually move them.

Key takeaways

  • Good thresholds: LCP ≤ 2.5 s, INP ≤ 200 ms, CLS ≤ 0.1, measured at the 75th percentile of real users, separately for mobile and desktop.
  • INP replaced First Input Delay (FID) as a Core Web Vital in March 2024.
  • Field data from real Chrome users decides whether you pass. Lab tools like Lighthouse are for debugging, and they can’t measure INP directly.
  • Most LCP problems start with a slow server or a late-loading hero image; most INP problems are long JavaScript tasks; most CLS problems are images, ads or banners without reserved space.
  • Core Web Vitals matter for users and are used in ranking, but they don’t outweigh relevant, helpful content.

The three metrics and their thresholds

MetricWhat it measuresGoodNeeds improvementPoor
LCPTime until the largest image or text block in the viewport is rendered≤ 2.5 s2.5–4 s> 4 s
INPDelay between a click, tap or key press and the next screen update, across the whole visit≤ 200 ms200–500 ms> 500 ms
CLSHow much visible content unexpectedly moves while the page is open≤ 0.10.1–0.25> 0.25
TTFB (not a Core Web Vital)Time until the first byte of the HTML arrives≤ 0.8 s0.8–1.8 s> 1.8 s

The thresholds come from web.dev, Google’s developer documentation. The 75th percentile rule means the score that counts is the one at which three out of four visits do at least that well. If 30% of your mobile visitors wait more than 2.5 seconds for the main image, your page fails LCP on mobile even though most people had a fast experience.

INP became a Core Web Vital on March 12, 2024, replacing FID. FID only measured the delay before the browser started handling the first interaction. INP looks at nearly every interaction during the visit and reports one of the slowest (on busy pages it ignores one outlier per 50 interactions), so it’s much harder to pass with a heavy JavaScript bundle.

Field data vs lab data

You’ll see two kinds of numbers, and confusing them is the most common reason people “fix” a page and see no change.

Field dataLab data
SourceReal Chrome users (the Chrome UX Report, CrUX)A simulated load in Lighthouse or DevTools
Where you see itSearch Console, the top of PageSpeed Insights, the CrUX APIThe diagnostics section of PageSpeed Insights, Chrome DevTools
Time frameRolling 28 daysOne test, right now
INPMeasuredNot measurable; Total Blocking Time is the closest proxy
Best forKnowing whether you passFinding out why, and testing a fix before release

Field and lab results often disagree. Lab tests use one throttled device and network; real visitors bring older phones, slow connections, warm caches, logged-in states and consent banners. When they conflict, trust field data for the verdict and use lab data to debug.

How to measure Core Web Vitals

  • Google Search Console: the Core Web Vitals report groups similar URLs and shows which groups are poor, need improvement or are good on mobile and desktop. After you fix an issue, start validation; Google then watches the next 28 days of data.
  • PageSpeed Insights: shows field data for the URL (or the whole origin if the URL has too little traffic) above a Lighthouse lab report with specific diagnostics.
  • Chrome UX Report: the public dataset behind both, available through an API and BigQuery for trend analysis and competitor comparisons.
  • Your own real-user monitoring: the open-source web-vitals library reports the same metrics from your visitors to your analytics, including which element caused LCP and which interaction was slow.
import {onLCP, onINP, onCLS} from 'web-vitals/attribution';

onLCP(m => sendToAnalytics(m));
onINP(m => sendToAnalytics(m));
onCLS(m => sendToAnalytics(m));

Low-traffic sites often have no field data at all. In that case, test in the lab on a mid-range phone profile and aim comfortably below the thresholds.

How to fix LCP

Google breaks LCP into four parts: time to first byte, resource load delay (how long before the browser starts fetching the LCP image), resource load duration and element render delay. Find which part is large before changing anything. The diagnostics in PageSpeed Insights name the LCP element for you.

  • Never lazy-load the LCP image. Remove loading="lazy" from the hero and add fetchpriority="high".
  • Make the image discoverable in the HTML. A hero set as a CSS background or injected by JavaScript is found late. Use an <img> tag, or preload it.
  • Serve the right size and format. Use srcset with AVIF or WebP so phones don’t download a 2,400-pixel desktop image.
  • Cut render-blocking resources. Inline critical CSS, defer non-critical scripts and avoid large web-font downloads before text can show.
  • Reduce TTFB with full-page caching and a CDN (more on that below).
<img src="/img/hero-1200.avif"
     srcset="/img/hero-800.avif 800w, /img/hero-1200.avif 1200w"
     sizes="(max-width: 800px) 100vw, 1200px"
     width="1200" height="600"
     fetchpriority="high"
     alt="Technician repairing a boiler">

How to fix INP

Every interaction has three phases: input delay (the main thread is busy when the user clicks), processing time (your event handlers run) and presentation delay (the browser recalculates layout and paints). Long JavaScript tasks, anything over 50 ms, are the usual cause of all three.

  • Audit third-party scripts first. Tag managers, chat widgets, A/B testing tools and ad scripts often account for most main-thread time. Remove what you don’t use and load the rest after interaction or on idle.
  • Give feedback first, then do the work. Update the UI immediately and yield to the browser before running expensive code.
  • Break up long tasks so the browser can respond between chunks.
  • Keep the DOM small. Pages with many thousands of elements are slow to re-render after every interaction.
  • Debounce input handlers on search boxes and filters so you don’t re-render on every keystroke.
button.addEventListener('click', async () => {
  showSpinner();          // visible feedback right away
  await yieldToMain();    // let the browser paint
  applyFilters();         // the expensive part
});

function yieldToMain() {
  if (globalThis.scheduler?.yield) return scheduler.yield();
  return new Promise(resolve => setTimeout(resolve, 0));
}

How to fix CLS

CLS adds up unexpected movements in bursts (session windows of up to five seconds) and reports the worst burst. Shifts within half a second of a user’s tap or click don’t count, because the user caused them.

  • Give every image and video dimensions with width and height attributes or a CSS aspect-ratio, so the browser reserves the space.
  • Reserve space for ads, embeds and iframes with a min-height on their container, even if the slot sometimes stays empty.
  • Don’t push content down after load. Cookie banners, promo bars and “subscribe” boxes should overlay the page or be in the initial layout.
  • Tame web fonts. Preload the main font and use a fallback with matching metrics (size-adjust) so text doesn’t reflow when the font arrives.
  • Animate with transform, not top, left or height, which move surrounding content.

TTFB: the metric underneath all three

Time to first byte isn’t a Core Web Vital, but nothing can render until the HTML arrives, so a slow TTFB eats directly into your LCP budget. Aim for 0.8 seconds or less. The usual culprits are dynamic pages built on every request without caching, slow database queries, cold-starting serverless functions, distant servers without a CDN, and redirects. Every redirect hop adds a full round trip before the real page even starts loading, so check your internal links and ads with the redirect checker.

How much do Core Web Vitals affect rankings?

Google says Core Web Vitals are used by its ranking systems as part of page experience, and also that good page experience doesn’t override great, relevant content. In practice they act more like a tiebreaker than a lever. A fast page with thin content won’t outrank a slower page that answers the query better.

The stronger reason to fix them is your visitors: slow, jumpy pages lose people before they read or buy. Don’t chase a perfect Lighthouse score either. Once your field data is in the green, your time is better spent on content and the rest of the technical SEO checklist.

Test your page speed

Run your key templates (home page, a product or service page, an article) through the page speed test. It measures server response time (TTFB), download time, HTML size and compression, HTTP version, the number and weight of scripts, styles and images, render-blocking resources, caching and modern image formats, and shows Core Web Vitals from Google PageSpeed Insights when field data is available. For layout shift caused by images, the image SEO checker flags missing dimensions and oversized files on any page.

Put this into practice

TTFB, page weight, render blockers and Core Web Vitals.

Page Speed Test
Yes SEO Editorial Team

We build Yes SEO’s free checkers and write practical guides based on Google’s documentation and hands-on testing of real pages. More about us.