Analytics dashboard showing a site overview line chart on a white screen

Passing Core Web Vitals: a practical guide to LCP, INP and CLS

In this article

In short

  • Core Web Vitals are three measurements of real visitor experience: loading (LCP), responsiveness (INP) and visual stability (CLS).
  • A good score means LCP within 2.5 seconds, INP of 200 milliseconds or less and CLS of 0.1 or less, for at least 75% of visits.
  • The biggest gains usually come from a handful of fixes: the main image, heavy JavaScript, third party scripts and space reserved for content that loads late.

Most people never think about how fast a website is. They just notice when it is slow, when a button does nothing for a moment, or when the text jumps just as they go to tap a link. Core Web Vitals are Google’s attempt to put numbers on those three frustrations.

Google says it highly recommends that site owners achieve good Core Web Vitals for success with Search, and that page experience aligns with what its core ranking systems seek to reward. Good scores will not lift a weak page above a better one. But on a close call, and for every visitor who arrives, they matter.

The three metrics, in plain language

Metric What it measures Good Poor
Largest Contentful Paint (LCP) How long the main content takes to appear 2.5 seconds or less Over 4 seconds
Interaction to Next Paint (INP) How quickly the page responds when someone clicks, taps or types 200 milliseconds or less Over 500 milliseconds
Cumulative Layout Shift (CLS) How much content moves around unexpectedly 0.1 or less Over 0.25

Each metric is judged at the 75th percentile of visits, separately for mobile and desktop. In other words, it is not enough for the site to be fast on your office connection. Three quarters of real visits need to hit the target.

INP is the newest of the three. It replaced First Input Delay in March 2024, and it is much harder to pass. The old metric only looked at the first interaction on a page. INP looks at interactions throughout the visit and reports one of the slowest, so a page that feels fine on arrival but sluggish once someone starts using a filter or a form will now show it.

Field data and lab data are not the same thing

This causes more confusion than anything else. When you run a test in Lighthouse or PageSpeed Insights, the large score at the top comes from a simulated visit on a simulated device. That is lab data. It is useful for finding problems, but it is not what Google uses to judge your pages.

What counts is field data: measurements from real Chrome users visiting your site, collected over the previous 28 days. You will find it in the Core Web Vitals report in Search Console and in the “Discover what your real users are experiencing” section of PageSpeed Insights. If a page has too little traffic for its own data, Google groups it with similar pages.

Two practical consequences follow. A perfect lab score does not mean you pass. And after you fix something, it takes weeks for the field data to catch up, so do not panic when the report does not change the next morning.

Fixing a slow LCP

On most business websites the largest element is a hero image or a large heading. The fixes are well understood:

  • Never lazy load the main image. Lazy loading is excellent for images further down the page and harmful for the one visitors see first. Give the hero image a high fetch priority instead.
  • Serve modern formats at the right size. AVIF and WebP files are often a fraction of the size of an equivalent JPEG. Sending a 2,400 pixel image to a phone is still common and still wasteful.
  • Reduce server response time. If the first byte takes a second to arrive, everything else starts late. Caching, a content delivery network and decent hosting fix most of this.
  • Remove what blocks rendering. Large stylesheets, fonts loaded late and scripts in the head of the page all delay the moment anything appears.

Fixing a slow INP

Poor INP is almost always a JavaScript problem. When the browser is busy running code, it cannot respond to the person tapping the screen.

  • Audit third party scripts. Chat widgets, tag managers, heatmaps, consent tools and advertising scripts add up. We regularly find sites running tools nobody in the company still uses.
  • Break up long tasks. Code that runs for hundreds of milliseconds in one go should be split so the browser can respond in between.
  • Show feedback immediately. When someone clicks, update the screen first and do the heavy work after. Even a simple loading state counts as a response.
  • Ship less code. Large themes and page builders often load features on every page that are used on only one.

Fixing layout shift

Layout shift is the easiest of the three to fix and one of the most irritating for visitors.

  • Give images and video dimensions. Width and height attributes let the browser reserve the right space before the file arrives.
  • Reserve space for late content. Banners, embeds, adverts and cookie notices should have a fixed slot rather than pushing the page down when they appear.
  • Load fonts carefully. A fallback font with similar proportions stops text from reflowing when the web font finishes loading.

Where to start

Open the Core Web Vitals report in Search Console and look at which group of pages is failing, and on which metric. Pick the template with the most traffic, usually the home page, a product page or an article, and fix that first. One template fix can repair thousands of pages at once.

Then make the targets part of how the site is built. On every project we agree Core Web Vitals targets in writing at the start and test against them before launch, so speed is designed in rather than patched later. If your site is struggling, our development team can tell you exactly why.

Sources

  1. Web Vitals, web.dev, Google
  2. Interaction to Next Paint (INP), web.dev, Google
  3. Interaction to Next Paint becomes a Core Web Vital, web.dev blog, March 2024
  4. Understanding Core Web Vitals and Google search results, Google Search Central documentation

Keep reading

Services

30 N Gould St, Ste R, Sheridan, WY 82801, USA