SEOMay 8, 2026 · Updated Oct 13, 2026 · 5 min read

How to Optimize Core Web Vitals (2026 Guide)

What Google says Core Web Vitals do for ranking, and the fixes for LCP, INP and CLS measured in Chromium: yielding cut a click's time to paint from about 310 ms to under 16, and image dimensions only stop layout shift when they match the file.

⚡
Try the Core Web Vitals Cheatsheet
Free, no signup
→
DG
Derek Giordano
Designer & Developer
In this guide
01What Google Says About Core Web Vitals02LCP: Get the Main Content Painted03INP: Show the Response Before Doing the Work04CLS: What Actually Moves the Page05Measuring Your Own Pages

What Google Says About Core Web Vitals

Google's page experience documentation (updated September 22, 2026) says Core Web Vitals are used by its ranking systems, and in the same breath that there is no single page experience signal, that good scores in Search Console or other tools do not guarantee top rankings, and that Google will still show the most relevant page even when its page experience is poor. Treat the metrics as user experience targets that can tip close calls, not as a ranking lever.

MetricMeasuresGood
Largest Contentful Paint (LCP)When the main content appearswithin 2.5 s
Interaction to Next Paint (INP)How quickly the page shows a response to clicks, taps and key pressesunder 200 ms
Cumulative Layout Shift (CLS)How much content jumps aroundunder 0.1

INP replaced First Input Delay in March 2024. All three are judged on field data from real Chrome users, which is what Search Console's Core Web Vitals report shows, separately for mobile and desktop.

LCP: Get the Main Content Painted

LCP has four parts: server response time, the delay before the browser starts loading the LCP resource, its download time, and the render delay before it is painted. Know which one is large before fixing anything. When we ran Lighthouse on our own page speed guide, mobile LCP was 4.16 seconds and 3.4 of them were render delay: the text had arrived, but the main thread was busy, mostly with an analytics script.

INP: Show the Response Before Doing the Work

INP measures the time from an interaction to the next paint, so a handler that does all its work before returning makes the user wait for all of it. We measured a button whose click handler runs 300 ms of work, in Chromium 141 with the Event Timing API:

Click handlerTime to the next paint
Updates the button text, then does 300 ms of work312 ms
Updates the button text, yields to the browser, then does the same workunder 16 ms (below the API's reporting threshold)

The work still takes 300 ms. Yielding lets the browser paint the "Saving..." feedback first, which is what the user sees and what INP measures:

const yieldToMain = () =>
  ('scheduler' in window && 'yield' in scheduler)
    ? scheduler.yield()
    : new Promise((resolve) => setTimeout(resolve, 0));

button.addEventListener('click', async () => {
  button.textContent = 'Saving...';
  await yieldToMain();
  saveEverything(); // the slow part
});

The fallback matters: MDN's compatibility data lists scheduler.yield() in Chrome and Edge 129 and Firefox 142, but not in Safari. For long work, yield between chunks too, and move pure computation into a Web Worker.

CLS: What Actually Moves the Page

We loaded a paragraph under an image that arrives 0.6 seconds late, and under a 120 px notice inserted after 0.6 seconds, and summed the layout shifts Chromium reported:

CaseCLS
Image without width and height attributes0.412
Image with width and height matching the file's proportions0
Image with width and height that do not match the file0.211
Notice inserted above the text0.076
Notice inserted into space reserved with min-height0

The image without dimensions produced more than four times the 0.1 limit. Width and height attributes fix it only when they match the image: the browser reserves space from their ratio, then switches to the file's real ratio when it loads, so a 600 by 300 attribute pair on a square image still moves everything. For injected content (notices, ads, embeds), reserve the space up front. For web fonts that change line length when they swap in, match the fallback's metrics with size-adjust and the other font metric overrides; our Font Loading Strategy generator writes them.

Measuring Your Own Pages

Start with field data: Search Console's Core Web Vitals report groups your URLs by status, and PageSpeed Insights shows the Chrome UX Report numbers for a page or origin when there is enough traffic. Use lab tools (Lighthouse, the DevTools Performance panel) to find causes and to compare versions of a page. For your own field data, the PerformanceObserver API used in the tests above reports layout shifts and interaction timings from real visitors. The Core Web Vitals Cheatsheet summarizes the causes and fixes on one page.

Frequently Asked Questions

Do Core Web Vitals really affect rankings?+
Google says Core Web Vitals are used by its ranking systems, but also that there is no single page experience signal, that good scores do not guarantee top rankings, and that it still shows the most relevant page when its page experience is poor. Treat them as user experience targets that can matter between pages of similar relevance.
What replaced First Input Delay?+
Interaction to Next Paint (INP) replaced FID in March 2024. INP is a better metric because it measures all interactions throughout the page lifecycle, not just the first one.
How do I check my Core Web Vitals?+
Use Google Search Console’s Core Web Vitals report for field data, or PageSpeed Insights for both field and lab data. Chrome DevTools’ Performance panel shows detailed timing breakdowns.
Try it yourself

Use the Core Web Vitals Cheatsheet — free, no signup required.

⚡ Open Core Web Vitals Cheatsheet
DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.