Skip to content

Resize image to 5x7, free, in your browser

A 5x7 inch print needs 1500 × 2100 pixels at 300 DPI. This page is preset to that size: drop a photo and it is cropped to the 5:7 shape and resized for printing.

A3Resize image to 5x7 — ToolsBoxx
Ready0 B sent to server

Your files never leave your device. Processing happens in your browser.How that works.

Presets

How it works

  1. Pick a preset, or type a width and height in pixels. Leave one empty to keep the proportions.
  2. Choose what to do when the shape changes: fit inside, fill and crop, or stretch.
  3. Drop your images. They are resized straight away.
  4. Download each result, or all of them as a zip.

Runs as JavaScript inside this tab. Turn off your connection after the page loads and it still works.

Image size reference

Photo print sizes in pixels

Photo labs print at 300 DPI (dots per inch). Multiply inches by 300 to get pixels. 150 DPI is acceptable for casual prints viewed at arm’s length.

Print size 300 DPI 150 DPI Shape
4 × 6 in (10 × 15 cm) 1200 × 1800 600 × 900 2:3
5 × 7 in (13 × 18 cm) 1500 × 2100 750 × 1050 5:7
8 × 10 in (20 × 25 cm) 2400 × 3000 1200 × 1500 4:5
8.5 × 11 in (US Letter) 2550 × 3300 1275 × 1650 —
A4 (210 × 297 mm) 2480 × 3508 1240 × 1754 1:√2
11 × 14 in 3300 × 4200 1650 × 2100 11:14
16 × 20 in 4800 × 6000 2400 × 3000 4:5

Passport and ID photos

Country / document Size Pixels at 300 DPI
United States passport and visa 2 × 2 in (51 × 51 mm) 600 × 600
United Kingdom, EU, Schengen, India, Australia 35 × 45 mm 413 × 531
Canada passport 50 × 70 mm 591 × 827
China visa 33 × 48 mm 390 × 567
Japan passport 35 × 45 mm 413 × 531

Resizing sets the dimensions only. Official photos also have rules for head size, expression, background and lighting, which this tool does not check; read the issuing authority’s requirements before you submit.

Social media image sizes

Platform Image Pixels
YouTube Channel banner 2560 × 1440 (safe area 1546 × 423)
YouTube Thumbnail 1280 × 720
Instagram Square post 1080 × 1080
Instagram Portrait post 1080 × 1350
Instagram, TikTok Story, Reel 1080 × 1920
Instagram Profile picture 320 × 320
Facebook Cover photo 851 × 315
X Header 1500 × 500
X Post image 1600 × 900
LinkedIn Profile banner 1584 × 396
LinkedIn Post image 1200 × 627
Discord Avatar 512 × 512

Platforms adjust these from time to time. All of them are available in the Preset list.

Screen sizes

Name Pixels Shape
1024 × 576 1024 × 576 16:9
HD (720p) 1280 × 720 16:9
Full HD (1080p) 1920 × 1080 16:9
QHD (1440p) 2560 × 1440 16:9
4K UHD 3840 × 2160 16:9

Fit, fill or stretch

Mode What happens Use when
Fit inside The whole picture is kept and scaled to fit within the box. One side may be shorter than asked. You must not lose any of the image.
Fill and crop The picture covers the box exactly; whatever overflows is trimmed equally from both sides. You need exact dimensions, as for prints, banners and profile pictures.
Stretch The picture is forced to the exact size and distorts if the shape differs. Rarely; only when distortion is acceptable.

Presets use Fill and crop, because a platform that asks for 1080 × 1080 needs exactly that.

Megapixels

Megapixels are width × height ÷ 1,000,000. A 12 MP phone photo is about 4000 × 3000, enough for a sharp 13 × 10 inch print at 300 DPI. Enlarging a small image cannot add detail; it only spreads the same pixels over more space.

Worked examples

A landscape phone photo to a 4 × 6 print

A 4000 × 3000 photo (4:3) becomes 1200 × 1800 (2:3, portrait). With Fill and crop the tool takes a 2000 × 3000 strip from the centre and scales it down, so nothing is distorted and the edges are trimmed evenly. For a landscape print, type 1800 × 1200 instead.

Keeping proportions: width only

Set the width to 320 and the height to 0. A 640 × 480 image becomes 320 × 240. The height was worked out for you, so the picture is not distorted. (Real result from this tool: a 640 × 480 PNG comes out as a 320 × 240 PNG.)

A YouTube banner

Pick the YouTube banner preset: 2560 × 1440. Starting from a 1600 × 1200 image, the tool crops to 16:9 and enlarges it, and warns that the result may look soft, because the source had fewer pixels than the target. For a sharp banner start from artwork at least 2560 pixels wide.

A batch for a web shop

Type 1200 × 1200, choose Fit inside, tick Never enlarge small images, and drop 80 product photos. Large photos are scaled down to fit in a 1200 pixel square; any already smaller are left at their own size. Download one zip.

From real measurements

Source Target Result
1600 × 1200 JPG, 944 KB 4 × 6 preset (1200 × 1800) 1200 × 1800 JPG, 549 KB
640 × 480 PNG, 809 KB width 320 320 × 240 PNG

Output files are named with their new size, such as photo-1200x1800.jpg, so they never overwrite the originals.

Frequently asked questions

What size is a 4x6 photo in pixels?

1200 × 1800 pixels at 300 DPI, which is what photo labs print at. At 150 DPI, acceptable for casual prints, it is 600 × 900.

What is the difference between fit, fill and stretch?

Fit keeps the whole image and its proportions, so one side may end up shorter than the box. Fill covers the box exactly and crops whatever overflows, from the centre. Stretch forces the exact size and distorts the picture if the proportions differ.

Can I make a small image bigger?

Yes, but enlarging cannot add detail, so the result looks soft. The tool warns you when it enlarges, and the “Never enlarge small images” option prevents it.

Does resizing reduce quality?

Making an image smaller discards pixels but looks sharp at the new size. Saving as JPG re-compresses it; at the default quality of 90 the loss is not visible. PNG output is lossless.

How do I resize without changing the proportions?

Enter only the width or only the height and leave the other at 0. The tool works out the missing side so the image is not distorted.

Can I resize many images at once?

Yes. Drop as many as you like; they are all resized to the same settings and can be downloaded as one zip.

Are my images uploaded to a server?

No. The work is done by your own browser on your own device, and the images are never sent anywhere. You can check by loading this page, switching off your internet connection and using the tool; it still works.

Resize image · last updated · changelog · part of Canned Tuna