CompressNeo

Image Size Reduction for Web Performance

Reduce image file sizes for better web performance. Learn file budgets, size targets, format guidance, and compression techniques for faster websites.

Web Image Size Budgets

Setting and enforcing image size budgets is the foundation of web performance. Every image on your page should fit within its allocated budget to ensure fast loading.

Image TypeTarget SizeMax DimensionsFormat
Hero imageUnder 100KB1200-1920pxAVIF/WebP
Product photoUnder 200KB1200pxWebP
Blog imageUnder 80KB800-1200pxWebP
ThumbnailUnder 30KB200-400pxWebP/JPEG
Logo/iconUnder 20KB200pxSVG
BackgroundUnder 150KB1920x1080WebP

Techniques for Image Size Reduction

  • Resize to display dimensions: Never serve images wider than their container.
  • Convert to modern formats: WebP reduces sizes by 25-35% vs JPEG. AVIF by 40-50%.
  • Compress at optimal quality: 82-85% for photos, lossless for graphics.
  • Strip metadata: Remove EXIF, GPS, and editing data.
  • Use responsive srcset: Serve different sizes to different devices.
  • Implement lazy loading: Defer below-fold images.
  • Serve via CDN: Reduce latency and enable auto-optimization.

Hub Pages

6
Size targets
7+
Formats
LCP
Optimized