utilobox

Image sizes for websites and social posts

You need a square, wide or tall version of a picture and are not sure which numbers to type. This guide explains pixel sizes and shapes, how to avoid stretched or blurry results, and how to finish with a sensible file.

Last updated:

Pixels, shape and file size are three separate things

When someone says an image is too big, they might mean any of three things. The pixel size is how many pixels wide and tall the picture is, for example 1920 × 1080. The shape, or aspect ratio, is the relationship between those two numbers: 1920 × 1080 and 1280 × 720 differ in size but share the same wide shape. The file size is how many megabytes the picture takes on disk. The three influence each other, but fixing one does not fix the others.

Most trouble comes from mixing them up. A site asking for a square picture is talking about shape, a form asking for at least 600 pixels across is talking about pixel size, and an upload limit in megabytes is about file size. Work out which one is being asked before you touch a setting, change that one, and then check the other two.

Resize image handles the first two directly, through the ‘Resize’ and ‘Crop’ choices under ‘What to do’. File size is the job of Compress image, which belongs at the end of the process.

The common shapes and what they suit

Sites rarely publish one required size that stays correct for long, so it helps to know the handful of shapes that keep coming back. The crop shapes in Resize image cover most of them, and each is listed below with the jobs it usually suits.

Treat these as shapes, not as rules of any particular service. Recommendations change, so check what the place you upload to currently asks for. If it states only a ratio, crop to that shape. If it states pixels, match them.

  • 1:1, square. Profile pictures, product tiles and grid thumbnails. 1080 × 1080 is a convenient size.
  • 4:3, a mild landscape. Compact camera photos, classic slides and many tablet screens. 800 × 600 is a small web example.
  • 3:2, the shape of many camera sensors and standard photo prints. A full-size camera photo is often already close to 3:2 or 4:3.
  • 16:9, widescreen. Video frames, slide decks, banners and wide header images. Both 1920 × 1080 and 1280 × 720 are 16:9.
  • 9:16, tall and narrow. Full-screen vertical video and story-style posts on phones. 1080 × 1920 is the usual size.

Quick sizes: what happens at the edges

Resize image has four ‘Quick sizes’: 1080 × 1080, 1920 × 1080, 1280 × 720 and 800 × 600. Each gives exactly the size on the button. When your photo has a different shape, the tool does not squeeze it. It first cuts equal strips from the two edges that do not fit, then scales what is left.

The numbers show how much you lose. Take a 4000 × 3000 photo and press 1080 × 1080: the tool keeps the central 3000 × 3000 square, discarding 500 pixels on the left and 500 on the right, then scales it down to 1080. Press 1920 × 1080 on the same photo and it keeps a central band of 4000 × 2250, cutting 375 pixels from the top and 375 from the bottom, a quarter of the height. A portrait photo of 3000 × 4000 pressed to 1080 × 1080 loses 500 from the top and 500 from the bottom.

Because the trim is always centered, a subject near an edge can lose a head, a foot or a caption. Look at the result, and if something important was cut off, use ‘Crop’ instead, where you drag the frame to decide what stays.

Getting an exact size, step by step

For a size that is not one of the quick buttons, or when you want full control, follow the steps below.

With ‘Keep aspect ratio’ ticked, a batch gets one width and each photo’s height follows from its own shape, so photos with different shapes will not come out the same size. The ‘Height’ box you see on screen only reflects the first photo.

  • Add the photo with ‘Choose files’.
  • Leave ‘What to do’ on ‘Resize’ and ‘Resize by’ on ‘Pixels’.
  • Type a ‘Width’ and let the height follow, as long as ‘Keep aspect ratio’ stays ticked. Typing a ‘Height’ works the same way in reverse.
  • Choose ‘Save as’. ‘Same as original’ keeps JPG, PNG and WebP, while HEIC and AVIF photos come out as JPG.
  • Click ‘Resize’, then ‘Download’, or ‘Download all (ZIP)’ for several images.

Percentages, rounding and file names

