F
Favicon.pub

What Size Should a Favicon Be?

Choosing the correct favicon size is essential for proper display across browsers, devices and platforms.

This guide explains recommended favicon sizes and when to use each format.

Quick Answer

Short answer:

The recommended favicon sizes are 16×16, 32×32, and 48×48 for browsers, 180×180 for Apple devices, and 192×192 and 512×512 for Android and PWA apps.

Browser Favicon Sizes

Favicons used in desktop and mobile browsers should include multiple sizes to ensure compatibility.

SizeFileUsage
16×16favicon-16x16.pngBrowser tabs
32×32favicon-32x32.pngTaskbars & UI
48×48favicon-48x48.pngDesktop shortcuts
Multi-sizefavicon.icoLegacy browser support

Apple Touch Icon Sizes

Apple devices require larger icons for home screen shortcuts.

SizeFileDevice
152×152apple-touch-icon-152x152.pngiPad
167×167apple-touch-icon-167x167.pngiPad Pro
180×180apple-touch-icon.pngiPhone

Android & PWA Icon Sizes

Progressive Web Apps and Android Chrome require specific icon dimensions.

SizeFileUsage
192×192android-chrome-192x192.pngHome screen icon
512×512android-chrome-512x512.pngApp launcher & splash

These sizes are required to pass PWA installation checks.

SVG Favicon Size

SVG favicons are vector-based and do not require a fixed size.

Recommended:

  • Use a square viewBox (e.g. 0 0 100 100)
  • Keep artwork centered
  • Avoid excessive details

SVG favicons scale perfectly on high-DPI and zoomed displays.

Which Favicon Formats Should I Use?

FormatWhen to Use
PNGMost common, broad compatibility
ICOLegacy Windows & browsers
SVGModern browsers, scalable

Best practice: Use PNG + ICO + SVG together.

Recommended HTML Markup

<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-48x48.png" sizes="48x48">
<link rel="manifest" href="/site.webmanifest">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/android-chrome-512x512.png" sizes="512x512">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">

Common Favicon Mistakes

  • Using only one favicon size
  • Forgetting Apple Touch Icons
  • Missing PWA icons
  • Using low-resolution source images

Generate All Favicon Sizes Automatically

Instead of manually resizing icons, you can generate all required favicon sizes instantly using favicon.pub. Upload a single image and download a complete package containing ICO, PNG, SVG, Apple Touch Icons, Android icons, and a PWA manifest.

Internal Links

Upload Your Image and Generate All Favicon Sizes Now