Social media image size and aspect ratio calculator
Find the right image size for every major platform, work out an aspect ratio, or calculate the missing width or height. Everything runs in your browser.
Recommended sizes
| Platform | Format | Pixels | Ratio |
|---|---|---|---|
| Square post | 1:1 | ||
| Portrait post Takes the most feed space. | 4:5 | ||
| Story or Reel Keep text out of the top and bottom 250 px. | 9:16 | ||
| TikTok | Video or photo post | 9:16 | |
| YouTube | Thumbnail Under 2 MB. | 16:9 | |
| YouTube | Channel banner Safe area for text and logos: 1546 × 423 in the centre. | 16:9 | |
| YouTube | Shorts | 9:16 | |
| X (Twitter) | Post image | 16:9 | |
| X (Twitter) | Header | 3:1 | |
| Feed post | 4:5 | ||
| Page cover | 205:78 | ||
| Facebook / LinkedIn | Link preview (Open Graph) | 40:21 | |
| Feed image | 1:1 | ||
| Profile banner | 4:1 | ||
| Standard pin | 2:3 | ||
| Threads | Post image | 4:5 |
Aspect ratio from a size
Result
Aspect ratio 16:9 (1.778 : 1). Closest ratio AI image tools offer: 16:9.
Missing side from a ratio
Result
1080 × 1350 px
How to use it
Pick a platform size
Choose a format such as an Instagram portrait post or a YouTube thumbnail to see its pixels and ratio.
Or enter your own size
Type a width and height to get the ratio, or a ratio and one side to get the other.
Generate at the right shape
Use the closest ratio AI image tools offer, so you crop as little as possible.
Why aspect ratio matters
Platforms crop images that do not match their frame, often cutting faces or text. Creating at the right ratio from the start avoids that and keeps the full image visible in the feed.
Sizes change from time to time; the table lists each platform’s current recommendation and the note says where to keep text away from the edges.
Embed this tool on your site
Free for blogs, classrooms and creator sites. Paste the code where you want the tool to appear; keep the credit line under it.
<iframe src="https://brainbaby.ai/embed/aspect-ratio" title="Social media image size and aspect ratio calculator by Brainbaby" width="100%" height="560" style="max-width:440px;width:100%;border:0;border-radius:12px" loading="lazy" sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox allow-forms" allow="clipboard-write" referrerpolicy="strict-origin-when-cross-origin"></iframe>
<p style="font-size:12px">Aspect ratio calculator by <a href="https://brainbaby.ai/social-media-image-size-calculator">Brainbaby</a></p>Make it in Brainbaby
The tools above are free without an account. Sign up to generate images and videos from your prompts, save them to your library and share them with credit.
Frequently asked questions
What is the best image size for Instagram?
A portrait post at 1080 × 1350 px (4:5) takes the most space in the feed. Square posts are 1080 × 1080 px and Stories or Reels 1080 × 1920 px (9:16).
What size is a YouTube thumbnail?
1280 × 720 px (16:9), under 2 MB.
How do I calculate an aspect ratio?
Divide width and height by their greatest common divisor: 1920 × 1080 becomes 16:9. Enter the two numbers above and the calculator does it for you.
Is my image uploaded?
No. The calculator only works with the numbers you type; no file is needed.