Image sizes for websites, email and social media
Dan Counsell · Founder of Realmac SoftwareUpdated
We’ve made Squash, an image compressor for Mac, since 2016, so we show the free way first.
Images are usually the heaviest thing on a web page. Sizing them right makes pages load faster, which visitors notice and Google measures. The rule is simple: export each image at about the largest size it will be shown, in a modern format, at a sensible quality.
Website images
| Image | Width in pixels | Aim for | Format |
|---|---|---|---|
| Full-width hero or banner | 1,600 to 2,400 | Under 300 KB | AVIF or WebP |
| Content image in a blog post | 1,000 to 1,600 | Under 200 KB | AVIF or WebP |
| Product photo | 1,000 to 2,000, square | Under 200 KB | AVIF or WebP |
| Thumbnail or card | 400 to 800 | Under 60 KB | AVIF or WebP |
| Logo or icon | As small as shown, or SVG | Under 20 KB | SVG or PNG |
| Social sharing image (Open Graph) | 1,200 × 630 | Under 300 KB | JPG or PNG |
These widths allow for high-resolution (Retina) screens, which show images at twice their layout size. An 800-pixel-wide column needs a 1,600-pixel image to look sharp.
Email signature images
Keep a signature logo or photo about 300 to 600 pixels wide and shown at half that size, saved as PNG or JPG under 50 KB. Many email apps block or strip WebP, AVIF and SVG, so stick to the older formats here.
Images for email
To attach photos, resize them to about 1,200 to 2,000 pixels wide as JPG. They’ll look fine on any screen and arrive quickly.
Social media
| Where | Size in pixels |
|---|---|
| Instagram square post | 1,080 × 1,080 |
| Instagram portrait post | 1,080 × 1,350 |
| Stories and Reels covers | 1,080 × 1,920 |
| YouTube thumbnail | 1,280 × 720 |
| Facebook and LinkedIn link image | 1,200 × 630 |
Networks change their sizes from time to time, so check their help pages for anything critical.
Prepare a batch on your Mac
You can resize one image at a time in Preview: see how to resize images on a Mac. For a website’s worth, Squash does it in one pass.
- Drop in the images.
- Choose a maximum width, such as 1,600 pixels, and a format: WebP or AVIF for a website.
- Set the quality and check the before and after view.
- Click Export Images. Save the settings as a "Website" preset for next time.
Smart Crop can cut a batch to an exact shape, such as 1,080 × 1,350 for Instagram, and keep the subject in frame.
Questions about image sizes
What is the best image size for a website?
About as wide as the image is shown, doubled for high-resolution screens: usually 1,000 to 2,400 pixels for photos. Keep each under about 200 KB as WebP or AVIF.
What size should an email signature image be?
About 300 to 600 pixels wide, saved as PNG or JPG under 50 KB, and displayed at half its pixel width so it’s sharp on Retina screens.
Does image size affect SEO?
Yes. Large images slow pages down, and page speed is part of how Google ranks pages. Smaller images also help your Largest Contentful Paint score in Core Web Vitals.
What is the best image format for the web?
AVIF or WebP for photos and graphics, SVG for logos and icons. See PNG vs JPG vs WebP vs AVIF.