What size should images be for a website? A practical cheat sheet
Hero banners, blog images, thumbnails, logos and favicons: the pixel sizes and file sizes to aim for, plus a simple rule that works for any layout.

"What size should my images be?" is probably the most common question I get from people building their first website. It's a fair question, and the usual answers ("it depends", "use responsive images") aren't very helpful when you just want a number to type into an export dialog.
So here are actual numbers, and the one rule behind them, so you can work out the rest yourself.
Two different "sizes"
People mean two things when they say image size, and you need to get both right:
- Dimensions: how many pixels wide and tall the image is, like 1600 × 900.
- File size: how many kilobytes it takes to download, like 140 KB.
Dimensions control how sharp it looks. File size controls how fast it loads. Most slow websites have images with far too many pixels, which then drags the file size up with it.
The one rule: twice the display size
Find out how wide the image is actually shown on the page, then make it twice that.
Why twice? Most phones and many laptops have high-density screens that pack two or three physical pixels into every pixel your CSS describes. An image that's displayed 400 pixels wide on a phone is really being drawn across 800 or more physical pixels. Give it 800, and it looks crisp. Give it 400, and it looks a bit soft.
Going beyond 2× is mostly wasted. The difference between 2× and 3× is very hard to see in a photo, but the file is more than twice as big.
How to check the display size: In Chrome, right-click the image, choose Inspect, and hover over the <img> tag. You'll see two numbers: the rendered size (how big it's shown) and the intrinsic size (how big the file actually is). If the intrinsic size is four times the rendered size, you've found a problem.
The cheat sheet
These assume a typical layout with a content column around 700–800 px wide. Adjust if yours is different.
| Where the image goes | Width to export | Aim for file size under |
|---|---|---|
| Full-width hero or banner | 1920–2560 px | 200–300 KB |
| Image inside a blog post | 1400–1600 px | 150 KB |
| Half-width image or two-column grid | 1000–1200 px | 100 KB |
| Card or grid thumbnail | 600–800 px | 50 KB |
| Small avatar or profile photo | 256 px square | 20 KB |
| Product photo (for zoom) | 2000 px | 250 KB |
| Social share image (Open Graph) | 1200 × 630 px | 300 KB |
| Logo | SVG if possible, otherwise 2× display height | as small as possible |
| Favicon | SVG + 48 × 48 ICO + 180 × 180 PNG | tiny |
The file sizes assume a modern format like WebP or AVIF. With JPEG, expect them to come out a bit larger. If you're not sure which format to use, I've covered that in AVIF vs WebP vs JPEG.
For share images there's a bit more to it, because every platform crops differently. See our guide to Open Graph image size.
Serving different sizes to different screens
A 2560-pixel hero looks great on a big monitor and is overkill on a phone. If you're writing HTML yourself, srcset and sizes let the browser pick the right file:
<img
src="/img/hero-1600.webp"
srcset="/img/hero-800.webp 800w, /img/hero-1600.webp 1600w, /img/hero-2560.webp 2560w"
sizes="100vw"
width="2560"
height="1200"
alt="Mountains at sunrise"
/>
You list the files and their widths, tell the browser how wide the image will be shown (100vw means the full width of the screen), and it downloads the smallest file that still looks sharp. Many CMSs and frameworks, WordPress and Next.js included, generate this for you.
Don't forget width and height
Always set width and height on your images (or give them a fixed aspect-ratio in CSS). Without them, the browser doesn't know how much space to reserve, so the text jumps down when the image finally loads. That jump is what Google measures as Cumulative Layout Shift, and it's annoying for readers too.
The values don't need to match the display size. They just need the right ratio. The CSS can still make the image responsive.
Resizing images to the right size
In TinyRes, drop your images in and open the Resize tab:
- Set the Width from the table above and leave height on auto. The aspect ratio stays the same.
- Turn on Never upscale so a small image doesn't get blown up and blurry by accident.
- For thumbnails or cards that need an exact shape, set both width and height. Smart crop keeps faces and the main subject in frame instead of cropping from the middle.
- There are presets for common jobs too: Thumbnail, Round avatar and Social card 1200×630.
Then choose a format in the Output tab and download. It's free for 20 images a day, and nothing is stored.
The quick version
If you remember nothing else: find out how big the image is shown, export it at twice that, save it as WebP, and set width and height in the HTML. That alone fixes most of the image problems I see on small business sites and personal blogs.
zero bytes stored
Shrink your images right now
Convert to AVIF, WebP or MozJPEG, crop around faces, strip EXIF and hit exact KB targets in your browser.