The second number is worked out and rounded to whole pixels, so a 4000 × 3000 photo at a width of 1200 becomes 1200 × 900. If the goal is just to make everything smaller by one factor, switch ‘Resize by’ to ‘Percentage’. A value of 50 halves both sides, which leaves a quarter of the pixels, and the field accepts anything from 1 to 400.

Every finished file carries its size in its name, for example holiday-1200x900.jpg. That makes a batch easy to sort and tells you at a glance which copy is which.

Tall formats and shapes the quick sizes do not cover

There is no vertical quick size, and the ‘Crop shape’ choices give you the ratio but not the final pixels, because a crop keeps the pixel density of the part you select. To reach 1080 × 1920, switch ‘What to do’ to ‘Crop’, pick 9:16 and place the frame, then run the cropped file through ‘Resize’ with a width of 1080. The height follows and lands at, or within a pixel of, 1920.

For ratios and shapes beyond those five, such as 4:5, 3:4, a circle or rounded corners, use Crop image. It lets each photo in a batch keep its own frame, and it accepts typed X, Y, Width and Height values when you need an exact position.

Cropping first and resizing second is a good habit. Decide the framing while every pixel is still available, then reduce. Doing it the other way round throws away pixels before you know which ones you need.

Why a picture looks blurry or stretched

Stretching has a single cause: width and height were scaled by different amounts. In Resize image that happens only if you untick ‘Keep aspect ratio’ and type two numbers that do not match the photo’s shape. Faces turn wide or thin and circles become ovals. If you must hit a particular shape, crop to it rather than forcing it.

Blur has several causes. The common one is enlarging. A small picture shown bigger than its own pixel size has to invent detail in between, and that looks soft. The percentage field goes up to 400, but anything above 100 only spreads the same information over more pixels. Heavy compression can also smear detail, and so can a screen that has more pixels than the file supplies, which the next section covers.

A quick test: open the result at 100 percent. If it already looks soft there, the problem is in the file. If it is crisp there but soft on the page, look at how the page scales it.

Large screens and the 2x rule

Many phones and laptops pack two or more physical pixels into every pixel of page layout. A picture that fills a 600-pixel column on such a screen has 1200 pixels available to draw it, so a 600-pixel file gets stretched by the screen and looks slightly soft. Supplying roughly double the displayed width is the usual way to keep it crisp.

That is a reason not to go too small. If a page shows a picture 640 pixels wide, a 1280-pixel source is a sensible target. A width of 1920 covers a full-width picture on a standard screen, and 800 is enough for small previews that are never enlarged. Beyond double, extra pixels mostly cost loading time without improving what people see.

After resizing: format and file size

Resize image saves JPG and WebP files at a fixed, high quality setting and has no slider, so a resized photo can still be heavier than you want. Resize first and compress second, because compressing the full-size photo first would spend effort on pixels you are about to throw away.

‘Save as’ decides the format. JPG suits photographs and opens almost everywhere. PNG suits graphics, screenshots and anything with transparency, but makes large files from photos. WebP is usually smaller than either at similar quality, so it works well for websites, as long as the place you upload to accepts it. A transparent PNG saved as JPG gets a white background. For a quality slider or a batch conversion between formats, use Image converter.

Keep the original photo. A resized copy cannot regain pixels, so if a new need appears later, start again from the full-size file.

Questions and answers

What is the difference between ‘Resize’ and ‘Crop’?

‘Resize’ changes how many pixels the whole picture has and, with the aspect ratio kept, leaves its shape alone. ‘Crop’ cuts away part of the picture to change its shape or framing, and it does not scale what remains.

Why does my resized photo look soft on a website?

Screens with a high pixel density need about twice as many pixels as the space the picture occupies. Try a file whose width is double the width it is displayed at.

Is it a problem to make a small image larger?

Enlarging cannot add detail, so the picture just gets softer. If you can, go back to a larger original. When you have no choice, keep the enlargement modest.

Should I resize or compress first?

Resize first, then compress. Resizing fixes how many pixels the picture has, and compression then reduces how much space each one takes.

Can I give a batch of photos different shapes in one go?

A batch shares one size rule, such as a single width or percentage. For a different frame on each photo, use Crop image, which keeps a separate frame per picture. Cropping inside Resize image works on one image at a time.