What size should photos be for email and the web? Pixels, long edge and quality
Why a 12 megapixel photo is far bigger than any screen needs, what long edge, fit and fill mean, and how halving the size keeps only a quarter of the pixels.
Open the Bulk photo resizer Free, in your browser, nothing uploaded.
A phone photo is usually 4032 by 3024 pixels, about 12 million pixels, which is several times what any laptop or phone screen can show. Sending forty of them by email, or uploading them to a shop or a school portal, wastes time and often hits a size limit. This article explains how photo size really works, so you can pick a sensible setting once and resize a whole batch with the Bulk photo resizer. For a single picture that needs cropping to an exact upload size, use the image resizer; convert iPhone HEIC photos first with HEIC to JPG; and to shrink a PDF or a ZIP afterwards, try file compressor.
What it is
A digital photo is a grid of pixels: width × height. A 4032 × 3024 photo has 12,192,768 pixels, written as 12.2 megapixels (MP).
Resizing multiplies both sides by the same scale factor s, so the shape is kept. The new pixel count is the old one times s². That square is the key fact: halve the sides (s = 0.5) and you keep only a quarter of the pixels. File size roughly follows the pixel count, so a halved photo is usually about a quarter of the size.
The three ways to set the size are three ways of choosing s:
- Long edge: s = target ÷ the longer side. A landscape and a portrait photo both get the same longest side, so a mixed batch looks even.
- Percent: s = percent ÷ 100, the same for every photo.
- Exact size: a fixed width and height for every photo. When the photo’s shape differs from the box, something has to give. Fit inside uses the smaller of the two scale factors, so the whole photo shows and one side comes out shorter. Fill and crop uses the larger one, so the box is filled and the overflow is trimmed equally from both edges. Stretch forces both sides and squashes the picture.
Format and quality change the file size again. JPG and WebP throw away detail the eye hardly sees; the quality slider sets how much. PNG keeps every pixel exactly, which is right for screenshots and logos but makes photos large.
How to use it
- Press Choose photos or drop a batch on the box. Photos stay on your device.
- Under Resize by, pick Long edge, Exact size or Percent, and type the number. For an exact size, pick how to fit.
- Leave Do not enlarge small photos ticked so small pictures are not blown up and blurred.
- Choose the Format and move the Quality slider; 80 to 85 suits most photos.
- Type a Name pattern using {n}, {name} and {date}. The first new name shows underneath.
- Press Resize photos, then Download ZIP.
A worked example
A small shop has 40 product photos from a phone, most 4032 × 3024 (landscape) and some 3024 × 4032 (portrait), plus one 1280 × 960 picture from an older camera.
- Long edge 1600. The scale is 1600 ÷ 4032 = 0.397. Landscape photos become 1600 × 1200 and portrait ones 1200 × 1600. Each keeps 1,920,000 of its 12,192,768 pixels: 15.7%. The 1280 × 960 picture is already smaller, so with Do not enlarge ticked it is kept as it is.
- Square 1080 × 1080, Fill and crop. The larger scale factor is 1080 ÷ 3024 = 0.357, so the photo is treated as a 3024 × 3024 square cut from the middle: 504 pixels are trimmed from each side of the 4032-pixel width. With Fit inside instead, the result is 1080 × 810 with nothing trimmed.
- Percent 50. Every 4032 × 3024 photo becomes 2016 × 1512.
- Names. With the pattern
{date}-shop-{n}on 6 December 2026, the 40 files are named 2026-12-06-shop-01.jpg to 2026-12-06-shop-40.jpg. The number is padded to two digits because there are 40 photos, so they sort in order. Two photos that would get the same name become photo.jpg and photo-2.jpg.
Checked with the tools
The sizes above came from the resizer’s own code in Node (scripts/blog-figures/bulk-image-resizer-guide.mjs): targetSize() from src/lib/image/bulk.ts gave 1600 × 1200, 1200 × 1600, the kept 1280 × 960, 1080 × 1080 with a crop starting 504 pixels in, 1080 × 810 and 2016 × 1512; applyPattern() and uniqueNames() from src/lib/image/batch.ts gave the file names. The chart runs targetSize() for long edge settings from 400 to 4000 pixels on the same 12 MP photo.
Where it is used
- Email and messaging. A long edge of 1600 to 2048 pixels looks sharp on screens and keeps a batch well under attachment limits.
- Online shops and listings. Many sites want square pictures of one size; Fill and crop gives every product the same frame.
- School and office portals. Upload limits per file are common; resizing first avoids rejected uploads.
- Websites and blogs. Smaller pictures load faster on phones.
Common mistakes
- Resizing up. Enlarging a small photo adds pixels but no detail; it only looks blurrier. Keep Do not enlarge ticked.
- Using Stretch on photos. Faces and products look squashed. Use Fit inside or Fill and crop.
- Saving photos as PNG. The files can end up bigger than the originals. Use JPG or WebP for photos.
- Fill and crop on group photos. People at the edges can be cut off. Check the results, or use Fit inside.
- Overwriting the originals. Keep the full-size photos; the ZIP is a copy for sending.
Questions people ask
What size is best for printing? Printing needs more pixels than screens: roughly 300 pixels per inch for a sharp print held in the hand, so a 6 by 4 inch print wants about 1800 × 1200. Do not shrink photos you plan to print.
Does resizing remove location data? In this tool, yes: the new files are drawn fresh and camera details are not copied.
Why do two photos at the same size have different file sizes? A busy scene with leaves or gravel has more detail to store than a plain sky, so it compresses less.
Sources
- Standard arithmetic of image scaling (width and height times the same factor; pixel count goes with its square). No outside rates. Typical sizes such as 1600 pixels for email are common starting points, not rules: check the site or shop you upload to.
If you are an author or publisher and want a credit or a passage changed or removed, tell us and we will act quickly.