To improve Core Web Vitals, find out which of the three metrics is failing on real phones, then fix the one cause behind it: a slow or hidden hero image for LCP, heavy JavaScript for INP, or content without reserved space for CLS. You rarely need a rebuild. Most sites pass after a handful of targeted changes, made in the right order.
This guide shows you how to improve Core Web Vitals with a fix-it playbook. You will start with the symptom you can see in your report, trace it to a likely cause, and apply a fix you can test the same day. It follows the same order I would use to teach the topic in a web development class.
What Are Core Web Vitals, in Plain Words?
Core Web Vitals are three measurements Google uses to describe how a page feels to a real visitor. Each one answers a simple question.
- Largest Contentful Paint (LCP): How long until the main content, usually a hero image or a big heading, shows up?
- Interaction to Next Paint (INP): When someone taps a button or types in a box, how long until the screen responds?
- Cumulative Layout Shift (CLS): Does the page jump around while it loads, so people tap the wrong thing?
The pass marks are the same in every Google tool. The PageSpeed Insights documentation lists them: LCP is good at 2.5 seconds or less and poor above 4 seconds. INP is good at 200 milliseconds or less and poor above 500. CLS is good at 0.1 or less and poor above 0.25.
One detail trips up many beginners. Google judges these numbers at the 75th percentile of visits, split by mobile and desktop. In other words, three out of four visits need to hit the target, not just your own fast laptop on office Wi-Fi.
Do Core Web Vitals Still Affect Rankings in 2026?
Yes, but not in the way some agencies sell it. Google's own Search Central page on Core Web Vitals says it strongly recommends good scores for success in Search, and that they match what its core ranking systems try to reward. The same page does not promise that passing will lift you to the top.
Think of it like a school uniform. Wearing it will not make you top of the class, but turning up without it leaves a bad first impression. Relevant, helpful content still decides most rankings. Speed decides whether visitors stay long enough to read it.
The bigger reason to care is your visitors. A shop page that jumps while someone taps "Add to cart" loses the sale whether Google notices or not. If you are weighing how speed fits with newer search goals like AI answers, my post on SEO vs AEO vs GEO covers the wider picture.
How Many Sites Actually Pass?
Fewer than you might expect. That is good news, because when you improve Core Web Vitals on your own site, you pull ahead of many competitors. The 2025 Web Almanac performance chapter from HTTP Archive found that 48% of websites had good Core Web Vitals on mobile and 56% on desktop. So roughly half the web still fails on phones.
Here is how each metric looked in that report:
| Metric | Websites rated good on mobile | Websites rated good on desktop | What usually breaks it |
|---|---|---|---|
| LCP (loading) | 62% | 74% | Late or oversized hero images, slow servers |
| INP (responsiveness) | 77% | 97% | Heavy JavaScript on slower phones |
| CLS (stability) | 81% | 72% | Images, ads and banners without reserved space |
Notice the pattern. LCP is the metric most sites fail on mobile, and INP is far worse on phones than on desktop. If most of your visitors use mid-range Android phones on mobile data, mobile is where your effort belongs.
Step 1: Read the Right Report Before You Touch Any Code
Most wasted effort to improve Core Web Vitals starts here. People run a Lighthouse test, see a red score, and start changing things at random. Lab tests are useful, but they are a simulation. The real verdict comes from field data, which means real Chrome users over time.
Field data versus lab data
PageSpeed Insights shows both on one screen. According to the PSI documentation, the top section uses Chrome User Experience Report data from the previous 28 days. The lower section is a Lighthouse lab run, which on mobile simulates a mid-tier phone on a mobile network. If your page is new or gets few visitors, PSI falls back to data for the whole site. If the site has too little traffic, you will see no field data at all.
Use the field section to decide which metric is failing. Use the lab section, and Chrome DevTools, to find out why.
Use Search Console to see patterns across the site
The Search Console Core Web Vitals report groups URLs that behave alike, such as all product pages. A group takes the status of its worst metric. So a mobile group with poor CLS and average LCP shows as poor. This tells you that one template fix, such as on your product page layout, can clear hundreds of URLs at once.
- Open the Core Web Vitals report and pick Mobile first.
- Click the poor or "needs improvement" issue with the most URLs.
- Open one example URL in PageSpeed Insights.
- Write down which metric fails and its 75th percentile value.
- Only now open your code editor.
How Do You Fix a Slow Largest Contentful Paint?
LCP is the metric that fails most often, so start here if it is red. The web.dev guide to optimizing LCP breaks the time into four parts that add up to the total: time to first byte, resource load delay, resource load duration and element render delay. This split is the most useful idea in page speed optimization, because each part has different fixes.
Symptom: the hero image starts loading late
This is resource load delay, and the guide treats it as the top priority. The browser cannot fetch an image it has not discovered yet. That happens when the image is added by JavaScript, set as a CSS background, or marked as lazy.
- Put the hero image in the HTML as a normal
<img>tag so the browser sees it right away. - Add
fetchpriority="high"to that one image. Use it on one or two images only, or the hint stops meaning anything. - Never add
loading="lazy"to the main image at the top of the page.
That last mistake is common. The Web Almanac found that about 16 to 17% of pages lazy-load their LCP image, which delays the very thing the metric measures. Many themes and page builders add lazy loading to every image by default, so check yours.
Symptom: the image arrives slowly once requested
This is resource load duration. The fix is a smaller file and a shorter trip.
- Serve the image at the size it is displayed. A 4000-pixel photo shown at 800 pixels wastes data.
- Use modern formats such as WebP or AVIF, and compress them.
- Use a CDN so files come from a server near the visitor.
- Set a sensible cache policy so repeat visits skip the download.
Symptom: the server itself is slow
If the first byte of HTML takes too long, nothing else can start. PSI rates time to first byte as good at 800 milliseconds or less. Cut redirects, cache full pages where you can, and check that your CDN is actually caching. The LCP guide warns that unique tracking parameters in URLs can force every request back to your origin server.
If you are paying for cheap shared hosting, this is often where it shows. My breakdown of website development cost in Pakistan explains why hosting is one line item worth not cutting too far.
Symptom: the image has loaded but still does not appear
This is element render delay. Large render-blocking CSS files and synchronous scripts in the <head> hold the page back. Remove unused CSS, defer scripts that are not needed for the first view, and render the main content on the server instead of waiting for JavaScript to build it.
Tip: Fix all four LCP parts together. The web.dev guide points out that if you only compress the image, the saved time can simply move into render delay, and your score barely changes.
How Do You Improve Interaction to Next Paint?
INP measures how fast your page reacts when someone taps, clicks or types. Google reports one INP value for the whole page, so a single slow menu or form can drag the score down.
The web.dev guide to optimizing INP splits each interaction into three phases. Knowing which phase is slow tells you what to fix.
| Phase | What is happening | Typical fix |
|---|---|---|
| Input delay | The tap waits because the main thread is busy with other work | Load less JavaScript at start-up; delay third-party scripts |
| Processing duration | Your event handler code runs | Do only the visible update first, then yield |
| Presentation delay | The browser works out layout and paints the new frame | Keep the DOM smaller; avoid forced layouts |
Break up long tasks by yielding
The browser runs your JavaScript on one main thread. While a long task runs, it cannot respond to a tap. The answer is to split the work and give the browser a chance to breathe in between. This is called yielding to the main thread.
Chrome added a dedicated method for this. The Chrome for Developers article on scheduler.yield() says it shipped in Chrome 129, Firefox added it in version 142, and Safari does not support it yet. So always feature-detect and fall back to setTimeout:
function yieldToMain() {
if (globalThis.scheduler && scheduler.yield) {
return scheduler.yield();
}
return new Promise(resolve => setTimeout(resolve, 0));
}
button.addEventListener('click', async () => {
showSpinner(); // the visible change first
await yieldToMain(); // let the browser paint
saveFormData(); // the heavy work after
});
The idea is simple. Show the user that something happened, let the browser paint, and then do the slow part. Even rough yielding is better than none, as the INP guide puts it.
Other INP fixes that work well
- Audit third-party scripts. Chat widgets, heatmaps and several tracking tags all compete for the same thread. Remove any you do not use, and load the rest after the page settles.
- Shrink the DOM. Pages with thousands of elements take longer to update after every tap. Mega menus and long product grids are common culprits.
- Avoid layout thrashing. Do not change a style and then immediately read a size such as
offsetHeightin the same task. That forces the browser to calculate layout early. - Use
content-visibilityon long sections below the fold so the browser skips rendering what nobody can see yet. - Be careful with large client-side renders. Building big chunks of HTML in JavaScript, common in single-page apps, blocks the thread until it finishes.
Remember the Web Almanac numbers: INP is good on 97% of sites on desktop but only 77% on mobile. Test on a real mid-range phone, or use CPU throttling in DevTools. Your developer laptop will hide the problem.
How Do You Stop Layout Shifts (CLS)?
Cumulative Layout Shift is the easiest metric to fix once you see the cause. The web.dev guide to optimizing CLS lists a short set of usual suspects. Shifts that happen within half a second of a user's own tap are not counted, so the score is about surprises, not reactions.
Images and videos without dimensions
When an image has no width and height, the browser does not know how much space to keep. Text loads first, then the image pushes it down. The Web Almanac found that 62% of mobile pages still have at least one unsized image. Add both attributes, or set a CSS aspect-ratio, and the browser reserves the right box before the file arrives.
Ads, embeds and late banners
Cookie bars, "Download our app" banners and ad slots often slide in above the content. Reserve their space with min-height, or place them lower on the page. If a banner must appear at the top, overlay it rather than pushing everything down.
Web fonts that swap late
When a custom font replaces the fallback font, line lengths can change and text jumps. Preload the one or two fonts you really need, pick a fallback with similar proportions, and consider font-display: optional for body text.
Animations that move layout
Animating top, left or height forces new layouts. Animate transform instead. It looks the same to the visitor and does not count as a layout shift.
Core Web Vitals Fix Cheat Sheet: Symptom, Cause, First Fix
Keep this table open while you work through your report. It maps what you see to the most likely cause and the first thing to try.
| What you see | Likely cause | Try this first |
|---|---|---|
| LCP poor, hero image starts late in the waterfall | Image added by JS, CSS or lazy loading | Plain <img> in HTML with fetchpriority="high" |
| LCP poor, image download is long | Oversized file or distant server | Resize, convert to WebP or AVIF, use a CDN |
| LCP poor, first byte is slow | Slow hosting, redirects, no page cache | Page caching, fewer redirects, better hosting |
| INP poor on mobile only | Too much JavaScript for slower phones | Remove unused scripts, yield in handlers |
| INP poor on one button or form | Heavy event handler | Show feedback first, defer the rest |
| CLS poor on article pages | Unsized images or ad slots | Add width and height, reserve ad space |
| CLS poor on every page | Header banner or web font swap | Overlay the banner, preload fonts |
What About WordPress, Shopify and Next.js Sites?
The steps to improve Core Web Vitals are the same on every platform, but the place you make each fix differs.
- WordPress: Most problems come from heavy themes, page builders and too many plugins. Before installing yet another speed plugin, deactivate the ones you do not need. Check whether your theme lazy-loads the first image.
- Shopify and hosted stores: You control less of the server, so focus on apps and images. Each app can add its own script. Remove apps you stopped using, because some leave code behind.
- Next.js and other React frameworks: Server rendering helps LCP, but large client bundles can still hurt INP. Watch what ships to the browser, and mark the hero image as a priority in your image component.
If you are still choosing a stack, my comparison of Next.js vs WordPress for business websites covers the trade-offs, including speed. For store owners, the setup choices in my guide to starting an online store in Pakistan matter here too, since product pages carry the most images.
Common Mistakes When You Try to Improve Core Web Vitals
The same errors come up again and again in beginner projects and small business sites. Avoid these and you will save hours.
- Chasing a Lighthouse score of 100. The Lighthouse score is a lab estimate from one simulated device. The Search Console report uses field data from real visitors. A page can have an average lab score and still pass in the field, or the other way round.
- Testing only on desktop. Desktop numbers flatter you. Fix mobile first.
- Adding fetchpriority="high" everywhere. If every image is high priority, none of them is.
- Lazy-loading every image. Lazy loading is good below the fold and harmful at the top.
- Stacking speed plugins. Two caching or minify plugins can fight each other and break pages.
- Expecting results the next morning. Field data covers 28 days of visits, so improvements show up gradually.
Warning: Before you change caching, CDN or theme settings on a live business site, take a full backup and test on a staging copy. A broken checkout costs far more than a slow one.
How Long Until Google Sees Your Fixes?
Be patient here. Because the field data in PageSpeed Insights covers the previous 28 days, a fix you ship today is mixed with three weeks of older, slower visits. Your 75th percentile will improve a little each day.
Search Console works on the same rhythm. When you click "Validate fix" in the Core Web Vitals report, the Search Console help page explains that a 28-day monitoring period begins. If any URL in the group still shows the issue during that window, the validation fails and you can start again.
A practical routine looks like this:
- Ship one fix at a time, so you know which change helped.
- Re-run the lab test right away to confirm nothing broke.
- Check the field numbers in PSI weekly.
- Start validation in Search Console once you are confident the fix is live on every page in the group.
A Realistic Example: A Small Shop Page That Fails on Mobile
Example only: the shop below is made up to show the method. Imagine a clothing store in Abbottabad with a homepage built on a popular page builder. Search Console shows the homepage group as poor on mobile. PageSpeed Insights shows LCP at the 75th percentile well above 4 seconds, INP in the "needs improvement" band and CLS fine.
Following the playbook, you would open the lab waterfall and look at the hero banner. Say it is a 2 MB JPEG set as a CSS background, with the theme's lazy loading switched on. That is resource load delay and load duration in one image. The fix is to replace the background with an <img> tag, export a WebP at the display size, remove lazy loading on it and add fetchpriority="high".
For INP, the waterfall might show a chat widget, two analytics tags and a slider library all loading at start-up. Delaying the chat widget until the visitor scrolls, and dropping the slider for a static image, takes load off the main thread on cheaper phones.
Two focused changes, one template. Then you wait for 28 days of new field data. Larger marketplaces face the same challenge at scale. OnePlace, the multi-vendor marketplace I built for Pakistani sellers, is full of product pages that buyers open on their phones, and the same LCP and CLS rules apply to every one of them.
Your One Step This Week
Open PageSpeed Insights, paste in your most important page, and switch to the mobile tab. Look only at the field data at the top. Note which of the three metrics fails, then use the cheat sheet above to make one change to that page's template. Do not touch anything else this week.
Want someone to look over a business site? See my web development services or get in touch. Small, careful fixes are usually all it takes to improve Core Web Vitals and give every visitor a faster page.



