To resize an image for a social media post, first check which platform you are posting to, then set the image to the exact pixel dimensions that platform uses. Instagram square posts need 1080x1080 pixels, Facebook link preview images are 1200x630, and X in-feed landscape images are 1600x900. Crop to change the shape of the image, then resize to hit the exact pixel count. Never stretch the image to fit a new shape, or it will look distorted.
Know the Exact Sizes for Each Platform
Every social media platform displays images at a specific pixel size. If your image is larger or smaller than that size, the app will automatically crop or stretch it, often ruining the composition. Here are the most common sizes you need:
- Instagram square post: 1080x1080 (1:1 aspect ratio)
- Instagram portrait post: 1080x1350 (4:5 aspect ratio)
- Instagram and Facebook stories: 1080x1920 (9:16 aspect ratio)
- Facebook link preview image: 1200x630
- X (Twitter) in-feed landscape image: 1600x900 (16:9 aspect ratio)
- LinkedIn shared image: 1200x627
- YouTube thumbnail: 1280x720
Write these sizes down or bookmark this list. When you prepare an image, pick the matching size for the platform you are using.
Crop First, Then Resize
The most common mistake is stretching an image to fit a new size. If you have a square photo and you need a 16:9 rectangle, stretching will make people and objects look squashed or elongated. Instead, use a cropping tool to cut away the parts of the image that do not fit the new aspect ratio.
How to Crop for a New Aspect Ratio
Open your image in any editor that has a crop tool. Set the crop to the target aspect ratio, such as 4:5 for an Instagram portrait post. Move the crop box around until the most important part of the image is inside the frame. Then apply the crop. After cropping, you will have an image that is the right shape but may not be the exact pixel size. That is when you resize.
Resize Without Losing Quality
Resizing changes the pixel dimensions. If you make an image smaller, the software throws away pixels. If you make an image larger, the software has to guess what the new pixels should look like, which makes the image soft. To avoid a soft result, always start from the largest original image you have. If you start with a small image and try to make it 1080x1080, it will look blurry. Start with a source that is at least as large as your target size.
When you resize, most editors will give you options for how to resample the image. Choose a method that keeps edges sharp, usually called bicubic or similar. Do not select a method that smooths the image, because that will make text and faces look fuzzy.
Keep Faces and Text Away from the Edges
Even if you crop and resize perfectly, the social media app itself may crop your image again. Apps often cut off the outer edges of an image when they generate previews, especially in link previews or story thumbnails. To protect your image, leave a margin of empty space around faces, logos, and text. A good rule of thumb is to keep the most important content in the center of the image. If you are using a tool like a free AI image editor, you can use its built in guides to check that nothing critical sits too close to the edge.
Use a Tool That Handles Both Cropping and Resizing
You can crop and resize in almost any photo editing tool, but some tools make the process faster by showing you the exact pixel dimensions as you work. If you need to prepare several images for different platforms, a dedicated image resizer or cropper saves time. Try an online image resizer that lets you type in the exact pixel width and height and then preview the result before you save. That way you can check the composition before exporting the final file.
Check the File Size After Resizing
After you resize an image to the correct pixel dimensions, the file size might still be too large for the platform. Some apps reject images over a certain file size. If your resized image is still large, use an image compressor to reduce the file size without changing the pixel dimensions. Keep the quality setting high enough that the image still looks sharp on screen. Most platforms accept JPEG files, which compress well, so save your final image as a JPEG with a high quality setting.