Skip to content
ع
Web Development

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

Three metrics summarise how your site feels: how fast it appears, how quickly it responds and how stable it stays. An illustrated guide to each and how to improve it.

Ahmad Khreiswebmaster5.0(2)
Published Updated 16 min read
Illustration for the article: Core Web Vitals Explained: LCP, INP and CLS in Plain Language

When someone opens your page, they judge it within seconds: did it appear quickly? Did it respond when they tapped a button? Did the text jump from under their finger? Core Web Vitals turn those three impressions into measurable numbers, and Google uses them as part of its page experience signals. In this guide we explain each of the Core Web Vitals in plain language: what it measures, why it gets worse and how to fix it step by step, with examples from small business sites and online stores.

Key takeaways

  1. 1Three metrics: LCP for how fast the main content appears, INP for responsiveness and CLS for visual stability.
  2. 2A site is "good" when 75% of real visits meet the threshold, not when your fast device is happy.
  3. 3The biggest wins usually come from the hero image, less JavaScript and reserved space for anything that loads late.
  4. 4Measure with field data in Search Console; diagnose with lab data in PageSpeed and Lighthouse.

What are Core Web Vitals and their official thresholds?

Each metric has three zones: good, needs improvement and poor. The needles stop at the upper limit of "good" as defined by Google:

The official "good" thresholds

  • LCP2.5 s or less

    How fast the largest above-the-fold element appears

  • INP200 ms or less

    Response time to taps, clicks and typing

  • CLS0.1 or less

    How much elements move unexpectedly

Green is good, yellow needs improvement, red is poor. Assessed at the 75th percentile of real page visits.Source: Google's web.dev documentation

How do the three metrics show up while a page loads?

The easiest way to understand them is to picture the page loading frame by frame. Each metric captures a different moment of that journey:

The loading moments Core Web Vitals measure

  1. Blank screen

    The request is on its way to the server

  2. First text

    Rendering has started, but the main content isn't complete

  3. Hero image appears

    The LCP moment

  4. An ad pushes content

    A jump counted in CLS

  5. The visitor interacts

    Response time counted in INP

LCP is recorded when the largest element appears, CLS catches any layout jump, and INP measures the response to every interaction after that.

LCP: how long until the main content appears?

Largest Contentful Paint measures the time until the largest visible element in the first screen appears, usually the hero image or a large heading. It's the metric closest to the visitor's feeling that "the page has loaded".

What slows LCP?

  • A huge hero image in an old format or larger than needed
  • Lazy-loading the main image even though it's visible immediately
  • A slow server due to heavy queries or no caching
  • CSS files and fonts that block rendering

How to speed it up

  • Modern formats such as WebP and AVIF at responsive sizes
  • High fetch priority for the hero image, never lazy-loaded
  • Caching and pre-rendering for pages that rarely change
  • Less critical CSS and fonts that don't hide text while loading

Start with images: compress them with the Image Compressor, convert formats with the Image Converter and read the details in our image optimisation guide.

A practical example: a home page that appears after four seconds

Imagine a home page topped by a full-width hero image weighing 2.5 MB, preceded by two web fonts from an external service and a chat script. On a mid-range phone with a decent connection, the browser may need three seconds just to start downloading the image because it's busy with the files before it, then another second to fetch it. The result is an LCP of around four seconds, well outside the 2.5-second "good" threshold.

The fix doesn't require rebuilding the site: converting the image to WebP or AVIF at a mobile-appropriate width shrinks it dramatically, telling the browser it's the most important element with fetchpriority="high" moves it up the queue, and deferring the chat script until the visitor interacts frees the main thread. After those three steps the main content appears noticeably faster, and you can confirm it in the lab section before waiting for field data.

INP: does the site respond instantly?

Interaction to Next Paint replaced FID in March 2024. It measures the time between a visitor's interaction (a click, tap or keypress) and the next visual update, across the whole visit rather than just the first interaction. A poor INP makes a site feel "heavy" even if it appeared quickly.

Long JavaScript tasks

They block the browser's main thread so it can't respond to clicks. Break them into smaller tasks.

Too many third-party scripts

Tracking, chat and ad tools all running at once. Ask of each: do you need it on every page?

Heavy event handlers

Big operations run directly on typing or clicking. Show instant feedback first, then do the work.

More JavaScript than needed

Render content on the server and load heavy components only when needed.

That's why we prefer frameworks that render pages on the server, as explained in our guide to choosing the right tech stack.

Why does a site sometimes feel "frozen"?

The browser runs JavaScript on a single main thread. If that thread is busy with a long task, such as a tracking script analysing the page or a large library starting up, the visitor's tap waits in line until the task finishes. All the visitor sees is a button that doesn't respond, so they tap again or leave.

To improve INP, first find long tasks in the Performance tab of the developer tools, then break them into smaller pieces, remove third-party scripts you don't truly need, and show instant visual feedback on tap (such as changing the button state) before doing the heavy work. The official "good" threshold for INP is 200 milliseconds or less, as web.dev's INP guide explains.

CLS: does the page stay still?

Cumulative Layout Shift measures unexpected movement of elements while loading. The classic example: you go to tap a link, an ad suddenly appears and pushes the content down, and you tap something else.

  1. 1
    Set dimensions on all media

    Give images, video and embeds a width and height or an aspect ratio.

  2. 2
    Reserve space for late content

    Ads, banners and notices get a fixed slot before they load.

  3. 3
    Don't insert content above content

    Unless it's a response to the visitor's own interaction.

  4. 4
    Pick a close fallback font

    Similar metrics between the fallback and final font reduce jumps when it loads.

How is the CLS score calculated? A worked example

