SEO guide

What are Core Web Vitals? How to improve LCP, INP and CLS

Learn what LCP, INP and CLS measure, which values count as "good" and where Google gets this data. Then you'll find steps you can work through in order to fix each metric, code examples, and tips specific to WordPress and e-commerce sites.

11 min readUpdated: October 27, 2026

In short

  • Core Web Vitals consist of three metrics: LCP (loading, good ≤ 2.5 s), INP (interactivity, good ≤ 200 ms) and CLS (visual stability, good ≤ 0.1).
  • Google looks at the 75th percentile of the last 28 days of data from real Chrome users; the lab score isn't what decides the assessment.
  • Core Web Vitals are used in ranking, but they don't outweigh relevance.
  • For LCP, the biggest gain is usually in the main image: compress it, remove the loading="lazy" attribute and add fetchpriority="high".
  • INP is hurt by long JavaScript tasks and third-party scripts; CLS by images without dimensions, ads and bars injected after the page loads.

What are Core Web Vitals, and what are the thresholds?

Core Web Vitals are a set of Google metrics that measure the user experience on a page from three angles: how quickly the main content appears, how fast the page responds to clicks, and whether content jumps around while it loads. Each metric has three tiers.

MetricWhat it measuresGoodNeeds improvementPoor
LCP (Largest Contentful Paint)Loading speed of the main content≤ 2.5 s2.5–4 s> 4 s
INP (Interaction to Next Paint)Responsiveness to interactions≤ 200 ms200–500 ms> 500 ms
CLS (Cumulative Layout Shift)Visual stability≤ 0,10,1–0,25> 0,25

INP replaced FID (First Input Delay) on March 12, 2024. FID only measured the input delay of the first interaction; INP tracks every click, tap and key press throughout the visit, up to the moment the screen is repainted. Scrolling and hovering don't count.

The assessment is based not on the average but on the 75th percentile: a metric counts as "good" if at least 75% of visits to the page stay under the threshold. Mobile and desktop are assessed separately. For a page to pass the Core Web Vitals assessment, all three metrics must be good.

How much do Core Web Vitals affect rankings?

Google's official statement is clear: Core Web Vitals are used by its ranking systems, and site owners are encouraged to achieve good values. The same document adds two caveats: there is no single "page experience signal", and getting good results in Search Console or other tools doesn't guarantee that a page will rank at the top.

Google shows the most relevant content for a search even if its page experience is weak; when there's a lot of content of similar quality, however, a good experience can make the difference. In other words, a slow page that answers the question best can outrank a fast but shallow one.

Fixing poor (red) values is worthwhile for both users and search. But spending weeks pushing a page that's already in the good range from a score of 92 to 100 may not be, as Google itself notes, the best use of your time. For other ranking factors, see the What is SEO guide.

How to measure Core Web Vitals: field data or lab data?

There are two types of data, and they're often confused. Field data is collected from the browsers of users who actually visit your site. Google's source is the Chrome User Experience Report (CrUX): the experiences over the last 28 days of Chrome users who have opted in to sharing usage data. The page must be public and get enough visits; for low-traffic pages, data is shown for the whole domain (origin) or isn't available at all.

Lab data, on the other hand, comes from a tool such as Lighthouse loading the page once while emulating a specific device and connection speed. It's ideal for debugging but doesn't represent real users. Since nobody clicks in the lab, Total Blocking Time (TBT), a close proxy, is used instead of INP. When the two disagree, it's the field data that Google uses in its assessment.

Which tool should you use for what?

  • PageSpeed Insights: The real-user section at the top is CrUX data; the score and recommendations below come from a Lighthouse test. Check mobile and desktop separately.
  • Search Console › Core Web Vitals report: Groups similar pages and sets each group's status based on its worst metric. After fixing an issue, start validation; the report then monitors field data for 28 days.
  • Chrome DevTools › Performance panel: Shows the INP of your own clicks and LCP live, side by side with your site's CrUX values.
  • Real user monitoring: With Google's open-source web-vitals library, you can send the values of every visit to your own analytics tool.

Find slow-responding pages with Site crawl; for technical topics beyond speed, see the technical SEO checklist.

Because CrUX covers the last 28 days, the effect of a fix settles into the field data over a few weeks. Verify it first with a lab test, then monitor the field data.

