Resize image to 2x2 inches

Make a square photo that prints at 2 × 2 inches. The size is preset; set the DPI and choose how a non-square photo should be cropped or padded.

or drop an image hereYou can also paste with Ctrl+V or ⌘V. JPG, PNG, WebP, BMP, GIF, HEIC or AVIF.

300 is common for photo prints. The DPI is written into the file.

Output: 600 × 600 px at 300 DPI.

#ffffff

Used for borders and for transparent areas in a JPG.

Your result will appear here. Nothing is uploaded: the file stays on your device.

How to resize a photo to 2 × 2 inches

  1. Choose or drop your photo. Size is set to 2 × 2 inches.
  2. Keep DPI (dots per inch) at 300, or type another value. The Output line shows the pixels.
  3. Under If the shape differs, keep Fill and crop the edges to make the photo square, or pick borders.
  4. Choose JPG or PNG, press Resize image, and download.

The pixel maths for 2 × 2 inches

Pixels = inches × DPI. At 300 DPI a 2 inch side is 2 × 300 = 600 px, so the file is 600 × 600. At 600 DPI it is 1200 × 1200, and at 200 DPI it is 400 × 400. All three print at the same 2 inch square; the higher DPI just packs in more pixels.

The DPI number itself is metadata. It is a note in the JPG or PNG that tells a printer or layout program how large to print the picture. On its own it does not alter a single pixel; the pixels change because the tool resizes the photo to match.

Making a rectangular photo square

Most photos are not square. A portrait shot of 3000 × 4000 px is scaled to 600 × 800 by Fill and crop the edges, then 100 px is trimmed from the top and from the bottom. Check that the head or subject is not too close to either edge; if it is, crop a square by hand with the image cropper first and bring it back here.

What each setting does

Size
2 × 2 inches, or Custom size once you edit the numbers.
DPI (dots per inch)
From 1 to 2400. Written into the file as well as used to work out the pixels.
If the shape differs
Fill and crop, Fit and add borders, Fit inside (may not be square) or Stretch.
Save as, Quality and Background colour
JPG with adjustable quality, or PNG. The colour fills borders, and transparency in a JPG.

Limits

  • This page does not check any official photo rule such as head size, background or lighting. For document photos, see the passport photo resizer, which lists its sources.
  • The crop is centred; it does not find faces.

Questions

How many pixels is 2 × 2 inches?

600 × 600 px at 300 DPI. Multiply 2 by whatever DPI you use for other values.

Will a higher DPI make my photo look better?

Only if the original has the pixels to fill it. A small photo pushed to 600 DPI just gets enlarged.

Is 2 × 2 inches the same as 5 × 5 cm?

Close, but 2 inches is 5.08 cm. For an exact centimetre size, use resize image in cm.

Can I see what DPI my photo has now?

Yes, the image size checker shows the stored DPI along with the dimensions.