JPG vs PNG vs WebP: A Real File Size Test

Last updated: November 23, 2026

Which image format should you use? Most advice is vague. We saved the same photographs in each format and compared the sizes, so you can see the real difference. The short version: for photos, PNG is several times larger than JPG, and WebP is a bit smaller still. But the smallest file is not always the right choice, because some places do not accept WebP at all.

How we tested: we ran the numbers ourselves with Python (Pillow) on several real photographs of different scenes. They are smaller than modern phone photos, so we compare percentages, which carry over, and not exact KB, which will differ for your photo. Figures are averages across the test images, tested on 23 November 2026.

The result

Each bar is the file size as a percentage of the lossless PNG version of the same photo.

PNG (lossless)100%
WebP lossless75.9%
JPG quality 9218.8%
JPG quality 8513.4%
WebP quality 8510.3%

At a comparable setting, WebP at quality 85 was about 18% smaller than JPG at quality 85 across our test photos. A caution: quality numbers are not perfectly comparable between encoders, so treat this as a typical difference, not a law.

What each format is best at

FormatBest forWeak point
JPGPhotos. Works everywhere, including forms, printers and old appsNo transparency, lossy
PNGLogos, icons, screenshots and anything with sharp edges or transparencyLarge for photos
WebPPhotos and graphics on websites, where small size matters. Supports transparencyNot accepted by some forms, apps and printers
AVIFVery small photos on modern sitesEven less widely accepted

How to choose

Why PNG photos are so big

PNG keeps every pixel exactly, which suits flat colours and sharp lines but wastes space on the gentle gradients of a photograph. In our test a quality-85 JPG was only about 13% of the PNG. That is why a PNG that a form rejects as too large often fits easily after conversion to JPG with the PNG to JPG converter.

Convert between formats

You can switch formats in your browser, privately: WebP to JPG, WebP to PNG, JPG to WebP, PNG to WebP, JPG to PNG and AVIF to JPG. For the basics of each format see JPG vs PNG vs WebP.

Frequently asked questions

Is WebP smaller than JPG?

Usually. In our test, WebP at quality 85 was about 18% smaller than JPG at quality 85.

Why is my PNG so large?

PNG is lossless and not designed for photographs, so a photo saved as PNG is often several times larger than the same photo as JPG.

Which format do forms accept?

JPG or JPEG is accepted almost everywhere. Always check your form, because some accept only a few types.

Can WebP be transparent?

Yes. WebP and PNG support transparency, but JPG does not.

Related tools and guides