Most websites use a small set of image sizes over and over. Social share images are usually 1200 × 630, hero images are often around 1920 × 1080, and avatars sit between 200 × 200 and 400 × 400. This guide lists the common sizes in one place, with simple tips to keep your images sharp and fast.
One thing first: these are common recommendations, not fixed rules. Social platforms change their sizes and crops from time to time. Always check each platform's current help pages before a big launch.
Aspect ratios in plain words
An aspect ratio is the shape of an image. It compares the width to the height. Two images can be different sizes but have the same shape.
- 16:9 is wide, like a TV screen. 1920 × 1080 and 1280 × 720 are both 16:9.
- 4:3 is a little less wide, like an older computer screen. 800 × 600 is 4:3.
- 3:2 is the shape of many camera photos. 1200 × 800 is 3:2.
- 1:1 is a perfect square. 1080 × 1080 is 1:1.
- 4:5 and 9:16 are tall shapes used on phones.
If you know the ratio a slot needs, you can resize an image up or down without it getting cropped in strange ways.
Social media image sizes
These are widely used sizes for posts and previews. Platforms may crop or resize images in feeds, so keep important text and faces away from the edges.
| Use | Common size (px) | Shape |
|---|---|---|
| Social share / Open Graph image | 1200 × 630 | About 1.91:1 |
| X (Twitter) post image | 1200 × 675 | 16:9 |
| Instagram square post | 1080 × 1080 | 1:1 |
| Instagram portrait post | 1080 × 1350 | 4:5 |
| Instagram story or reel | 1080 × 1920 | 9:16 |
| LinkedIn shared image | 1200 × 627 | About 1.91:1 |
| YouTube thumbnail | 1280 × 720 | 16:9 |
A quick note on Open Graph. It's a set of tags in your page's HTML that tells social apps which image, title and description to show when someone shares your link. One 1200 × 630 image usually works across many apps.
Website image sizes
Website sizes depend on your layout, so treat these as starting points. Measure the space in your design and pick a size that fits it.
| Use | Common size (px) | Notes |
|---|---|---|
| Hero image | Around 1920 × 1080 | Full-width banners are often wider, like 2400 px |
| Blog or card image | 1200 × 800 or 1200 × 675 | 3:2 or 16:9 |
| Thumbnail | 300 × 200 | Small previews in lists |
| Avatar or profile photo | 200 × 200 to 400 × 400 | Square, often shown as a circle |
Hero images sit at the top of a page and often stretch across the full screen. Because screens vary so much, the edges may get cropped. Keep the main subject near the center.
Favicons and app icons
A favicon is the small icon in a browser tab. You'll want a few sizes, because different devices show icons at different sizes.
| Use | Common size (px) |
|---|---|
| Browser tab favicon | 32 × 32 (16 × 16 is also common) |
| Apple touch icon (home screen on iPhone and iPad) | 180 × 180 |
| Web app icons | 192 × 192 and 512 × 512 |
Start from one large, simple square design. Small icons lose detail fast, so bold shapes work better than fine lines or small text.
Tips for sharp, fast images
Getting the size right is only part of it. These habits help your images look good and load quickly.
- Export at 2× for sharp screens. Many phones and laptops have high-density screens. If an image shows at 600 px wide on the page, a 1200 px file will look crisp.
- Don't go much bigger than you need. A 4000 px photo in a 300 px slot wastes data and slows the page down.
- Compress your files. Compression makes files smaller with little visible change. Most image tools let you pick a quality level. Try a few and compare.
- Use modern formats like WebP. WebP files are often smaller than JPG or PNG at similar quality, and modern browsers support it well.
- Keep JPG for photos and PNG for sharp graphics. If you can't use WebP, JPG suits photos and PNG suits logos, icons and images with flat colors.
- Set width and height in your HTML. This lets the browser save the right space before the image loads, so the page doesn't jump around.
Make placeholders at the right size
While you design, you probably don't have final images yet. You can still build with the right shapes. Loremly's placeholder image generator lets you make an image at the size you need, in JPG, WebP or PNG. Photos go up to 3000 px.
Solid-color placeholders are handy here. They print the size on the image, like "1200 × 630", so anyone looking at the design knows what the final image should be. For more ideas, see our guide to placeholder images.
Keep a short size list
The easiest habit is to write down the few sizes your project really uses. Most sites only need five or six. Share that list with your team, use it for placeholders, and check it again whenever a platform updates its guidelines.