Skip to content
How-toBeginner 8 min

Core Web Vitals: How to Improve LCP, INP and CLS

Learn the thresholds for the three Core Web Vitals, find problems with real-user data, and fix LCP, INP and CLS one by one.

The three metrics and their thresholds

Core Web Vitals measure real-user experience, assessed at the 75th percentile of page loads:

  • LCP (Largest Contentful Paint): how fast the main content appears. Good is 2.5 seconds or less.
  • INP (Interaction to Next Paint): how quickly the page responds after a click or keypress. Good is 200 ms or less. INP replaced FID in March 2024.
  • CLS (Cumulative Layout Shift): how much things jump around. Good is below 0.1.

They are part of Google's page experience signals, but relevance and content quality matter far more. The real payoff of fixing them is better engagement and conversions, not a guaranteed ranking bump.

Start with field data

The top section of PageSpeed Insights shows field data from the Chrome UX Report (CrUX), which is what Google actually uses. The Lighthouse score below it is a lab simulation, useful for diagnosis only. Small sites often lack enough traffic for CrUX; in that case check the Core Web Vitals report in Search Console, which groups similar URLs, or set up continuous monitoring with a tool like DebugBear.

Improving LCP

  1. Identify the LCP element (usually a hero image or headline) and make sure it's in the initial HTML, not injected by JavaScript.
  2. Never lazy-load the hero image. Give it a priority hint instead:
<img src="/hero.webp" width="1200" height="600" fetchpriority="high" alt="Product screenshot">
  1. Serve compressed WebP or AVIF, with srcset for different screen sizes.
  2. Cut server response time: page caching, a CDN, fewer database queries.
  3. Trim render-blocking CSS and fonts. Inline critical CSS and use font-display: swap.

Improving INP

  • Break up long tasks so no single script blocks the main thread for more than about 50 ms.
  • Audit third-party scripts. Chat widgets, tag managers and ad code are frequent culprits; remove or defer what you can.
  • In event handlers, paint visual feedback first and push heavy work later or into a Web Worker.
  • Avoid rendering huge DOM trees in one go.

Reducing CLS

  • Give every image, video and iframe explicit dimensions or an aspect-ratio.
  • Reserve fixed space for ads, banners and embeds.
  • Don't insert content above what the user is already reading.
  • Pick fallback fonts with similar metrics so web font swaps don't shift text.

Validating the fix

Confirm the improvement in lab tests with Lighthouse or WebPageTest first. Field data in CrUX is a rolling 28-day window, so give it about four weeks, then click "Validate fix" in Search Console.