Wrong image dimensions cost you in three ways: they waste bandwidth on unnecessarily large files, they look blurry or distorted when displayed at the wrong size, and they can cause layout shifts that hurt your Core Web Vitals scores. Getting image sizing right is one of the most practical skills in web development and digital marketing.
This guide covers every major use case — from web pages and social media profiles to print materials — with exact pixel dimensions, resolution requirements, and best practices. Bookmark it, because you will come back to it often.
📐 Resize images to exact dimensions instantly — free, browser-based, batch support.
Try Image Resizer →On the web, an image's physical size is determined entirely by its pixel dimensions — width × height. A 1200×630 pixel image will always render at those exact dimensions on screen, regardless of what DPI or PPI setting is embedded in the file. The 72 DPI "web standard" is a myth that has been irrelevant for over two decades.
The aspect ratio is the proportional relationship between width and height. Common ratios include:
When resizing, maintaining the original aspect ratio prevents distortion. Stretching a 4:3 image to fill a 16:9 space makes everything look wide and squished.
DPI (Dots Per Inch) is a print concept — it describes how many ink dots a printer lays down per inch. PPI (Pixels Per Inch) describes digital image density. For web images, PPI is meaningless — only pixel dimensions matter. For print, you generally need 300 PPI for sharp output.
Hero images are the largest images on most pages and have the biggest impact on performance. The ideal size depends on your layout:
| Layout Type | Max Width (CSS px) | Retina Width | Recommended |
|---|---|---|---|
| Full-width hero | 1920px | 3840px | 1920×1080 (standard) or 2560×1440 (high quality) |
| Contained hero (1200px max) | 1200px | 2400px | 1200×600 |
| Card header | 400px | 800px | 800×450 |
| Blog post featured | 800px | 1600px | 1600×900 |
In practice, serving 3840px-wide images for Retina displays is often overkill. Most users on 4K screens are viewing content in a browser window that is 1400–2000px wide. A 1920px hero image usually looks sharp enough even on Retina displays.
Thumbnails should match their display size as closely as possible. Serving a 4000px original as a 150px thumbnail wastes bandwidth and processing time.
| Use Case | Recommended Size |
|---|---|
| Product grid thumbnail | 300×300 or 400×400 |
| Category card image | 600×400 |
| Gallery thumbnail | 200×200 |
| Avatar / profile picture | 200×200 (displayed at 40–80px) |
Instead of serving one image size for all devices, use the srcset attribute to let the browser pick the most appropriate size:
<img src="photo-800.jpg"
srcset="photo-400.jpg 400w,
photo-800.jpg 800w,
photo-1200.jpg 1200w"
sizes="(max-width: 600px) 400px,
(max-width: 1000px) 800px,
1200px"
alt="Product photo">
This ensures mobile devices download a small image while desktop displays get the full resolution — no wasted bandwidth in either direction.
Social media platforms change their image specifications regularly. Here are the current recommended dimensions as of April 2026:
| Placement | Dimensions | Aspect Ratio |
|---|---|---|
| Feed post (square) | 1080×1080 | 1:1 |
| Feed post (portrait) | 1080×1350 | 4:5 |
| Feed post (landscape) | 1080×566 | 1.91:1 |
| Story / Reel | 1080×1920 | 9:16 |
| Profile picture | 320×320 | 1:1 |
| Placement | Dimensions | Notes |
|---|---|---|
| Cover photo | 820×312 | Displays differently on mobile vs desktop |
| Shared link image | 1200×630 | Minimum 600×315 |
| Post image | 1200×1200 | Maximum 2048px on longest side |
| Story | 1080×1920 | 9:16 aspect ratio |
| Ad image | 1080×1080 | Minimum 500×500 |
| Placement | Dimensions |
|---|---|
| Header / banner | 1500×500 |
| In-feed image | 1600×900 |
| Profile picture | 400×400 |
| Placement | Dimensions | Notes |
|---|---|---|
| Channel banner | 2560×1440 | Safe area: 1546×423 |
| Video thumbnail | 1280×720 | Minimum 640×360 |
| Profile picture | 800×800 | Displayed at 98×98 |
| Placement | Dimensions |
|---|---|
| Personal banner | 1584×396 |
| Company banner | 1536×768 |
| Post image | 1200×1200 |
| Profile picture | 400×400 |
| Placement | Dimensions |
|---|---|
| Pin image | 1000×1500 |
| Infographic pin | 1000×2000+ |
| Profile picture | 165×165 |
Print is a completely different world from screen display. The key variables are physical size (inches/cm), resolution (PPI), and color mode.
| Print Size | Dimensions at 300 PPI |
|---|---|
| 4×6" photo | 1200×1800 px |
| 5×7" photo | 1500×2100 px |
| 8×10" photo | 2400×3000 px |
| Letter (8.5×11") | 2550×3300 px |
| A4 (8.27×11.69") | 2480×3508 px |
| Business card (3.5×2") | 1050×600 px |
| Flyer (8.5×11") | 2550×3300 px |
Screens use RGB (Red, Green, Blue) color. Printers use CMYK (Cyan, Magenta, Yellow, Key/Black). The CMYK gamut is smaller than RGB, so colors that look vivid on screen may appear duller in print. For print production, convert your images to CMYK color mode before sending to the printer.
Downscaling is straightforward and rarely causes visible quality loss. The key is using a good resampling algorithm:
Upscaling always degrades quality because you are inventing pixels that do not exist. However, modern AI-based upscalers (like those from Topaz, Real-ESRGAN, and the built-in upscaling in some image editors) can produce remarkably good results by predicting plausible detail.
For web use, upscaling is almost never the right approach. Instead, start with a higher-resolution source image. If you must upscale, limit it to 2× maximum and use an AI-based tool.
Sometimes the right solution is not to resize but to crop. If you have a 4000×3000 photo and need a 16:9 hero image, cropping to 4000×2250 and then downscaling to 1920×1080 gives you a better result than squishing the original into 16:9.
When embedding images in HTML, always include explicit width and height attributes. This tells the browser how much space to reserve before the image loads, preventing Cumulative Layout Shift (CLS):
<img src="product.jpg" width="800" height="600" alt="Product">
object-fit: cover in CSS or crop to the correct ratio before uploading.width: 300px in CSS still downloads the full-resolution file. The image must be resized at the file level.🎯 Resize to exact pixels, percentage, or preset sizes — free and instant.
Open Image Resizer →