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.
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
| Format | Best for | Weak point |
|---|---|---|
| JPG | Photos. Works everywhere, including forms, printers and old apps | No transparency, lossy |
| PNG | Logos, icons, screenshots and anything with sharp edges or transparency | Large for photos |
| WebP | Photos and graphics on websites, where small size matters. Supports transparency | Not accepted by some forms, apps and printers |
| AVIF | Very small photos on modern sites | Even less widely accepted |
How to choose
- Uploading to a form or portal? Use JPG unless it says otherwise. It is the format almost every system accepts.
- Putting a photo on your website? WebP is a good choice, with JPG as a fallback for older tools.
- Is it a logo or screenshot? Use PNG, or lossless WebP if you want a smaller file.
- Does it need a see-through background? PNG or WebP. JPG cannot be transparent.
- Not sure? Choose JPG. It is the safest.
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.