Each unexpected shift gets a score equal to its "impact fraction" multiplied by its "distance fraction". The impact fraction is the share of the viewport affected by the movement; the distance fraction is the greatest distance the element moved divided by the viewport height. Suppose a paragraph fills half the screen and an ad appears above it, pushing it down by a quarter of the screen height: the affected area becomes three quarters of the viewport (its old and new positions combined), so the score is 0.75 × 0.25 ≈ 0.19. That single shift on its own exceeds the 0.1 "good" threshold, which is why one ad without reserved space can ruin a whole page's rating.

Shifts that happen within half a second of a visitor's tap don't count, because they're expected: opening a menu or expanding an FAQ doesn't hurt you. The problem is always movement the visitor didn't ask for. The full formula is explained in web.dev's CLS guide.

Lab data or field data?

You can score 100 in Lighthouse and still have poor field data, because your audience uses mid-range devices and slower networks than yours.

TypeWhere it comes fromWhen to use it
Lab dataA simulated device and network, such as LighthouseDiagnosing and testing fixes quickly
Field dataReal visitors via the Chrome UX ReportKnowing your actual assessment in Search Console

How do you read the two together? Start with field data to learn whether there really is a problem and in which metric, then move to the lab to find its cause. If field LCP is poor, for example, open the Lighthouse report and look at the "Diagnostics" section to see which element is the largest one and what delayed it. If a new or low-traffic page has no field data yet, rely on the lab for now, but test in mobile mode with network and CPU throttling, because that is far closer to most visitors' experience than a fast desktop. Remember that field data updates slowly: an improvement you ship today shows its full effect after about four weeks.

A Core Web Vitals improvement plan

Improvement isn't a one-off; every new feature or extra script can bring a problem back. This is the cycle we follow:

The performance improvement cycle1Measure2Diagnose3Fix4Verify
  1. 1
    Measure

    Open the Core Web Vitals report in Google Search Console and find the weak page groups.

  2. 2
    Diagnose

    Run PageSpeed Insights on a representative page from each group and read the recommendations.

  3. 3
    Fix

    Start with the biggest impact: the hero image, then JavaScript, then reserved space.

  4. 4
    Verify

    Watch the field data until the group moves to "good".

Field data is collected over 28 days, so a fix shows up in the report a few weeks later.

Common Core Web Vitals mistakes

Chasing a lab score of 100. What matters to Google and to visitors is field data at the 75th percentile: at least three quarters of visits should fall within the good threshold. A page with a lab score of 85 and green field data beats a page with a lab score of 100 and poor field data.

Optimising only the home page. Visitors usually land on service pages, articles and product pages. Use the Core Web Vitals report in Search Console, which groups similar pages together and shows which kind of page needs work first.

Stacking "speed" plugins. Installing several caching or minification plugins can create conflicts that slow the site down or break features. Fixing the cause itself, such as a huge image or an unnecessary script, always helps more.

Forgetting what happens after load. INP measures every interaction during the visit, not just the first tap. Filter menus, long forms and chat windows need testing after the page has finished loading.

How do you track Core Web Vitals every month?

Set aside half an hour each month: open the page experience report in Search Console, note the number of good, needs-improvement and poor URLs for both mobile and desktop, then test one page from each poor group in PageSpeed Insights to find the cause. Whenever you add a new script, ad or chat tool to the site, retest straight away. Because images are the most common cause of slow LCP, make compressing them a habit with the image compressor and the image converter before uploading, and read our guide to web image formats to choose the right format. Core Web Vitals aren't a one-off project but a small maintenance habit that protects both your visitors' experience and your rankings.

Conclusion

Core Web Vitals are three questions every visitor asks without noticing: did the page appear quickly, did it respond, did it stay still? Answer them with light images, less JavaScript and reserved space, then measure with real data. To go deeper, read our website speed guide and technical SEO guide, and if you want a site that's fast from the ground up, explore our website development service.

Frequently asked questions

Do Core Web Vitals affect Google rankings?

Yes, they're part of the page experience signals Google uses, but relevance and content quality matter more. Speed tips the balance between similar pages and lifts conversions.

What replaced FID?

INP replaced FID as a Core Web Vital in March 2024 because it measures responsiveness across all interactions in a visit, not just the first.

Why does PageSpeed differ from the Search Console report?

PageSpeed shows lab data from a single simulation, plus field data when available. Search Console uses real-visitor data over 28 days, which is what determines your actual assessment.

How long until improvements show?

Chrome UX Report data uses a rolling 28-day window, so the full effect appears in Search Console a few weeks after the fix.

Why does my PageSpeed Insights score change every time I test?

The lab section simulates a device and network at the moment of the test, so it is affected by server load, ads and third-party scripts and varies a little between runs. The field section is more stable because it summarises real visitors over 28 days.

Is a green score on desktop enough?

No. Google assesses mobile and desktop experiences separately, and most visitors usually arrive on phones, where processors are weaker and networks slower. Focus on mobile results first.

Sources & references

  1. web.dev — Web Vitals
  2. web.dev — Largest Contentful Paint (LCP)
  3. web.dev — Interaction to Next Paint (INP)
  4. web.dev — Cumulative Layout Shift (CLS)
Ahmad Khreis

About the author

webmaster

I believe technology is useful when it solves a clear problem — not when it's adopted because it's trendy. AI is a powerful tool for speeding up research, writing, analysis and automation, but it needs human expertise to review, guide and verify accuracy. That's why I prefer to start by understanding the business and its goals, then choose the simplest solution that delivers a measurable result, and build audience trust with honest, useful content.

Reader rating
5.0(2)
Published articles
82
  • #performance
  • #core web vitals
  • #speed
Share

How would you rate this article?

Be the first to rate

Comments

No comments yet. Share your thoughts!

Leave a comment

Related articles