---
title: "Discussion on \"WebP vs AVIF vs JPEG: we measured all three on 12 web images\" | Hashnode"
description: "Discussion on \"WebP vs AVIF vs JPEG: we measured all three on 12 web images\". AVIF was a median 20% smaller than WebP, lost on grainy images and took 7.6× longer to encode. Here is which format to serve where."
url: "https://hashnode.com/posts/webp-vs-avif/6ae0ed264d40488c044235f9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [WebP vs AVIF vs JPEG: we measured all three on 12 web images](https://levelui.hashnode.dev/webp-vs-avif?utm_source=hashnode&utm_medium=feed)

AVIF was a median 20% smaller than WebP, lost on grainy images and took 7.6× longer to encode. Here is which format to serve where.

Oct 27 · 10 min read · levelui.hashnode.dev  
Updated Nov 19  
Read the article

-   [#web-performance](https://hashnode.com/tag/web-performance)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#images](https://hashnode.com/tag/images)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Level UI](https://hashnode.com/@levelui)

@levelui · Berlin, Germany

  
[View profile](https://hashnode.com/@levelui)

Web design & development agency

We are Level UI, a web design and development agency with offices in Berlin and Bucharest. We write about web performance, Next.js, image and font loading, APIs, AI integrations and app development, with real figures and sources. The maintained versions of every article are on levelui.com, levelui.de and levelui.ro.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
