PerformanceMarch 20, 2026·6 min read

How Images Affect Core Web Vitals

Discover how image optimization directly impacts your website Core Web Vitals scores and search engine rankings.

What Are Core Web Vitals?

Core Web Vitals are a set of performance metrics that Google uses as ranking signals. They measure real-world user experience in terms of loading speed, interactivity, and visual stability. The three metrics are:

  • LCP (Largest Contentful Paint): How quickly the main content loads. Images are often the largest element.
  • INP (Interaction to Next Paint): How quickly the page responds to user interactions. Heavy images can block the main thread.
  • CLS (Cumulative Layout Shift): How stable the page layout is. Images without size attributes cause layout shifts.

Images and LCP

In most websites, the largest element on the viewport is a hero image or a large product photo. This makes images the primary driver of LCP scores. A large, unoptimized image can push your LCP from a good score (under 2.5 seconds) to a poor score (over 4 seconds).

To improve LCP with images:

  1. Compress hero images to under 500 KB when possible
  2. Use modern formats like WebP for an additional 25-35% size reduction
  3. Implement proper image preloading for above-the-fold images
  4. Resize images to their display dimensions to avoid decoding overhead

Images and CLS

When images load without reserved space, the page content shifts as the image appears. This creates a jarring experience and directly hurts your CLS score. The fix is straightforward:

  • Always set explicit width and height attributes on image elements
  • Use CSS aspect-ratio for responsive images
  • Reserve space for lazy-loaded images with placeholders
  • Avoid dynamically injecting images above existing content

Practical Optimization Targets

Image TypeTarget SizeRecommended Format
Hero images200-500 KBWebP
Product photos100-300 KBWebP / JPG
Blog images100-250 KBWebP / JPG
Thumbnails20-80 KBWebP

The Optimization Workflow

Follow this repeatable workflow to keep your images optimized:

  1. Start with the highest quality source image available
  2. Resize to the largest display size you need (usually 1600-2400px for hero images)
  3. Convert to WebP (or JPG if compatibility is critical)
  4. Compress to meet the target size for that image type
  5. Verify quality by checking edges, text, and gradients

Quick Win

If you do only one thing, resize your images to their display dimensions and compress to quality 80. This single step can improve LCP by 1-3 seconds on most websites.

Conclusion

Images are the single biggest factor in Core Web Vitals performance. By optimizing image size, format, and loading behavior, you can significantly improve your scores and search rankings. Use ImageTools to quickly compress, resize, and convert your images for optimal web performance.