photopare

Start

PHOTO FILE SIZES, EXPLAINED

Pare the pixels,
keep the picture.

A photo file is mostly pixels, and how they are packed.

Printed photographs spread across a wooden table beside an open laptop, with a calm empty stretch of table to one side
AI-generated image, not a photograph of a real person or place.

Three things decide how big a picture file is: how many pixels it has, how hard it is compressed, and which format does the compressing. Get those right and a photo can shrink a long way before anyone notices.

SIZE IT RIGHTthen choose the format

Compare formats

Keep in mind

  • Keep the original
  • Resize for where it goes
  • Lossy for photos
  • Smaller files, same picture

THE SHORT ANSWER

Pixels first,
then the squeeze.

File size follows the pixel count.
Compression and format decide the rest.

PIXELS

Fewer pixels, smaller file

The more pixels a picture has, the larger the file. Doubling the width and height quadruples the pixels, so resizing is the biggest saving.

How to resize

COMPRESSION

Lossy suits photographs

JPEG is the most widely used lossy format and works well for photos. On sharp diagrams or charts, lossy compression can give unsatisfactory results.

See the numbers

FORMATS

Newer formats squeeze more

WebP and AVIF generally compress better than older formats. MDN puts lossy AVIF at around 50% smaller than JPEG for a similar look.

Compare formats

A QUICK FORMAT CHECK

How heavy is
each format?

Pick a format to see how many bits the median web image in it uses for each pixel. An uncompressed colour image needs 24. The bar shows how heavy the format is in practice.

Format check

Choose a format
WebP1.3 bits per pixel

The lightest of the common formats on the web in 2024. It has lossy and lossless modes and supports transparency.

AVIF1.4 bits per pixel

A newer format with strong lossy compression. Its usage grew almost four-fold on the web between 2022 and 2024.

JPEG2.0 bits per pixel

The classic lossy format for photographs, supported everywhere. It has no transparency.

PNG3.8 bits per pixel

Always lossless, so it keeps every detail, at the cost of much larger files. Good for sharp graphics and transparency.

GIF6.7 bits per pixel

The oldest and least efficient of the group, limited to 256 colours. Still, non-animated GIFs are lighter, at a median of 3.5 bits.

Sources: HTTP Archive Web Almanac 2024, Media chapter; web.dev, Choose the right image format; MDN image file type guide.

Median bits per pixel for images on mobile pages, from the HTTP Archive Web Almanac 2024. Real files vary with content and settings.

TWO NUMBERS WORTH KNOWING

Compression does
most of the work.

One figure on what JPEG saves,
one on how the formats compare today.

10–20× smaller

Typical reduction in file size

The Library of Congress says typical JPEG settings give 10:1 to 20:1 reductions. For comparison, the Web Almanac's rule of thumb for lossless compression is about 2:1.

JPEG · LIBRARY OF CONGRESS

1.3 bits

Median bits per pixel, WebP images

Against 24 bits per pixel uncompressed, the median WebP used 1.3 bits, AVIF 1.4, JPEG 2.0, PNG 3.8 and GIF 6.7, on mobile pages crawled in 2024.

THE WEB IN 2024 · WEB ALMANAC

JPEG is still the most common image format on the web, but its share fell from 40% of images in 2022 to 32% in 2024, while WebP, SVG and AVIF grew (Web Almanac 2024).

FOUR STEPS TO A SMALLER PHOTO

Shrink a copy,
never the original.

Most photo apps can do all of this. The order matters: keep the original safe, cut the pixels you do not need, then choose the format.

A neat stack of printed photographs next to a small external hard drive and its cable on a desk
AI-generated image, not a photograph of a real person or place.

Step 1

Keep the original

Work on a copy. The Library of Congress prefers uncompressed files as image masters, because lossy compression throws detail away.

Step 2

Resize for where it is going

Pixels drive file size. A picture for a message or web page rarely needs the full camera resolution.

Step 3

Pick the format for the content

Photos: JPEG, lossy WebP or AVIF. Fine detail you must keep, or transparency: PNG or lossless WebP.

Step 4

Do not enlarge small pictures

Scaling a pixel image up does not add detail: web.dev notes it looks jagged and blurry instead.

LOSSY OR LOSSLESS

Two ways
to pack pixels.

A hand holding a phone that shows a landscape photograph, with a laptop out of focus behind it
AI-generated image, not a photograph of a real person or place.

Lossless compression, as in PNG, gives back exactly the image that went in. Lossy compression, as in JPEG, discards some detail to make the file far smaller, and quality depends on the encoder and how hard it squeezes.

That is why photographs usually travel as JPEG or a newer lossy format, while logos, charts and images with transparent backgrounds are often kept as PNG.

Questions

Questions on the way

Why is a photo file so big?

A colour image without compression needs 24 bits for every pixel, and modern photos have millions of pixels. Compression and resizing are what bring that down.

Does saving as JPEG lose quality?

JPEG's usual modes are lossy: they discard some detail. The Library of Congress notes quality depends on the encoder and how much compression is applied. PNG is lossless, so the decoded image matches the original.

Should I use PNG or JPEG for a photo?

For photos, web.dev suggests JPEG, lossy WebP or AVIF. PNG keeps the highest quality but produces significantly larger files, so it suits graphics and fine detail better.

What are WebP and AVIF?

Newer image formats that generally compress better than JPEG and PNG and work in all modern browsers. They support transparency and animation too.

Which image formats are most common on the web?

In the 2024 Web Almanac, JPEG made up 32.4% of images, PNG 28.4%, GIF 16.8% and WebP 12%. JPEG's share fell from 40% in 2022.

Destination

ABOUT THIS NAME

Interested in leasing photopare.com?

photopare.com is part of the DoodleSale portfolio. It isn't in an auction right now, but you can ask about leasing it.

Ask about this name