Images for social media are the single most important factor in whether a post stops a scroll or gets ignored. This guide covers the exact pixel dimensions, aspect ratios, and file formats for every major platform, plus how to choose and prepare images that look sharp on any device. You will also learn common sizing mistakes, how to compress without losing quality, and answers to the questions people search for most.
Formula
The calculator works out two things from the width and height you enter, in pixels:
- Aspect ratio = width ÷ height. This is shown as a decimal (e.g., 0.8 for 4:5, 1.0 for 1:1, 1.91 for 1.91:1).
- Megapixels = (width × height) ÷ 1,000,000. This tells you the total pixel count, which relates to file size and print size.
Variables: w = image width in pixels, h = image height in pixels. The aspect ratio has no unit; megapixels are expressed in millions of pixels (MP).
Worked Example
Using the default values from the calculator (width 1080 px, height 1350 px):
- Aspect ratio = 1080 ÷ 1350 = 0.8. This is the standard 4:5 portrait ratio used for Instagram feed posts and Facebook feed posts.
- Megapixels = (1080 × 1350) ÷ 1,000,000 = 1,458,000 ÷ 1,000,000 = 1.46 MP.
So a 1080×1350 image has a 4:5 aspect ratio and about 1.46 megapixels. This is a typical resolution for a well-sized social media post that will look sharp on most phones and desktops.
Why Image Sizes Matter So Much
Every social platform uses its own cropping and scaling rules. If your image is too small, it gets stretched and looks blurry. If it is too large, the platform compresses it, often reducing quality. If it has the wrong aspect ratio, the platform crops it, and you may lose the subject of your photo. Getting the size right is not about perfection—it is about controlling how your image appears before the platform alters it.
Most platforms now recommend uploading at 1080 pixels wide for feed images. That is because 1080 px is the standard width for high-resolution phone screens and most desktop displays. Uploading at this width ensures the platform does not need to upscale your image, which is the main cause of softness.
Current Recommended Sizes by Platform
These are the general, widely accepted sizes for the main social platforms as of 2024. They change occasionally, so always check the platform’s own help pages for the latest guidance.
- Instagram feed: 1080×1350 px (4:5) is the most common, but square 1080×1080 (1:1) and landscape 1080×566 (1.91:1) also work. The app will crop if you do not match these.
- Instagram Stories / Reels: 1080×1920 px (9:16). This is full-screen vertical. If you upload a smaller image, it will be blurry or cropped.
- Facebook feed: 1200×630 px (1.91:1) is the standard for link shares, but for regular photo posts, 1080×1350 (4:5) works well and takes up more screen space.
- X (Twitter) feed: 1600×900 px (16:9) is recommended for landscape images. In-feed images are cropped to a 16:9 ratio on most devices, so keep important content in the center.
- LinkedIn feed: 1200×627 px (1.91:1) for link posts, and 1080×1350 (4:5) for image posts. LinkedIn also shows a square crop in some views.
- Pinterest: 1000×1500 px (2:3) is the standard pin size. Vertical pins perform better because they take up more space in the feed.
- TikTok: 1080×1920 px (9:16) for videos and images. For cover images, use the same ratio.
- YouTube thumbnails: 1280×720 px (16:9). This is the minimum, but it is the standard for crisp thumbnails.
How to Choose the Right Size and Format
Start by deciding where the image will be posted, then pick the aspect ratio that fits that platform. For feed posts, the 4:5 ratio (1080×1350) is a safe choice for Instagram and Facebook because it is tall enough to grab attention but not so tall that it gets cropped in preview. For link shares, use 1.91:1 (1200×630) so the thumbnail is not cut off.
File format matters too:
- JPG is best for photographs and complex images. It compresses well but loses quality if saved repeatedly.
- PNG is best for graphics, logos, and images with text. It supports transparency and does not lose quality, but files are larger.
- WebP is a modern format that many platforms now accept. It offers better compression than JPG at the same quality, but not all older software supports it.
- GIF is only for simple animations. It is limited to 256 colors, so never use it for photos.
When exporting from editing software, choose “Export for Web” or “Save for Web” and select JPG with a quality of 80–85%. This usually keeps file size under 500 KB while maintaining good sharpness.
Common Mistakes and How to Avoid Them
The most frequent errors people make with social media images are:
- Uploading a tiny image and letting the platform stretch it. Always start with at least the recommended width (1080 px). If you only have a small file, do not upscale it in an editor—the result will be worse than letting the platform handle it.
- Ignoring the safe zones. Text and logos near the edges will be cropped on some platforms. Keep important content within the central 80% of the image.
- Using the wrong aspect ratio for the intended spot. A square image posted to a story will be cropped to 9:16, losing most of the sides. Always crop to the target ratio before uploading.
- Over-compressing. A JPG quality below 60% will show visible artifacts, especially around text. Use 80–85% as a starting point.
- Forgetting the platform’s resize behavior. Instagram, for example, may compress images to a maximum of 1080 px wide, so uploading a 4000 px image does not give you more detail—it just makes the file bigger and slower to upload.
How to Resize Images Without Losing Quality
You do not need expensive software to resize images for social media. Free tools like GIMP, Photopea, or even the built-in Photos app on Windows and macOS can do the job. The key is to resize down (make the image smaller) rather than up. Resizing down is safe and does not reduce visible quality if you keep the aspect ratio locked. Resizing up always adds blur because the software has to invent pixels.
Steps for a clean resize:
- Open the image in an editor.
- Set the width to the target value (e.g., 1080 px) and make sure the height adjusts automatically to keep the aspect ratio.
- If you need a specific ratio (like 4:5), crop first, then resize.
- Export as JPG with quality 80–85% or as PNG if you need transparency.
- Check the file size. If it is over 1 MB, lower the quality slightly or use a compression tool.
For batch resizing (many images at once), tools like IrfanView (Windows) or ImageMagick (command line) can process a whole folder in seconds.
Frequently Asked Questions
What is the best image size for Instagram in 2024?
For feed posts, 1080×1350 px (4:5) is the most effective size because it takes up more vertical space in the feed and is less likely to be cropped than a square. For Stories and Reels, use 1080×1920 px (9:16).
Why do my images look blurry when I upload them?
Blurriness usually comes from uploading an image smaller than the platform’s recommended width. The platform then upscales it, which softens details. Always upload at least 1080 px wide. Also, avoid saving a JPG multiple times—each save degrades quality.
Should I use JPG or PNG for social media?
Use JPG for photographs and images with lots of colors. Use PNG for graphics, screenshots, and images with text or transparency. PNG files are larger, so if you are not sure, JPG at 85% quality is a safe default.
How do I keep text from being cut off in social media images?
Keep all text and important elements within the central 80% of the image. Most platforms crop the outer 10% on each side for profile pictures, thumbnails, or in-feed previews. You can also add a margin of at least 50 px around the edges.
What is the ideal file size for a social media image?
Most platforms compress images anyway, so there is no strict limit, but keeping files under 1 MB ensures fast loading. For JPGs, a 1080×1350 image at 85% quality is usually around 200–500 KB. If your file is over 2 MB, reduce the quality or resize slightly.
Can I use the same image for all platforms?
Technically yes, but it will be cropped differently on each platform. A 1080×1350 image works on Instagram and Facebook, but will be cropped to 16:9 on X and LinkedIn. It is better to create a separate version for each platform, or at least check the preview before posting.
Related
Formula used
in w | Image width | px | 1080 | 1 | 8000 in h | Image height | px | 1350 | 1 | 8000 out ratio | Aspect ratio | - | w / h | 3 out megapixels | Megapixels | MP | (w * h) / 1000000 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Arctic Sea Ice Forecasts Disagree: What to Do
- MySQL Workbench to VPS: SSH Tunnel Setup
- Bluesky Beginners Guide: How to Get Started5.00 min/km
- LG V20 Won’t Turn On? Fixed
- Snagit vs Camtasia: Which One Do You Need?
- Scale a Small Business Without Losing Culture