Guide

Favicon sizes: the complete reference

Browsers, phones and operating systems each request a different icon size, and shipping the wrong set is why favicons come out blurry or vanish. Here is every size that matters, the three link tags that cover a modern site, and how to test the result.

Want the files, not the theory?

The free favicon generator renders every size on this page in your browser: the PNGs, a ready favicon.ico and the HTML snippet. Nothing is uploaded.

Generate my favicon

Every favicon size and where it shows up

Two PNGs cover almost all everyday browsing: 16x16 for standard tabs and 32x32 for high-density screens. The rest exist for specific surfaces, and each one is requested by name:

SizeFileWhere it is used
16x16favicon-16x16.pngStandard browser tab, bookmark bar, history and address-bar suggestions
32x32favicon-32x32.pngTabs on high-density screens, Windows taskbar pins
48x48inside favicon.icoWindows desktop shortcuts and older Explorer views
64x64favicon-64x64.pngHigh-resolution shortcuts and app switchers
150x150mstile-150x150.pngWindows Start menu tiles, declared in browserconfig.xml (legacy, optional)
180x180apple-touch-icon.pngiOS and iPadOS home screen icon
192x192manifest iconAndroid home screen and PWA install icon
512x512manifest iconPWA splash screens and install dialogs

To make the numbers concrete, here is the same mark at true size. The 16 pixel version on the far left is what most visitors see most of the time:

16px
32px
48px
64px
180px

The modern minimal setup

You do not need a dozen link tags. A modern site is fully covered by an SVG icon, an ICO fallback and one apple-touch-icon, plus a manifest if you care about Android and PWA installs. Put the files in the site root and add this to the head of every page:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

The SVG scales perfectly on every browser that supports it, and the ICO quietly serves everything else: crawlers, feed readers and older agents request /favicon.ico directly without reading your HTML. The 180x180 apple-touch-icon covers iOS home screens. If you are weighing vector against raster more broadly, the same tradeoff runs through your whole brand kit; the SVG vs PNG logo guide shows the difference live.

The manifest file referenced above declares the two Android and PWA sizes:

{
  "icons": [
    { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
    { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" }
  ]
}

Common mistakes

Shipping a single 16 pixel ICO. High-density screens then upscale it, which is why so many tabs look fuzzy. Always include 32 alongside 16, and let the ICO carry 48 for Windows shortcuts.

A transparent apple-touch-icon. iOS fills transparent pixels with black, so a mark exported on a transparent background turns into a mark floating on a black square. Export the 180x180 file with a solid background color.

Shrinking the full logo. At 16 pixels, fine detail and thin strokes turn to mush. Favicons work best as one or two bold letters or a single simple shape with strong contrast. If your wordmark does not survive 16 pixels, do not force it; give the favicon its own simplified mark.

Forgetting the cache. Browsers cache favicons aggressively, sometimes for weeks. If an old icon keeps showing after you replace the files, the files are probably fine and the cache is not.

How to test your favicon

Load the site in a normal tab and check the icon at both standard and high-density zoom. Then request /favicon.ico directly in the address bar to confirm the root file exists. On a phone, use Add to Home Screen on iOS and Install on Android Chrome; those two actions exercise the apple-touch-icon and the manifest icons respectively. When an update does not appear, test in a private window first: a fresh session skips the favicon cache and tells you whether the problem is your files or an old copy.

Common questions

What size should a favicon be?

There is no single size. Ship 16x16 and 32x32 PNGs for browser tabs, a favicon.ico containing 16, 32 and 48 for legacy requests, a 180x180 apple-touch-icon.png for iOS home screens, and 192x192 plus 512x512 manifest icons for Android and PWA installs. Together those cover every surface that matters.

Is 16x16 or 32x32 the right favicon size for browser tabs?

Both. Standard-density screens use the 16x16 version and high-density screens use the 32x32 version. Browsers pick whichever fits the display, so declaring both sizes gives every tab a sharp icon.

Do I still need a favicon.ico file?

Yes. Many crawlers, feed readers and older browsers request /favicon.ico from the site root without reading your HTML at all. A small ICO containing 16, 32 and 48 pixel versions costs a few kilobytes and quietly covers all of them.

Why does my favicon look black or ugly on an iPhone home screen?

iOS ignores transparency in apple-touch-icon files and fills the empty areas with black. Export the 180x180 icon with a solid background color; the icon should be a full square with no transparent pixels.

Can I use one SVG file as my favicon for every size?

Almost. Most modern browsers accept an SVG favicon and scale it perfectly, but Safari has lagged on support and crawlers still want /favicon.ico. The safe modern setup is an SVG icon plus an ICO fallback plus a PNG apple-touch-icon, three files in total.

Every size on this page, pre-built.

The LogoRay kit ships your logo as a clean SVG plus favicon, app icon and avatar files in every size above, ready to drop in your site root. Free to design, $39 once for the files.

Make my logo