Measured by VIPremier

JPG vs PNG vs WebP File Size Test: 20 Images

Which image format made smaller files? Compare JPG, PNG and WebP results from 20 JPG originals, with per-image sizes, settings, limits and CSV data.

Test date September 30, 2026 · 20 distinct source images · Chromium 153.0.8010.53 · Test ID 20260929-155036605-1d7e21

Which format produced the smallest files in this test?

WebP had the lowest mean output size at 610,161 B across these 20 JPG originals. WebP was smaller than JPG for 20 files. This does not establish a universal winner for every image.

Output file sizes by format

These statistics use output bytes from the same 20 source images.

FormatMeanMedianMinimumMaximum
JPG1,021,535 B1,110,823 B109,287 B1,997,039 B
PNG14,963,790 B16,640,362 B1,459,750 B28,115,151 B
WebP610,161 B481,562 B65,932 B1,894,810 B

Measured files

JPG and WebP used quality 80. PNG used the browser’s PNG encoder, which ignores the quality setting. Transparent pixels were filled white for JPG. The conditions therefore do not represent equal visual quality across formats.

Source fileOriginalJPGPNGWebP
Animal photo.jpg103,728 B109,287 B-5.4%1,459,750 B-1307.3%65,932 B36.4%
Architecture (14643757805).jpg955,737 B409,195 B57.2%5,327,939 B-457.5%248,326 B74.0%
Architecture building .jpg7,454,329 B1,483,220 B80.1%22,225,878 B-198.2%791,876 B89.4%
Beach image.jpg139,982 B151,323 B-8.1%1,473,785 B-952.8%120,670 B13.8%
Cambridge Public Library - Cambridge, MA - 3.jpg4,563,990 B1,519,653 B66.7%23,612,483 B-417.4%749,564 B83.6%
City silhouette at night.jpg4,568,273 B1,893,815 B58.5%28,115,151 B-515.4%1,289,438 B71.8%
Close-up portrait of an old woman.jpg1,607,542 B761,968 B52.6%10,871,796 B-576.3%433,354 B73.0%
Fruit Salad 1.jpg558,525 B173,688 B68.9%3,974,122 B-611.5%66,792 B88.0%
Fruit Salad with ice cream.jpg344,549 B345,026 B-0.1%5,169,183 B-1400.3%158,506 B54.0%
Image of a forest.jpg3,384,891 B1,437,356 B57.5%19,727,708 B-482.8%815,374 B75.9%
Kolkata City at night (8).jpg3,186,309 B1,156,025 B63.7%17,168,426 B-438.8%529,770 B83.4%
Long exposure of urban cityscape at night.jpg996,324 B472,971 B52.5%4,548,647 B-356.5%379,546 B61.9%
Macro Flower Shot.jpg6,287,688 B1,445,867 B77.0%24,342,693 B-287.1%706,034 B88.8%
On the beach0.jpg3,542,360 B1,497,275 B57.7%21,366,016 B-503.2%895,078 B74.7%
Perennial Landscape.jpg1,888,427 B1,997,039 B-5.8%20,654,019 B-993.7%1,894,810 B-0.3%
Photo of building.jpg991,887 B1,169,500 B-17.9%14,386,533 B-1350.4%742,966 B25.1%
Portrait of an African woman.jpg5,022,586 B1,899,124 B62.2%24,293,014 B-383.7%1,242,730 B75.3%
Portrait of woman.jpg3,996,062 B656,432 B83.6%11,759,947 B-194.3%325,570 B91.9%
Random landscape photo I took.jpg2,383,594 B786,310 B67.0%16,112,298 B-576.0%359,154 B84.9%
Sky clouds.JPG2,966,465 B1,065,620 B64.1%22,686,402 B-664.8%387,738 B86.9%

Why can PNG be larger?

PNG is lossless, and the browser’s PNG encoder did not apply the quality 80 value used for JPG and WebP. Transparency needs and destination compatibility can matter more than the smallest byte count.

Conditions and limitations

All source files in these tests were JPG, and pixel dimensions stayed unchanged. Results for PNG or WebP source files, other browsers or visual quality cannot be inferred from these measurements. Read the full method and limitations.

Image sources and licenses

We used 20 original Wikimedia Commons files. Each was listed as CC0 or Public Domain in the verified source manifest.

Original fileCategoryLicenseSource
Animal photo.jpgNatureCC0Commons file page
Architecture (14643757805).jpgArchitectureCC0Commons file page
Architecture building .jpgArchitectureCC0Commons file page
Beach image.jpgLandscapesCC0Commons file page
Cambridge Public Library - Cambridge, MA - 3.jpgArchitecturePublic domainCommons file page
City silhouette at night.jpgNight scenesCC0Commons file page
Close-up portrait of an old woman.jpgPeopleCC0Commons file page
Fruit Salad 1.jpgFoodCC0Commons file page
Fruit Salad with ice cream.jpgFoodCC0Commons file page
Image of a forest.jpgNatureCC0Commons file page
Kolkata City at night (8).jpgNight scenesCC0Commons file page
Long exposure of urban cityscape at night.jpgNight scenesCC0Commons file page
Macro Flower Shot.jpgNatureCC0Commons file page
On the beach0.jpgLandscapesCC0Commons file page
Perennial Landscape.jpgLandscapesPublic domainCommons file page
Photo of building.jpgArchitectureCC0Commons file page
Portrait of an African woman.jpgPeopleCC0Commons file page
Portrait of woman.jpgPeopleCC0Commons file page
Random landscape photo I took.jpgLandscapesCC0Commons file page
Sky clouds.JPGNatureCC0Commons file page