Page audit uses PageSpeed Insights data to show real-user values (or the lab test if those aren't available), the LCP element and, if there's a problem, the LCP phase that takes the longest.

Page audit

How to reduce LCP

Largest Contentful Paint is the moment the largest image or text block in the initial viewport is rendered; on most pages it's a hero image, a product photo or a headline. Start by finding the LCP element shown by PageSpeed Insights.

LCP breaks down into four parts: the time to first byte (TTFB), the load delay until the browser discovers and requests the image, the image download time, and the render delay after it has downloaded. On a good page, most of the time goes to TTFB and the download; the two "delay" parts should be close to zero. Whichever part is long tells you what to fix.

Shrink the main image and serve it at the right size

  • Convert the image to WebP or AVIF; at the same quality, they're noticeably smaller than JPEG and PNG.
  • Don't send a file larger than its on-screen size: use srcset and sizes to serve a narrow version to phones and a wide one to desktops.
  • Deliver the LCP image as an <img> in the HTML, not as a CSS background or via JavaScript; the browser then discovers it right away while reading the HTML.

Prioritize the LCP image

The browser doesn't know that the image in the initial viewport is important until it has calculated the page layout; fetchpriority="high" provides that information up front. Putting loading="lazy" on the same image is the most common LCP mistake: lazy loading is only for images below the fold.

<img src="/img/kampanya-800.avif"
     srcset="/img/kampanya-480.avif 480w, /img/kampanya-800.avif 800w, /img/kampanya-1200.avif 1200w"
     sizes="(max-width: 600px) 100vw, 800px"
     width="1200" height="600"
     alt="…"
     fetchpriority="high">

If the image is a CSS background and you can't move it into the HTML, preload it in the <head>: <link rel="preload" as="image" href="/img/kampanya.avif" fetchpriority="high">. Give high priority to only one or two critical images.

Speed up the server response (TTFB)

TTFB is the time from sending the request until the first byte of the HTML arrives, and it delays every metric that follows. A rough target is under 0.8 seconds.

  • Use a page cache: serve a ready-made copy of the HTML instead of generating it from the database on every request.
  • Use a CDN to serve content from a server close to the visitor; if your audience is in Türkiye, check whether your server or the CDN's edge locations are close to Türkiye.
  • Remove redirect chains: each step, such as http:// → https:// → www, is a separate round trip. See the chain with the Redirect checker.
  • Compress text with Brotli or gzip, and give static files a long Cache-Control lifetime.

Reduce render-blocking CSS and JavaScript

The browser doesn't render the page until the stylesheets in the <head> and scripts without async or defer have downloaded and run. Inline critical CSS, add defer to scripts, remove unused CSS and JavaScript, and don't use @import in stylesheets.

Load fonts without holding up text

If the LCP element is a heading, text that stays invisible until the font downloads delays LCP. font-display: swap shows the text in a fallback font first. Serve the main font as WOFF2 from your own domain and preload it with <link rel="preload" as="font" type="font/woff2" crossorigin>; without crossorigin, the preload isn't used.

On Turkish-language pages, watch out for the subset trap: in font services, ç, ö, ü and ı are in the "latin" file, while ğ, ş and İ are in the "latin-ext" file. If you preload only the latin file, these letters snap into place later; if you don't declare latin-ext at all, they're displayed in the fallback font. Load both, or create a single subset that includes the Turkish letters.

Use the HTTP header checker to see your server's time to first byte, compression and cache headers in one go.

HTTP header checker

What is INP and how do you improve it?

INP is the time from a click or tap until a visual response appears on screen. It has three parts: waiting for the handler to start because the main thread is busy (input delay), running the handler, and the browser painting the next frame (presentation delay). A page's INP value is the slowest interaction during the visit; on highly interactive pages, the slowest interaction out of every 50 is ignored as an outlier.

Break up long tasks

Any JavaScript work that takes longer than 50 milliseconds is a long task, and while it runs the page can't respond to clicks. Split large jobs into chunks and yield control back to the browser in between.

function yieldToMain() {
  if (globalThis.scheduler?.yield) return scheduler.yield();
  return new Promise((resolve) => setTimeout(resolve, 0));
}

async function processItems(items) {
  let last = performance.now();
  for (const item of items) {
    render(item);
    if (performance.now() - last > 40) {
      await yieldToMain();
      last = performance.now();
    }
  }
}

In browsers that support scheduler.yield(), the remaining work is moved to the front of the queue; in those that don't, the setTimeout fallback kicks in.

Audit third-party scripts

Tag managers, live chat, heatmaps, A/B testing, advertising and retargeting scripts share the main thread with your own code. The Lighthouse report lists the third-party domains with the heaviest impact.

  • Remove unused tags and the pixels of campaigns that have ended.
  • Load heavy elements like live chat and video behind a facade: show a lightweight image first and download the real script only when the user clicks.
  • Run non-critical scripts with defer or after the page has loaded.

You can list the analytics and marketing tools your page loads with the Technology detector.

Lighten your event handlers

  • Give visual feedback first (show the button as pressed) and leave the heavy work for the next frame.
  • Debounce handlers that run on every keystroke, such as a search box or filter.
  • Don't change styles and then immediately read measurements such as offsetHeight; the browser is forced to recalculate the layout (layout thrashing).
  • Keep the DOM small; applying content-visibility: auto to long off-screen sections reduces rendering work.
button.addEventListener('click', () => {
  button.classList.add('is-loading');
  requestAnimationFrame(() => {
    setTimeout(() => {
      updateCart();
      sendAnalytics();
    }, 0);
  });
});

How to fix CLS

Cumulative Layout Shift is a unitless score that measures unexpected movement of elements. Each shift is scored by the size of the affected area and the distance it moves. Shifts that follow one another less than 1 second apart, within a span of no more than 5 seconds in total, are grouped into one window; the score of the worst window becomes the CLS. Shifts within 500 milliseconds of a user click don't count.

Set dimensions for images and embeds

When an image of unknown size downloads, it pushes everything below it down. Add width and height to the <img> tag; while height: auto in your CSS keeps the image responsive, the browser reserves space based on the aspect ratio. For video and map embeds, use aspect-ratio.

<img src="/img/urun.webp" width="800" height="800" alt="…">

img { max-width: 100%; height: auto; }
.video-embed { aspect-ratio: 16 / 9; }

Reserve space for ad slots and late-loading content

  • Give the ad slot a min-height matching the most likely ad size. If no ad is served, don't collapse the space; show a placeholder.
  • Don't insert content at the top of the initial viewport after the page loads; if you must, place it further down the page.
  • Adding campaign bars such as "Kargo bedava" (free shipping) to the top with JavaScript after load pushes the entire page down. Include the bar in the HTML from the start, or reserve space for it.
  • Show the KVKK cookie notice as an overlay that opens on top of the page with position: fixed, rather than as a banner that pushes content down.
  • For animations, use transform instead of properties that change the layout, such as top or height.

Prevent shifts caused by font swapping

When a web font downloads, it replaces the fallback font; if their widths differ, lines rewrap and the text shifts. The fix: font-display: optional uses the font only if it arrives in time for the first render; alternatively, you make the fallback font resemble the web font with size-adjust and ascent-override (measure the percentages for your own font).

@font-face {
  font-family: "Brand Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 92%;
}
body { font-family: "Brand", "Brand Fallback", sans-serif; }

What to watch out for on WordPress and e-commerce sites

WordPress

  • Keep core up to date: since WordPress 6.3, fetchpriority="high" is automatically added to the image most likely to be the LCP. If the theme or page builder still lazy-loads that image, the gain is lost; check that the LCP image doesn't have loading="lazy".
  • Homepage sliders load images with JavaScript and render them late; a single, static hero image is usually faster.
  • The step that lowers TTFB the most is a page cache; if your hosting provider offers one, turn on object caching as well.
  • What matters is less the number of plugins than the scripts they load on every page; a form script needed only on the contact page shouldn't load on every page.
  • Settings that delay scripts until the first interaction raise the lab score, but if they all run at once on the first tap, INP can get worse; verify with field data.
  • Since WordPress 6.5, you can upload AVIF images (if your server supports them).

E-commerce sites

  • On category pages, load the product images in the first row immediately and give the rest loading="lazy".
  • Filter and sort clicks are where INP struggles most: instead of re-rendering hundreds of product cards at once, split the list into chunks and show a "loading" state first.
  • Product reviews, live chat, promotional pop-ups and retargeting pixels together lock up the main thread. For each one, ask: "Does this script drive sales?"
  • Prepare product photos in the same aspect ratio (square, for example); different ratios change card heights and cause layout shifts.
  • If you're on a hosted (SaaS) platform without server access, focus on your theme choice, image sizes, installed apps and tag manager.

Competitor analysis compares your page side by side with three competitors, including speed; see where your values stand in your industry.

Competitor analysis

Frequently asked questions

Do Core Web Vitals affect rankings?

Yes, Google says Core Web Vitals are used in its ranking systems; however, relevance and content quality matter more. Good values don't guarantee a top ranking.

Does the PageSpeed Insights score have to be 100?

No. The performance score is calculated from a single lab test; what Google assesses are real users' LCP, INP and CLS values. If all three metrics are good, your effort is usually better spent on content.

What is INP, and how is it different from FID?

INP measures how long the page takes to respond visually to clicks, taps and key presses; 200 ms or less is good. It replaced FID in March 2024: FID only measured the input delay of the first interaction.

Why is the Core Web Vitals report in Search Console empty?

The report is based on CrUX data collected from Chrome users; if your site is new or doesn't get enough visits, there's no data. In that case, use the lab test in PageSpeed Insights.

When will the effect of fixes show up?

Immediately in lab tests, and within a few weeks in field data: because CrUX covers the last 28 days, the value improves as older visits drop out of the window.

Related guides and tools