Recommended image sizes for X, Instagram, YouTube, LinkedIn, Facebook link previews, Pinterest and TikTok, from each platform's own help pages, plus a calculator for ratio, resize height and fit.
Type a width and a height, or load a platform preset. The results update as you type. Nothing is uploaded: the math runs in your browser.
Method: the ratio is width and height divided by their greatest common divisor. The new height is target width × height ÷ width, rounded to the nearest pixel. A ratio counts as a match when it is within 1% of the preset ratio. The size check uses the platform's stated minimum where one exists, otherwise its recommended size. Preset sizes come from the table below.
Recommended or minimum sizes as each platform states them. Checked on 28 October 2026.
| Platform | Image type | Size (px) | Ratio | Source |
|---|---|---|---|---|
| X | Profile photo | 400 x 400 | 1:1 | X Help Center |
| X | Header | 1500 x 500 | 3:1 | X Help Center |
| Square feed photo | 1080 x 1080 | 1:1 | Instagram Help Center | |
| Tallest portrait feed photo | 1080 x 1440 | 3:4 | Instagram Help Center | |
| Landscape feed photo | 1080 x 566 | 1.91:1 | Instagram Help Center | |
| YouTube | Video thumbnail | 3840 x 2160 | 16:9 | YouTube Help |
| YouTube | Channel banner (minimum) | 2048 x 1152 | 16:9 | YouTube Help |
| Page logo | 400 x 400 | 1:1 | LinkedIn Help | |
| Page cover | 1512 x 256 | 189:32 | LinkedIn Help | |
| Page post with a URL | 1200 x 627 | 1.91:1 | LinkedIn Help | |
| Facebook / Open Graph | Link preview image | 1200 x 630 | 1.91:1 | Meta for Developers |
| Standard pin | 1000 x 1500 | 2:3 | Pinterest Business Help | |
| TikTok | Vertical image ad (minimum) | 720 x 1280 | 9:16 | TikTok Ads Help |
Notes: the YouTube banner safe area for text and logos is 1235 x 338 px at the minimum banner size, and the file must be 6 MB or smaller. YouTube's minimum thumbnail width is 640 px. Meta's minimum for a large link preview is 600 x 315 px. LinkedIn Page images must be PNG or JPEG and 3 MB or smaller. Instagram's photo resolution article says it keeps a photo 320 to 1080 px wide at its original resolution when the ratio is between 1.91:1 and 3:4 (1080 x 566 to 1080 x 1440 px). Some Instagram help articles about boosted posts and ads still use 4:5 (1080 x 1350) as the tallest feed ratio, so use 4:5 if you plan to boost the post.
An aspect ratio is the width of an image divided by its height. It says nothing about the pixel count: 1200 x 675 and 3840 x 2160 are both 16:9. To reduce a size to a ratio, divide both numbers by their greatest common divisor. For 1920 x 1080 the divisor is 120, which gives 16:9. 1200 x 630 reduces to 40:21, which is usually written as its decimal, 1.91:1.
A platform crops an image whose ratio it does not support. Instagram does this to photos outside its range. Crop to the target ratio yourself and you decide what is cut.
To change the width and keep the shape, scale the height by the same factor: new height = new width × old height ÷ old width. A 4000 x 3000 photo resized to 1080 px wide becomes 1080 x 810. The calculator above does this for any target width.
Resizing never changes the ratio, so a 4:3 photo cannot become a 3:1 X header by resizing alone. You have to crop. The largest 3:1 area inside a 4000 x 3000 photo is 4000 x 1333 px. The calculator shows this crop size when your image does not match the preset.
Meta for Developers recommends at least 1200 x 630 pixels, as close to 1.91:1 as possible. The minimum for a large link preview is 600 x 315 pixels.
The Instagram Help Center says photos are stored at up to 1080 pixels wide. Wider uploads are scaled down to 1080 pixels, and landscape photos can be as wide as 1.91:1.
YouTube Help recommends a 16:9 thumbnail at 3840 x 2160 pixels, with a minimum width of 640 pixels.
Free tools on our sister site.