Image dimensions explained
An image's dimensions are its width and height in pixels — for example, 1920×1080 means 1920 pixels wide and 1080 pixels tall. Dimensions are the single biggest factor in file size: doubling both width and height quadruples the pixel count, which roughly quadruples the file size at the same compression level.
For the web, 1920px wide is a sensible upper bound. Most desktop displays render at 1920px or less for the main content area, and even high-DPI displays only require double-density (so 3840px sources for a 1920px render). For social platforms, dimensions are dictated by the platform itself — Instagram renders at 1080px wide, YouTube thumbnails at 1280×720, Twitter cards at 1200×675. Going larger than the platform's display size is wasted bandwidth: the platform downscales on upload.
Going smaller than the display size is worse — the platform upscales, which softens edges and creates a visible quality loss. The safe rule: match the platform's expected dimensions exactly, or slightly above for retina rendering.
→ Resize to any dimensions → Audit a folder of website images
Aspect ratios explained
The aspect ratio is the proportional relationship between width and height. A 1920×1080 image has a 16:9 ratio (1920 divided by 1080 = 1.78); a 1080×1080 image is 1:1; a 1200×627 share card is 1.91:1. Aspect ratio matters because platforms crop or letterbox anything that doesn't match what their UI expects.
For example, Instagram square posts crop to 1:1. A 4:5 portrait photo uploaded into a square slot gets its top and bottom shaved off. The 'safe area' for important content is always the centre — but starting from the correct aspect ratio in the first place avoids the loss entirely.
The most common aspect ratios on the modern web:
| Ratio | Name | Common uses |
|---|---|---|
| 1:1 | Square | Instagram feed, profile photos, product tiles |
| 4:5 | Portrait | Instagram portrait posts — most feed real estate |
| 9:16 | Tall portrait | Stories, Reels, TikTok, Idea Pins |
| 16:9 | Widescreen | YouTube thumbnails, Twitter cards, Full HD wallpapers |
| 1.91:1 | Open Graph | Facebook, LinkedIn, Slack link previews |
| 2:3 | Pinterest portrait | Standard Pinterest pins — best-performing ratio |
| 3:1 | Banner letterbox | Twitter / X profile header |
| 4:1 | Wide banner | LinkedIn profile banner, Etsy shop banner |
Image file size explained
Three factors determine an image's file size in bytes: pixel dimensions, colour depth, and compression. You can't change colour depth without visible posterisation, so realistic optimisation focuses on the other two.
Dimensions: halving width and height reduces the file size roughly 4×. The biggest single win on most websites is realising that hero images uploaded straight from a phone or camera are typically 4000+ pixels wide while rendering at 1200px — three quarters of every file is wasted bandwidth.
Compression: JPEG at quality 85 produces a file that's visually identical to quality 100 for most photographic content, at half the size. WebP at quality 80 typically beats JPEG q85 by 25–35% with no visible difference. The compression slider is the single tunable that gives the most control over file size.
Target sizes most platforms enforce: YouTube thumbnails ≤ 2 MB. Email attachments ≤ 1 MB (Gmail compresses anything over that into a Drive link). Many forms cap at 500 KB or 200 KB. The compression target presets below land any photograph reliably under each of those ceilings.
Image formats compared
Four image formats dominate the web in 2026: JPG, PNG, WebP and AVIF. Each has a clear best use case — and the wrong choice can multiply your file sizes by 5× or more.
| Format | Best for | Transparency | Typical file size |
|---|---|---|---|
| JPG / JPEG | Photographic content (90% of the time) | No | 300–800 KB at 1920px wide, q85 |
| PNG | Graphics, screenshots, logos, line art | Yes (full alpha) | 1–3 MB at 1920px wide for graphics |
| WebP | The modern web default (2020+) | Yes | 200–500 KB at 1920px wide, q80 |
| AVIF | Cutting-edge web delivery | Yes | 150–400 KB at 1920px wide |
JPG / JPEG
Strengths: Universal compatibility, smallest files for photos
Weaknesses: No transparency; lossy compression compounds on each save
PNG
Strengths: Lossless; perfect for sharp edges; supports transparency
Weaknesses: 4–10× larger than JPG for photographs
WebP
Strengths: 25–35% smaller than JPG at the same quality; supports transparency
Weaknesses: Not always accepted by older platforms (Outlook, some legacy CMS)
AVIF
Strengths: Smallest files at equivalent visual quality
Weaknesses: Decode is slower on older devices; not yet universal
Platform overview
The most important image dimensions for the platforms most people publish to. Click any row for the full guide with every image type, format guidance, and one-click resize tools.
| Platform | Most-used size | Profile / banner | Format | Full guide |
|---|---|---|---|---|
| 1080×1080 (1:1) | 320×320 | JPG | Open → | |
| 1200×630 (1.91:1) | 820×312 | JPG | Open → | |
| 1200×627 (1.91:1) | 400×400 | JPG | Open → | |
| YouTube | 1280×720 (16:9) | 2560×1440 | JPG | Open → |
| TikTok | 1080×1920 (9:16) | 200×200 | JPG | Open → |
| X (Twitter) | 1200×675 (16:9) | 1500×500 | JPG | Open → |
| 1000×1500 (2:3) | 600×600 | JPG | Open → | |
| Etsy | 2000×2000 (1:1) | 1200×300 | JPG | Open → |
| Shopify | 2048×2048 (1:1) | 450×450 | JPG | Open → |
Resize & compress tools by task
If you have an image and need it smaller
If you need an exact size
If you need to change format
Platform guides
Every platform we maintain a dedicated guide for. Each page covers every image type the platform renders, plus format guidance and the common mistakes to avoid.
Instagram Image Sizes
Every Instagram image size that matters in one place — posts, stories, reels and profile imagery, with the format and quality recommendations Instagram's own decoder prefers.
Open guide →
Facebook Image Sizes
Every Facebook image size that matters — posts, cover photos, share cards, profile and event imagery — with the format guidance that survives Facebook's re-encoding.
Open guide →
LinkedIn Image Sizes
LinkedIn renders banners and share cards with strict aspect ratios — the sizes below are what survives the crop on desktop and mobile.
Open guide →
YouTube Image Sizes
YouTube has a hard 2 MB cap on thumbnails and a strict 16:9 aspect ratio — the sizes below survive both constraints.
Open guide →
TikTok Image Sizes
TikTok is 9:16 portrait everywhere — the sizes below are what survives the platform's native crops on iPhone, Android and the web app.
Open guide →
X (Twitter) Image Sizes
X uses 1200×675 (16:9) for in-feed and card previews — slightly taller than Open Graph. The sizes below avoid the awkward letterbox.
Open guide →
Pinterest Image Sizes
Pinterest's algorithm rewards the 2:3 portrait standard. 1000×1500 is the sweet spot — long enough to dominate the feed, not so long it gets cropped.
Open guide →
Etsy Image Sizes
Etsy listings live or die on photography. The sizes below are what Etsy's marketplace renderer expects — bigger than most sellers realise.
Open guide →
Shopify Image Sizes
Shopify's recommended product image is 2048×2048 — but only if it's compressed. Uncompressed 2048×2048 product photos are a leading cause of slow Shopify stores.
Open guide →