AVIF vs. WebP vs. JPEG: Results from Five Photos (2026)
A reported comparison of AVIF, WebP, and JPEG on five photos using a stated SSIM target. Review the sample-specific results, methodology, and limitations before applying them to your own images.
Table of Contents
Quick answer
In the reported five-photo test, AVIF totaled 602K, compared with 823K for JPEG and 846K for WebP, at the stated SSIM 0.98 target. Those results apply to this sample and setup, not every image or encoder. SSIM is a similarity metric, not proof of identical perceived quality. Check the AVIF converter page for current tool details.
Results first: reported file sizes
The table below reproduces the file sizes reported for five images. The article says the encodes were selected to meet an SSIM target of 0.98 against a PNG reference. These figures are specific to the images, encoders, and settings used; they should not be treated as typical results for all photos or encoding workflows.
| Image | Dimensions | JPEG (MozJPEG) | WebP | AVIF |
|---|---|---|---|---|
| Photo (landscape) | 1448x905 | 211K | 220K | 148K |
| Sunset | 600x600 | 50K | 49K | 37K |
| Wide 16:9 | 1672x941 | 243K | 235K | 154K |
| Film / RAW look | 1448x905 | 276K | 294K | 236K |
| Warm portrait | 800x800 | 43K | 48K | 27K |
| TOTAL | 5 images | 823K | 846K | 602K |
In these five entries, AVIF has the smallest reported file size for each image. The result reflects this set and the stated target; it does not show that AVIF will always produce the smallest file.
To test a converter with your own files, first check its current supported formats, export options, and file-handling details. The omnikitbolt AVIF converter page has the current tool information.
Why the same quality number is not a fair comparison
Quality settings are defined by individual codecs and encoders. A setting of 80 for JPEG does not necessarily produce the same visual result as 80 for WebP or AVIF.
The meaning of a quality number can also vary between encoder implementations. Comparing different formats at the same number may therefore compare files with different levels of distortion rather than equivalent output quality.
One way to make a more informative file-size comparison is to choose a shared quality metric and compare encodes that meet the same target. This test reports using an SSIM target of 0.98, then comparing file sizes. SSIM is only one measure of image similarity; it does not guarantee that images will look identical to viewers.
For practical decisions, use several images that resemble your own assets and inspect the encoded results as well as their file sizes. A five-photo test at one target cannot establish which format is best for every image or delivery workflow.
Methodology and limitations
Source images
The reported test uses five photographs described as a landscape, a saturated sunset, a wide 16:9 frame, a grainy film-look image, and a warm portrait. This is a small, selected set and may not represent other subjects, image sizes, cameras, or workflows.
The report says each image was decoded to a PNG and used as the common reference for the encodes. This gives the comparison a shared set of input pixels, but converting an already compressed photo to PNG does not restore detail lost in earlier compression.
Encoders
- JPEG: reported as MozJPEG through sharp (libvips). Encoder versions and all settings are not specified here.
- WebP: reported as the sharp/libvips WebP encoder in lossy mode. Results can depend on the encoder version and settings.
- AVIF: reported as the sharp AVIF encoder using libavif and libaom, with speed set to 6. Results can depend on the encoder version and settings.
Quality matching procedure
The reported procedure used a binary search over each encoder's quality setting to find an output with SSIM at or above 0.98 against the PNG reference. It says SSIM was calculated with FFmpeg's libavfilter SSIM filter. Quality settings differ by encoder, and a shared SSIM result does not prove that the images have identical perceived quality.
SSIM is a useful comparison metric, but it is not a complete substitute for visual review. The article does not provide all source images, exact encoder versions, commands, and settings needed to reproduce every output. Treat the numbers as results from a limited reported test, not an independently verified or universal benchmark.
Per-image breakdown
Landscape (1448x905): JPEG 211K, WebP 220K, AVIF 148K
In this entry, the reported AVIF file is about 30% smaller than JPEG and 33% smaller than WebP. WebP is slightly larger than JPEG here. These percentages describe this image and its reported encode settings, not the expected result for every landscape photo.
Sunset (600x600): JPEG 50K, WebP 49K, AVIF 37K
For this image, WebP is 1K smaller than JPEG, while AVIF is about 26% smaller than JPEG. Small differences can depend on the image content, encoder, and settings; this one result does not establish a general advantage for any format.
Wide 16:9 (1672x941): JPEG 243K, WebP 235K, AVIF 154K
In the reported output, WebP is about 3% smaller than JPEG and AVIF is about 37% smaller than JPEG. These are file-size comparisons for this entry under the stated test conditions, not a prediction for other wide images.
Film / RAW look (1448x905): JPEG 276K, WebP 294K, AVIF 236K
This image is described in the test as grainy and high contrast. Its reported AVIF file is about 14% smaller than JPEG, while WebP is about 6.5% larger than JPEG. Grain and fine image detail can affect compression results; this sample alone does not show how other grainy photos will compare.
Warm portrait (800x800): JPEG 43K, WebP 48K, AVIF 27K
For this portrait, the reported AVIF file is about 37% smaller than JPEG and 44% smaller than WebP. WebP is about 12% larger than JPEG in this entry. These comparisons reflect the reported files and do not establish a general result for portraits.
Three findings from this five-image set
Finding 1
AVIF totaled about 27% less than JPEG in this set.
The five reported AVIF files totaled 602K, compared with 823K for JPEG. This is a result for the selected images and stated SSIM target, not a general estimate for other photo collections.
Finding 2
AVIF totaled about 29% less than WebP in this set.
The five reported AVIF files totaled 602K, compared with 846K for WebP. The result may differ with other images, encoders, settings, and quality targets.
Finding 3: WebP and JPEG varied by image
WebP totaled about 3% more than JPEG in this set.
WebP totaled 846K and JPEG 823K across the five entries, but WebP was smaller than JPEG for two individual images. This small test does not establish that either format will generally produce smaller files than the other.
When WebP may still make sense
This five-image comparison does not show that WebP is always a better or worse choice than AVIF. A format can suit a workflow because of compatibility, encoder speed, available features, or existing infrastructure. Check the trade-offs for your actual use case.
Compare the quality you need
File-size differences depend on the source image, encoder, settings, and chosen quality target. A result measured at SSIM 0.98 does not predict how the formats compare at other targets. Test the image types and output sizes you expect to publish, and review them visually.
Measure encoding speed in your workflow
Encoding speed depends on the encoder, settings, image dimensions, and hardware. If you generate images on demand or process a large collection, measure processing time as well as file size and quality. A result from one setup may not predict performance in another.
Consider lossless and animated formats separately
This comparison covers lossy still images only. It does not test lossless encoding or animation, so it cannot establish which format is preferable for those uses. Check the features supported by your encoder, browser, and delivery tools before choosing a format.
Browser support in 2026
AVIF and WebP support depends on the browser and version. The version numbers below are a starting reference, not an exhaustive compatibility audit; check current browser information for the devices and browsers your audience uses.
| Browser | AVIF support since (check current data) | WebP support since (check current data) |
|---|---|---|
| Chrome | 85 (Aug 2020) | 32 (Jan 2014) |
| Firefox | 93 (Sep 2021) | 65 (Jan 2019) |
| Edge | 121 (Jan 2024) | 18 (2018) |
| Safari | 16.4 (Mar 2023) | 14 (Sep 2020) |
| Samsung Internet | 14 (Apr 2021) | 4 (2016) |
Browser support figures can change and do not cover every device, operating system, or embedded browser. If some visitors may not support AVIF, serve a tested fallback and check the current compatibility data for your audience.
For more detail on the browser support landscape, see our dedicated article: Can I use WebP and AVIF? Browser support in 2026.
The right implementation pattern
The HTML picture element can list an AVIF source and other sources before a fallback img. The browser can choose a supported source from the markup. Check that the listed files exist, that the fallback works, and that the page behaves as expected in the browsers you support.
<picture> <source srcset="photo.avif" type="image/avif" /> <source srcset="photo.webp" type="image/webp" /> <img src="photo.jpg" alt="Description" /> </picture>
Frameworks and image services differ in how they generate or deliver modern image formats. Configuration syntax and behavior depend on the framework and version; check its documentation and verify the formats actually returned to browsers rather than assuming a particular setting is universal.
Practical takeaways and tools
The five-image test gives one set of results, not a general recommendation. When choosing formats, compare representative images, inspect the output, and consider compatibility and processing needs.
- For new web projects: test AVIF alongside an appropriate fallback, such as WebP or JPEG, if your delivery setup supports it. Measure your own images; file-size changes do not by themselves guarantee faster pages or better performance metrics.
- For on-the-fly encoding: compare processing time and resource use for your encoder, settings, and workload. WebP may suit a workflow where its current compatibility and encoding performance meet your requirements.
- For grainy or film-look images: AVIF was about 14% smaller than JPEG for the one grainy image in this set. Test your own images before applying that result to other photos.
- For existing JPEG workflows: compare actual files before changing formats. Results vary by image and encoder; check visual quality, compatibility, processing time, and the behavior of your delivery setup.
AVIF conversion tool
Check current conversion options, requirements, and file-handling details.
If you have received an AVIF file and need to open or convert it, check the current options on the AVIF to JPG converter page, including supported formats and file-handling details.
For a broader look at format selection, see our guide on choosing an image format for the web.
Related guides and tools
FAQ
Is AVIF smaller than WebP?
In this reported five-image test, the AVIF files totaled 602K and the WebP files totaled 846K, about 29% less for AVIF in this set. The result depends on the sample images, encoders, settings, and stated SSIM target; it does not show that AVIF will always be smaller than WebP. SSIM is one image-quality metric, not a guarantee of identical perceived quality.
Why not compare JPEG, WebP, and AVIF at the same quality number?
Quality controls are specific to each codec and encoder, so the same number does not necessarily produce the same image quality. Targeting a shared metric such as SSIM can help compare file sizes, but no single metric fully captures perceived quality. Use representative images and inspect the results as well.
Does AVIF lose quality compared to JPEG?
AVIF is a lossy format in this comparison. The reported encodes were selected to meet an SSIM 0.98 target against a PNG reference, but that does not mean no information was lost or that every viewer will perceive the results as identical. SSIM is one measure of similarity; inspect the exported images at their intended size.
Which browsers support AVIF in 2026?
AVIF support depends on the browser and version, and compatibility information can change. Check current browser support data for the devices and browsers your audience uses. If you need a fallback, an HTML picture element can offer AVIF and other available formats, such as WebP or JPEG; test that the fallback files are served correctly.
How can I convert images to AVIF for free?
Check the omnikitbolt AVIF converter page for its current supported formats, usage limits, account or payment requirements, export options, and file-handling details. Do not assume a tool is free or processes files only in your browser without confirming its current information.
Is my image uploaded when I use omnikitbolt to convert to AVIF?
Check the converter's current file-handling information before selecting an image. If you want to investigate further, you can test with a non-sensitive file and review browser network activity, but one test is not a complete security audit and does not establish server-side retention. Avoid selecting sensitive images unless you are satisfied with the tool's current disclosures and behavior.
When does WebP still make sense over AVIF?
WebP may suit an existing workflow or a use case where its compatibility, available features, or encoding performance fits your needs. Trade-offs depend on the encoder, settings, images, and delivery setup. This five-image test covers lossy still images only; compare formats using your own images and check file size, quality, compatibility, and processing time.