<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Figtree:wght@700;800&family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap">

Best Image Size and Format for Websites (Fast Pages, Sharp Images)

Updated November 23, 2026 · 6 min read

Images are usually the heaviest part of a web page and the main reason pages feel slow. Getting their size right is the easiest way to improve load times and Google’s Core Web Vitals without changing your design.

Recommended sizes

Display size matters more than camera size. A photo shown 800 px wide needs about 1600 px for sharp high-density screens, not the 4000–6000 px a camera produces.

ImageWidth (px)Target file size
Full-width hero / banner1920–2560Under 200–300 KB
Blog / article image1200–1600Under 100–150 KB
Product photo (zoomable)1600–2048 squareUnder 200 KB
Card / grid thumbnail400–800Under 50 KB
LogoSVG, or PNG at 2× display sizeUnder 20 KB

Pick a modern format

Serve photos as WebP (about 25–35% smaller than JPG) or AVIF (smaller still). Keep PNG for graphics that need perfect edges, or use WebP with transparency. See the format comparison.

A simple workflow

  1. Resize the whole folder to the largest width you need with the Bulk Image Resizer (use “Longest side”).
  2. Convert to WebP, or compress with the Image Compressor at 70–80% quality.
  3. Check the results with the before/after slider, then upload.

Front-end tips

  • Add width and height attributes to every image so the page does not jump while loading.
  • Use loading="lazy" for images below the fold, but not for the main hero image.
  • Use srcset so phones download a smaller file than desktops.
  • Strip metadata: EXIF data can add 10–50 KB per photo.

More guides