A website’s performance is about more than how quickly a page loads. Even if your content appears within seconds, slow button responses or unexpected layout shifts can frustrate visitors and affect their experience. So, how can you determine whether your website is performing well? Core Web Vitals are Google’s key performance metrics that measure loading speed, interactivity, and visual stability. In this guide, you’ll learn about the three Core Web Vitals metrics, their recommended thresholds, and the tools you can use to measure and improve your website’s performance.
What Are Core Web Vitals?
Core Web Vitals are a set of performance metrics introduced by Google to measure important aspects of the user experience on a website. These metrics focus on three main factors: loading performance, interactivity, and visual stability. In other words, they help website owners understand how quickly a page loads, how smoothly users can interact with it, and whether its content remains stable while loading.
Website performance is not only about how quickly a page opens. A website may load its content in a short time, but if users have to wait before they can click a button or if the page layout changes unexpectedly, the overall experience may still be poor. Core Web Vitals help identify these problems and provide measurable targets for improving website performance.
Google currently uses three Core Web Vitals metrics: Largest Contentful Paint (LCP), Interaction to Next Paint (INP), and Cumulative Layout Shift (CLS). Each metric measures a different part of the user experience, so improving one of them does not necessarily mean that the other two will improve as well.
Why Are Core Web Vitals Important?
A website should provide a smooth and reliable experience for its visitors. When a page takes too long to load, users may leave before they can access the information they need. Similarly, if buttons respond slowly or page elements move unexpectedly, visitors may become frustrated and have difficulty completing their tasks.
Core Web Vitals help website owners identify these issues by using measurable performance data rather than relying only on personal impressions. For example, a developer may test a website on a powerful computer and find that it loads quickly. However, visitors using older mobile devices or slower internet connections may experience much longer loading times.
These differences make performance monitoring important. By analyzing Core Web Vitals data, developers can identify which parts of a website need improvement and determine whether their optimization efforts are producing the expected results.
Core Web Vitals are also relevant to search engine optimization (SEO). Google uses page experience signals in its ranking systems, but good Core Web Vitals scores do not guarantee higher rankings. Relevant content and many other factors remain important. Therefore, improving these metrics should be considered part of a broader strategy for building a useful, accessible, and reliable website.
What Are the Three Core Web Vitals Metrics?
Each Core Web Vitals metric focuses on a specific aspect of website performance. Understanding how they work makes it easier to identify performance problems and choose the right optimization techniques.
What Is Largest Contentful Paint (LCP)?
Largest Contentful Paint (LCP) measures how long it takes for the largest image or text block visible in the initial viewport to appear. This metric helps estimate when the main content of a page becomes visible to the user.
For example, imagine that a visitor opens a blog article. The page background and navigation menu may appear almost immediately, but the main heading or featured image may take several seconds to load. In this situation, the visitor may feel that the page is still loading, even though some of its elements are already visible. A good LCP score should be 2.5 seconds or less. If the value is between 2.5 and 4 seconds, the page needs improvement. An LCP value greater than 4 seconds is considered poor.
Several factors can affect LCP, including slow server response times, large images, render-blocking CSS and JavaScript, and delays in discovering the main content.
To improve LCP, website owners can take the following steps:
- Optimize images: Reduce image file sizes and use modern formats such as WebP or AVIF when appropriate.
- Improve server response times: Use efficient hosting resources, caching, and a content delivery network (CDN) when they are suitable for the website.
- Prioritize the main content: Make sure the browser can discover important images directly from the HTML source and prioritize their loading when necessary.
- Reduce render-blocking resources: Optimize CSS and JavaScript files that prevent the browser from displaying the main content.
- Avoid lazy-loading the LCP image: If an image is likely to be the LCP element, delaying its loading can make the page appear slower.
These techniques can reduce the time users spend waiting for the main content to appear. However, the most effective solution depends on the cause of the delay, so it is important to measure the page before making changes.
What Is Interaction to Next Paint (INP)?
Interaction to Next Paint (INP) measures how responsive a website feels when users interact with it. It evaluates the delay between a user interaction, such as clicking a button or pressing a key, and the next visual update displayed by the browser.
Consider an online store where a visitor clicks the Add to Cart button. If the browser takes a noticeable amount of time to update the cart, the visitor may think that the button did not work and click it again. This can create confusion and may even lead to duplicate actions.
INP helps identify these types of problems by measuring the responsiveness of a page throughout the user’s visit. Unlike First Input Delay (FID), which measured only the delay before the browser began processing the first interaction, INP considers the broader interaction experience across a page’s lifetime. A good INP score is 200 milliseconds or less. Values greater than 200 milliseconds and up to 500 milliseconds need improvement, while values above 500 milliseconds are considered poor.
JavaScript is a common cause of poor INP because the browser may need to execute scripts before it can respond to user input and display an update. Long-running tasks can prevent the browser from processing interactions promptly.
To improve INP, developers can use several techniques:
- Reduce unnecessary JavaScript: Remove unused code and avoid loading scripts that are not needed for the current page.
- Break up long tasks: Divide large JavaScript tasks into smaller tasks so the browser has more opportunities to process user interactions.
- Optimize event handlers: Keep interaction-related functions as simple and efficient as possible.
- Avoid unnecessary DOM updates: Updating too many elements at once can increase rendering time and delay the next visual update.
- Reduce third-party scripts: Analytics tools, advertising scripts, and embedded services can consume processing resources and affect responsiveness.
Improving INP requires more than reducing the total size of JavaScript files. Developers also need to understand when scripts execute and how much work the browser must perform after an interaction.
What Is Cumulative Layout Shift (CLS)?
Cumulative Layout Shift (CLS) measures the visual stability of a web page. It focuses on unexpected changes in the position of visible elements while the page is being displayed.
For example, imagine that a visitor is reading an article and suddenly sees the text move downward because an advertisement has appeared above it. If the visitor was about to click a link, the unexpected movement could cause them to click a different element. These layout changes can make a website difficult to use, especially on mobile devices where the visible area is limited. A good CLS score is 0.1 or less. Scores greater than 0.1 and up to 0.25 need improvement, while scores above 0.25 are considered poor.
Several common issues can cause unexpected layout shifts. Images without defined dimensions, dynamically inserted advertisements, late-loading content, and web fonts that change the appearance of text can all affect visual stability.
The following techniques can help improve CLS:
- Set image dimensions: Specify the width and height of images or use CSS aspect ratios to reserve the required space before an image loads.
- Reserve space for advertisements: Allocate sufficient space for ad containers to prevent surrounding content from moving when ads appear.
- Avoid inserting content above existing content: If new elements need to be displayed, place them where they will not unexpectedly move the content users are already viewing.
- Optimize font loading: Use appropriate font-loading strategies and fallback fonts to reduce unexpected changes in text layout.
- Use suitable CSS animations: Prefer animations based on properties such as transform and opacity when possible, rather than properties that cause layout changes.
It is important to understand that not every layout shift is harmful. A change that occurs directly in response to a user interaction may be expected. CLS focuses on unexpected visual instability and uses a scoring method based on layout-shift impact and distance.
What Are the Recommended Core Web Vitals Thresholds?
Google provides specific thresholds to help website owners determine whether their pages offer a good user experience. These thresholds divide performance into three categories: good, needs improvement, and poor.
| Core Web Vital | What It Measures | Good Threshold | Needs Improvement | Poor |
|---|---|---|---|---|
| Largest Contentful Paint (LCP) | Loading performance | ≤ 2.5 seconds | 2.5–4 seconds | > 4 seconds |
| Interaction to Next Paint (INP) | Interactivity | ≤ 200 milliseconds | 200–500 milliseconds | > 500 milliseconds |
| Cumulative Layout Shift (CLS) | Visual stability | ≤ 0.1 | 0.1–0.25 | > 0.25 |
These thresholds help developers evaluate each metric separately. However, a single test is not enough to determine whether a website consistently provides a good experience.
Google recommends evaluating Core Web Vitals at the 75th percentile of page visits, with mobile and desktop results considered separately. This means that at least 75% of measured visits should meet the good threshold for each metric.
For example, suppose a website has an LCP value of 2 seconds at the 75th percentile. This means that 75% of the measured page visits have an LCP of 2 seconds or less, which meets the recommended threshold.
A website should aim to meet the good thresholds for all three metrics rather than focusing only on its strongest score.
What Are the Core Web Vitals Measurement Tools?
Core Web Vitals can be measured using several tools provided by Google. These tools help developers understand how a website performs and identify areas that need improvement.
PageSpeed Insights
PageSpeed Insights is one of the most useful tools for checking Core Web Vitals. It provides both real-world user data, when available, and lab data collected through a simulated test. It also offers suggestions for improving page performance.
Google Search Console
Google Search Console includes a Core Web Vitals report that shows which groups of pages provide a good user experience and which need improvement. It uses real-world data to help website owners identify performance issues across multiple pages.
Chrome DevTools and Lighthouse
Chrome DevTools and Lighthouse help developers test page performance in a controlled environment. They can identify issues related to JavaScript execution, image loading, layout shifts, and other factors that affect Core Web Vitals.
What Is the Difference Between Field Data and Lab Data?
Core Web Vitals can be evaluated using two types of data: field data and lab data. Understanding the difference helps developers interpret test results and choose the right approach to improving website performance.
Field Data
Field data is collected from real users as they browse a website. It reflects actual browsing conditions, including different devices, network connections, and user interactions.
This data is particularly useful for understanding whether a website meets Google’s recommended Core Web Vitals thresholds in real-world situations.
Lab Data
Lab data is collected in a controlled testing environment using tools such as Lighthouse. It helps developers reproduce performance problems and investigate their possible causes.
Unlike field data, lab data does not represent every real-world user experience. Therefore, a website may receive different results from lab tests and real-user measurements.
How to Improve Core Web Vitals
Improving Core Web Vitals requires identifying the issues affecting loading speed, interactivity, and visual stability. The right solution depends on which metric is performing poorly.
Improve Largest Contentful Paint (LCP)
To improve LCP, developers should focus on loading the largest visible content element as quickly as possible. Common improvements include optimizing images, choosing a reliable web hosting service, reducing server response times, enabling caching, and avoiding unnecessary delays in loading important resources.
Improve Interaction to Next Paint (INP)
INP can be improved by reducing long-running JavaScript tasks and minimizing unnecessary work on the main thread. Developers should also optimize event handlers and avoid making the browser perform too much work after a user clicks, taps, or types.
Improve Cumulative Layout Shift (CLS)
To reduce CLS, developers should reserve space for images, videos, advertisements, and other elements before they load. Avoid inserting new content above existing content unexpectedly, and use consistent dimensions for visual elements whenever possible.
Ultimately
Core Web Vitals help developers understand how users experience a website in terms of loading performance, interactivity, and visual stability. By measuring LCP, INP, and CLS, website owners can identify performance issues and prioritize improvements that make their pages easier to use.
Regular monitoring, real-user data, and targeted optimization can help websites maintain good Core Web Vitals results over time
FAQ
1. What is the difference between field data and lab data?
Field data comes from real users visiting a website, while lab data is collected in a controlled testing environment. Field data reflects actual user experiences, whereas lab data helps developers reproduce and diagnose performance problems.
2. How can I improve my Core Web Vitals scores?
You can improve Core Web Vitals by optimizing images, reducing unnecessary JavaScript, improving server response times, enabling caching, and preventing unexpected layout shifts.


