Back to Blog
Guides7 min read

Optimal Image Size for Website Speed: Complete Guide

Images account for 50%+ of total page weight on most websites. Optimising them is the single biggest performance win you can get.

Why image size impacts website speed

Google's Core Web Vitals — particularly Largest Contentful Paint (LCP) — directly penalise slow-loading images. A page with unoptimised images can take 5–10 seconds to load, devastating your SEO rankings and user experience.

Studies show that 53% of mobile users abandon pages that take longer than 3 seconds to load. Image optimisation is the lowest-hanging fruit for speed improvement.

Recommended image sizes by use case

Use caseMax width (px)Target file sizeFormat
Hero / banner image1920< 200KBWebP or AVIF
Blog post image1200< 150KBWebP or JPEG
Thumbnail400< 30KBWebP or JPEG
Product photo800< 100KBWebP
Logo200–400< 20KBSVG or PNG
Icons64–128< 5KBSVG

Format selection: JPEG vs WebP vs AVIF

The format you choose has a massive impact on file size:

  • JPEG: Universal support, good compression. Use at 80–85% quality.
  • WebP: 25–35% smaller than JPEG at same quality. Supported in all modern browsers. Recommended for most use cases.
  • AVIF: 50% smaller than JPEG, but slower to encode and limited support. Best for new projects.

Use PhotoResizer.in's Format Converter to convert images to WebP or AVIF instantly.

For a deep dive, read our WebP vs AVIF comparison.

Quick optimisation checklist

  1. Resize images to the maximum display size (don't serve 4000px images in a 800px container).
  2. Compress with lossy compression at 80–85% quality.
  3. Convert to WebP format for 25–35% additional savings.
  4. Use lazy loading (loading="lazy") for below-the-fold images.
  5. Serve responsive images with srcset for different screen sizes.
  6. Use a CDN to serve images from edge locations close to your users.

Frequently Asked Questions

What is the ideal image file size for a website?

Aim for under 200KB for hero images and under 100KB for standard content images. Thumbnails should be under 30KB. The total image weight for a single page should ideally stay under 1MB.

Does image format affect SEO?

Indirectly, yes. Faster-loading pages rank higher in Google. Using modern formats like WebP reduces page weight, improves loading speed, and positively impacts Core Web Vitals scores.

Should I use WebP or JPEG for my website?

Use WebP whenever possible. It offers 25–35% better compression than JPEG with equivalent quality and is supported by all modern browsers (Chrome, Firefox, Safari, Edge).

Ready to resize your photo?

Use our Image Resizer to hit exact KB and pixel targets, or try the Background Color Changer for a perfect white backdrop.