What Are Core Web Vitals? LCP, INP and CLS Explained
What are Core Web Vitals?
Core Web Vitals are three Google metrics that measure real users' experience of 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 the 75th percentile of visits, LCP is 2.5 seconds or less, INP is 200 milliseconds or less and CLS is 0.1 or less.
The three metrics and their thresholds
| Metric | What it measures | Good | Needs improvement | Poor |
|---|---|---|---|---|
| LCP | Time until the largest image or text block in the viewport is rendered | 2.5 s or less | Up to 4 s | Over 4 s |
| INP | Delay between a click, tap or key press and the next visual update, across the visit | 200 ms or less | Up to 500 ms | Over 500 ms |
| CLS | How much visible content moves unexpectedly while the page is used | 0.1 or less | Up to 0.25 | Over 0.25 |
INP replaced First Input Delay (FID) as a Core Web Vital in March 2024. FID measured only the delay before the first interaction was handled; INP looks at all interactions and includes the time to process them and paint the result, so it reflects sluggish menus and filters that FID missed.
Core Web Vitals are part of the page experience signals Google's ranking systems use. Google has said that relevant, helpful content matters more, so passing the metrics will not lift a weak page, but slow and unstable pages frustrate visitors and lose enquiries.
How the metrics are measured: field and lab data
Google assesses Core Web Vitals at the 75th percentile of page loads, separately for mobile and desktop. In other words, at least three out of four visits need a good result for the page to pass. This stops a fast office connection hiding a poor experience on budget phones and mobile data.
| Field data | Lab data | |
|---|---|---|
| Source | Real Chrome users, through the Chrome User Experience Report (CrUX) | A simulated test, such as Lighthouse |
| Period | A rolling 28-day window | One test run at one moment |
| INP | Measured from real interactions | Not measurable; Total Blocking Time is used as a related indicator |
| Use it to | Judge whether pages pass | Debug causes and test fixes before release |
| Where to see it | Search Console Core Web Vitals report, PageSpeed Insights | Lighthouse in Chrome DevTools, PageSpeed Insights |
Pages with too little traffic have no URL-level field data, so Search Console groups similar URLs together and PageSpeed Insights may show origin-level data instead.
Improving LCP
The LCP element is usually a hero image, a banner or a large heading. LCP time can be split into four parts: time to first byte, the delay before the resource starts loading, the resource download time and the delay before it renders. Find which part is largest before fixing anything.
- Reduce server response time with page caching, a CDN and efficient database queries.
- Make the LCP image discoverable in the initial HTML, not injected later by JavaScript or hidden in a CSS background.
- Never lazy-load the LCP image, and give it
fetchpriority="high". - Serve correctly sized images in modern formats such as WebP or AVIF.
- Remove or defer render-blocking CSS and JavaScript that the first screen does not need.
<img src="/images/hero-800.webp"
srcset="/images/hero-800.webp 800w, /images/hero-1600.webp 1600w"
sizes="100vw"
width="1600" height="900"
fetchpriority="high"
alt="Learners working on an SEO project"> Improving INP
Poor INP is almost always caused by JavaScript keeping the main thread busy. Any task longer than 50 milliseconds is a long task, and while it runs the browser cannot respond to the visitor.
- Remove unused scripts, especially third-party chat widgets, trackers and heavy sliders.
- Break long tasks into smaller pieces and yield to the main thread between them.
- Show visual feedback first, such as opening a menu, and do the slower work afterwards.
- Keep the DOM small; very large pages take longer to update after every interaction.
function yieldToMain() {
if (globalThis.scheduler?.yield) {
return scheduler.yield();
}
return new Promise(resolve => setTimeout(resolve, 0));
}
async function filterProducts(items) {
for (const item of items) {
updateCard(item); // one small piece of work
await yieldToMain(); // let the browser handle input and paint
}
} Improving CLS
Layout shifts happen when something appears or changes size and pushes content the visitor is reading. Common causes are images without dimensions, ads and embeds that load late, cookie banners inserted above content and web fonts that swap to a different size.
- Give every image and video
widthandheightattributes, or a CSSaspect-ratio. - Reserve space for ads, embeds and banners with a fixed minimum height.
- Show notices as overlays rather than inserting them above existing content.
- Animate with
transformandopacityinstead of properties that change layout, such astoporheight. - Preload key fonts and use matching fallback font metrics to reduce text reflow.
.ad-slot {
min-height: 250px; /* space reserved before the ad loads */
}
.video-embed {
aspect-ratio: 16 / 9;
width: 100%;
}The web performance guide covers caching, compression and image handling in more depth.
Measuring your own real-user data
CrUX only covers Chrome users and updates slowly. Google's open-source web-vitals JavaScript library lets you record the same metrics from your own visitors and send them to an endpoint or analytics tool:
import { onLCP, onINP, onCLS } from 'web-vitals';
function send(metric) {
const body = JSON.stringify({
name: metric.name, value: metric.value,
rating: metric.rating, id: metric.id
});
navigator.sendBeacon('/vitals', body);
}
onLCP(send);
onINP(send);
onCLS(send);When a fix is live, open the issue in the Search Console Core Web Vitals report and start validation. Because field data uses a 28-day window, results take several weeks to confirm. Diagnosing these metrics on real templates is part of the Technical SEO and Website Optimization course, alongside the wider technical SEO fundamentals.
Practical exercise: diagnose one slow template
- Pick a high-traffic template, such as a product or blog post page, and run it through PageSpeed Insights on mobile.
- Write down the field values for LCP, INP and CLS, and note whether they come from the URL or the whole origin.
- In Chrome DevTools, open the Performance panel, record a page load and identify the LCP element.
- Record a second trace while you open a menu or apply a filter, and find the longest task.
- List one fix for each metric, implement the easiest on a test copy of the page and re-run Lighthouse to compare lab results.
Common mistakes
- Chasing a perfect Lighthouse score while ignoring field data from real visitors.
- Lazy-loading the hero image, which delays the LCP element.
- Adding more third-party scripts without measuring their effect on INP.
- Inserting banners and ads above content without reserving space.
- Testing only on a fast desktop connection when most visitors use phones on mobile data.
Frequently asked questions
Do Core Web Vitals affect rankings?
They are among the page experience signals Google uses, but relevance and content quality carry more weight. Good scores help most when competing pages are otherwise similar.
Why does PageSpeed Insights show different numbers each time?
Lab tests vary with network conditions and server load at the moment of testing. Field data is steadier because it is aggregated over 28 days.
Is First Input Delay still used?
No. INP replaced FID in March 2024, and FID has been removed from Google's tools.
Why is there no Core Web Vitals data for my site?
Field data needs enough Chrome visits to be reported. New or low-traffic sites can use lab tests and their own web-vitals measurements until then.