Core Web Vitals: what they are and how to get them into the green on your site

Custom websites 7 min read
Abstract illustration of three circular gauges turning from red to green

Core Web Vitals are three metrics Google uses to measure people's real experience on a page: LCP (how quickly the main content appears), INP (how quickly the page responds to clicks and taps) and CLS (how stable the layout stays during loading). A page is "good" when LCP is within 2.5 seconds, INP within 200 milliseconds and CLS within 0.1, measured on 75% of real visits.

In this guide we explain what each metric measures, how to read them without confusing lab data and real-world data, and which technical fixes truly improve them.

Why Core Web Vitals matter

Google uses Core Web Vitals among its page experience signals. They aren't the deciding factor for rankings: more relevant content beats a faster page. But when relevance is equal they count, and above all they matter to people. A page that loads slowly or "jumps" while you tap a button loses leads and sales, regardless of Google. That's why speed is one of the key elements of a website that converts.

That's why we treat them as a project requirement, not a final touch-up: in a custom-built website performance is decided already in the architecture choices.

The three metrics explained

LCP – Largest Contentful Paint

LCP measures the time it takes to display the largest visible element in the first screen: usually the main image, a cover video or a block of text. It's the measure of the perception that "the page has arrived."

  • Good: within 2.5 seconds
  • Needs improvement: between 2.5 and 4 seconds
  • Poor: over 4 seconds

INP – Interaction to Next Paint

INP measures responsiveness: how much time passes between an interaction (click, tap, key press) and the moment the page shows a visual response. It considers the interactions of the entire visit, not just the first one. In March 2024 INP replaced FID (First Input Delay), which only measured the delay of the first interaction and was too lenient.

  • Good: within 200 milliseconds
  • Needs improvement: between 200 and 500 milliseconds
  • Poor: over 500 milliseconds

CLS – Cumulative Layout Shift

CLS measures unexpected layout shifts: text that moves down because a banner loads above it, a button that moves just as you're about to tap it. It's a unitless value.

  • Good: within 0.1
  • Needs improvement: between 0.1 and 0.25
  • Poor: over 0.25
Core Web Vitals at a glance: LCP: loading ≤ 2.5 s, INP: responsiveness ≤ 200 ms, CLS: stability ≤ 0.1, Real data at the 75th percentile, Measure, fix, verify
The three metrics, the "good" thresholds set by Google and the work cycle for improving them.

How to measure them: real-world data and lab data

The most common mistake is looking only at the PageSpeed Insights score. That number from 0 to 100 is a lab test, simulated on a standard device and network. To assess Core Web Vitals, Google instead uses real-world data from Chrome users collected in the Chrome UX Report (CrUX), considering the 75th percentile of visits.

ToolData typeWhat it is for
Google Search Console – Core Web VitalsReal-world (CrUX)See groups of URLs with issues, split between mobile and desktop
PageSpeed InsightsReal-world (top) and lab (bottom)Analyze a single page and read the diagnostics
Lighthouse in Chrome DevToolsLabTest changes before publishing them
DevTools Performance panelLab and local sessionFind the scripts that slow down interactions (INP)

For low-traffic sites, real-world data may not be available: in that case you work with lab tests and check Search Console over time.

How to improve LCP

  • Optimize the LCP element: image in WebP or AVIF, sized for the screen, with srcset if multiple formats are needed. Never loading="lazy" if it's in the first screen.
  • Give it priority: the fetchpriority="high" attribute on the main image helps the browser download it first.
  • Reduce server response time: adequate hosting, page caching, a CDN for static resources.
  • Remove render-blocking resources: critical CSS inline, the rest loaded in a non-blocking way; scripts with defer.
  • Watch your fonts: few weights, WOFF2 format, font-display: swap, hosted on the same domain when possible.

How to improve INP

INP gets worse when the browser's main thread is busy with JavaScript and can't respond to the user. Typical fixes:

  • Reduce JavaScript: remove unused libraries, sliders, widgets and unnecessary third-party scripts.
  • Break up long tasks: operations that exceed 50 milliseconds should be split or deferred.
  • Load marketing tags wisely: pixels, chat widgets and heatmaps are often the main cause of poor INP. They should be loaded after interaction or through Tag Manager with precise rules.
  • Give immediate feedback: show the "loading" state right away and do the heavy work afterward.

How to improve CLS

  • Explicit dimensions: images, videos and iframes with width and height or aspect-ratio.
  • Reserved space for banners, cookie notices and ads, instead of inserting them by pushing the content down.
  • Stable fonts: fallback fonts with similar metrics to avoid jumps when the typeface changes.
  • Animations with transform, rather than changing the height and position of elements.

Why it's easier to stay in the green on custom sites

On a site built with multipurpose themes and page builders, you often work downstream, with optimization plugins that compress and defer resources that shouldn't be there in the first place. On a custom site you start the other way around: you load only what the page uses. Architectures such as those described in headless CMS and static sites push this principle even further. WordPress users can still get excellent results by following the guide to speeding up WordPress.

But the metrics don't stay green on their own: a new marketing script, an image uploaded without optimization or an updated plugin can make them worse. Periodic monitoring is part of website maintenance.

How we work at NEXO

In the projects we develop, we set Core Web Vitals targets before writing code, verify them in the lab during development and check them against real-world data after launch. On existing sites, we start with an analysis of URL groups in Search Console, identify the main causes and fix them in order of impact. When a site is rebuilt, we compare the metrics before and after launch, as outlined in the guide on how to rebuild your site without losing rankings. It's part of the technical work we also do in SEO, together with structured data and indexing.

Frequently asked questions

Does the PageSpeed Insights score need to be 100?

No. The score is a lab indicator useful for diagnosis. What matters to Google is real-world Core Web Vitals data. A site with a score of 85 and real-world metrics in the green is in excellent health.

Why doesn't the data in Search Console change right after the fixes?

Because real-world data is calculated over a rolling window of about 28 days. After a fix, it takes a few weeks to see the full effect.

Values are worse on mobile: is that normal?

Yes, smartphones have less powerful processors and connections. That's why it makes sense to optimize with mobile first in mind, which for most sites accounts for the main share of visits.

Does FID still exist?

No. FID has been replaced by INP as a Core Web Vital and is no longer considered in Google's reports.

Is a cache plugin enough to fix Core Web Vitals?

It helps with server response time and therefore LCP, but it's rarely enough. It doesn't fix the JavaScript that slows down interactions (INP) or the layout shifts caused by images without dimensions or late-loading banners (CLS). It needs to go hand in hand with work on code and content.

Are your site's metrics in yellow or red? Send us the address on WhatsApp or by email from the contact page: we'll tell you where the main problems are and what it takes to fix them.

  • core web vitals
  • lcp
  • inp
  • cls
  • site speed
  • pagespeed insights

We start from what you have.

Tell us about your business: we will tell you what you need and where to start. We reply within one business day.

WhatsApp