The right image size for websites
Updated 4 November 2026
Oversized images are the most common reason pages load slowly. Images are usually the largest thing on a page, and the biggest one above the fold is often what Google measures as Largest Contentful Paint (LCP). Serving them at the size they are displayed — not the size the camera took them — fixes most of it.
Recommended sizes
| Use | Width in pixels | Aim for |
|---|---|---|
| Full-width hero / banner | 1600–2000 px | Under 200 KB |
| Blog or article photo | 1200–1600 px | Under 150 KB |
| Product photo | 1000–1500 px (often square) | Under 150 KB |
| Thumbnail / card | 400–600 px | Under 50 KB |
| Social share preview (Open Graph) | 1200 × 630 px | Under 300 KB |
| Avatar / profile picture | 400 × 400 px | Under 30 KB |
Widths cover high-density (retina) phone screens, which show a 400 px wide slot with about 800–1200 device pixels. Going larger than this mostly adds bytes nobody sees.
What those sizes weigh
| Width × height | File size (JPEG 80) | Of the full-size file |
|---|---|---|
| 2250 × 1500 px | 611 KB | 100% |
| 1600 × 1067 px | 300 KB | 49% |
| 1200 × 800 px | 167 KB | 27% |
| 800 × 533 px | 78 KB | 13% |
Our test photo fits the blog-photo budget at 1200 px (167 KB as JPEG quality 80) and the thumbnail budget at 800 px (78 KB). Saving as WebP instead would cut roughly another 21%.
Checklist for fast images
- Resize to the displayed width (resize image).
- Use WebP, with JPG for places that don't accept it (compress WebP).
- Set
widthandheighton every<img>so the layout doesn't jump while it loads. - Add
loading="lazy"to images below the fold — but never to the main image at the top, which should load first.
Test photo: “Mountains around Avalanche Lake” by Linh Pham (CC0, via Unsplash). Sizes measured 2026-11-04 with this site's own encoder in Edge; other browsers produce slightly different sizes. Crops show the same 480×320 px region at 100%.
Frequently asked questions
What is the best image size for a website?
Match the largest size it is displayed at: about 1600–2000 px wide for full-width images, 1200–1600 px for article photos, and 400–600 px for thumbnails.
How many KB should a website image be?
As a rule of thumb, under 200 KB for large hero images and under 100–150 KB for content images. Thumbnails should be well under 50 KB.
Does image size affect SEO?
Indirectly — large images slow pages down, and page speed (Core Web Vitals) is a ranking signal. Big images are the usual cause of a slow Largest Contentful Paint.