Favicon Sizes: Which Files and Dimensions Do You Actually Need?

Short answer
What favicon size do you need, and how many files?
The current favicon size list is short: a favicon.ico in the root that holds 16, 32 and 48 pixels, a square PNG larger than 48 pixels for Google Search, a 180 pixel apple-touch-icon.png for iPhone, and 192 and 512 pixel icons in your web app manifest. Add an SVG if your source is a vector.
Search for the right favicon size and you will find checklists with twenty or more files. Most of them date back to device generations that nobody uses anymore. Today, browsers, Google Search and phones read a much shorter list. In this guide, we at Talha Aslan and team walk through what each file does, which official source sets each rule, and the short list your site actually needs.
In practice, six to ten files cover every surface. More files won't break anything, but they add maintenance work. They also make it harder to know which file a device really uses. Instead of building the set by hand, you can use our favicon generator to create the full package from one source image, then switch to its test mode and check your live site right away.
The sections below explain the job of each file first and the official rule behind it second. That way, you know why a size belongs on the list instead of memorizing numbers.
What does each favicon file actually do?
Think of one icon that every surface picks up from a different file. The browser tab wants a small PNG or ICO. The home screen wants a large image with a solid background. Google looks at the tag on your home page. The table below sums up where each file matters.
| File | Size | Job | Who sets the rule |
|---|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | Root fallback for tools that skip tags | Browser convention |
| favicon-32x32.png | 32 × 32 px | Tabs and bookmarks on high density screens | HTML icon link |
| favicon-96x96.png | Square, larger than 48 px | Google search results | Google Search Central |
| favicon.svg | Vector | Any size in supporting browsers, dark mode | web.dev |
| apple-touch-icon.png | 180 × 180 px | iPhone and iPad home screen | Apple Developer |
| 192 px manifest icon | 192 × 192 px | Android home screen | web.dev install criteria |
| 512 px manifest icon | 512 × 512 px | Android splash screen and install | web.dev install criteria |
| Maskable icon | 512 × 512 px with safe zone | Android adaptive icon | web.dev, MDN |
Each row answers a separate need, so each file earns its place. For example, a standalone 16 pixel PNG only helps very old systems, because favicon.ico already contains that size.
Which sizes belong inside favicon.ico?
The ICO format can hold several images in one file. For that reason, the most balanced choice is three entries: 16, 32 and 48 pixels. The browser then picks one based on screen density. Desktop shortcuts usually take the largest entry.
So why keep ICO at all when modern browsers read PNG and SVG? Because some tools and older browsers never read your HTML. They request /favicon.ico from the root directly. If the file is missing, those requests pile up as errors in your server logs. In short, ICO is a fallback, but a cheap and useful one.
Avoid stuffing very large entries into the ICO file. For example, a 256 pixel entry makes the file heavier and changes nothing in the tab. You will have separate PNG files for large surfaces anyway. Also, keep a copy of favicon.ico in the root even if you store the rest of your icons in a subfolder. Tools that ask for the root address won't look anywhere else.
What favicon size does Google Search require?
Google keeps its rules in one official page: the Google Search Central favicon guidelines. According to that page, your favicon must be square, with a 1:1 aspect ratio, and at least 8 × 8 pixels. Google also recommends an icon larger than 48 × 48 pixels so it looks good on various surfaces.
On formats, the page lists BMP, GIF, ICO, PNG, JPEG, PPM and TIFF. However, SVG is not on that list. That is why we recommend adding a PNG or ICO next to any SVG-only setup. For the link tag, Google supports the icon, shortcut icon, apple-touch-icon and apple-touch-icon-precomposed values.
- The tag belongs in the head of your home page.
- Googlebot must be able to crawl the home page, and Googlebot-Image must be able to crawl the icon file.
- Google shows one favicon per hostname; subdirectories share the root icon.
- The favicon URL should stay stable.
Finally, the page states that a favicon may not appear even if you meet every guideline. It also notes that recrawling can take anywhere from several days to several weeks.
When does an SVG favicon help, and how does dark mode work?
SVG is a vector format, so it stays sharp at any size in browsers that support it. Its real advantage, however, is that you can put CSS inside the file. The adaptive favicon walkthrough on web.dev uses a prefers-color-scheme query inside the SVG to switch colors in dark mode.
That same article points out that support for these inline media queries isn't universal. Its approach is progressive enhancement: serve a well supported ICO or PNG to everyone, then offer the SVG through a second tag. Older browsers still find an icon, and newer ones use the better file.
A dark logo can vanish in a dark browser tab. That problem isn't unique to favicons; we covered how to build a dark theme version in our guide on a logo that disappears in dark mode. For favicons, the practical rule is simple. Either choose a color that reads on both themes, or define two colors inside the SVG.
Why should an Apple touch icon be 180 pixels?
When someone adds your site to an iPhone or iPad home screen, the device shows the image from the apple-touch-icon tag, not your regular favicon. Apple's guide to configuring web applications shows several tags with a sizes attribute, and its high density iPhone example uses 180 × 180.
The same guide explains how selection works. The device takes the icon that best fits its size. If there is no exact match, it uses the smallest icon larger than the recommended size. If none is larger, it takes the largest one. As a result, a single 180 pixel file covers current devices, and smaller screens scale it down.
If you add no tag at all, the system searches the root for files that start with the apple-touch-icon prefix. So keeping the file in the root as apple-touch-icon.png adds a safety net. One more tip: transparent areas can turn into an unpredictable background on the home screen. So give your Apple icon a solid background instead.
Why does the web app manifest need 192 and 512 pixel icons?
On Android, the name, colors and icon of a home screen shortcut come from your web app manifest. The web.dev page on install criteria states that the icons list must include a 192 pixel and a 512 pixel icon for Chrome to treat the site as installable.
You don't need a manifest for browser tabs or for Google Search. Still, if visitors might add your site to their home screen, these two files are a must. For each icon in the manifest, you list the source path, size, file type and purpose.
Here is an example scenario. A cafe wants regulars to save its menu to their phone. Its manifest then lists a short name, a theme color, a background color, and the 192 and 512 pixel icons. Without a manifest, the tab icon still works, but the home screen shortcut looks generic.
The MDN reference for manifest icons defines three purpose values. Any is the default. Maskable marks an icon you designed around a safe zone, and monochrome marks a single color icon where the browser keeps only the shape. If you are weighing an app against a progressive web app, our comparison of a mobile app versus a PWA covers the tradeoffs.
What is a maskable icon, and how do you size the safe zone?
Android device makers crop home screen icons into circles, rounded squares and other shapes. A maskable icon is one you design for that crop: the background fills the whole canvas and the key content stays in the middle. The web.dev guide to maskable icons defines the safe zone as a circle with a radius equal to 40 percent of the icon width.
Example calculation: on a 512 pixel icon, the safe zone radius is about 205 pixels. Your logo should therefore stay within that distance from the center. The guide also notes that some platforms may crop the outer 10 percent of the edge.
Android places icons without a maskable purpose on a white background at a smaller size. That is why transparent icons often end up inside white circles. On the other hand, you shouldn't use a maskable icon as an any icon, because the extra padding shrinks your logo in the tab. So you keep two separate files. Circle crops aren't unique to Android, either; we covered the same logic for logos cut off in profile pictures.
Why are old favicon size checklists outdated?
Older templates list separate Apple icons at 57, 72, 114, 144 and 152 pixels, Windows tile images and dozens of PNG files. Most of those sizes targeted specific older device generations. Today, browsers and operating systems pick the best file they have and scale it down themselves.
Apple's selection rule confirms this: if there's no exact match, the device takes the next size up. Likewise, MDN explains that when a page has several icon links, the browser uses their media, type and sizes attributes to pick the most appropriate one. In other words, you don't need a separate file for every screen.
Extra files also carry hidden costs:
- Your head section grows with lines whose purpose nobody remembers.
- When the logo changes, you have to regenerate dozens of files, and a forgotten one keeps the old logo alive somewhere.
- Testing becomes harder, because you can't easily tell which device takes which file.
Put simply, the modern favicon size list is short, and a short list is easier to manage.
Why do site builders ask for different icon sizes?
WordPress, Shopify, Wix and Squarespace each add the icon through their own settings, and each recommends something different. The WordPress documentation asks for a square image of at least 512 pixels. Shopify's help center recommends 32 × 32 pixels and says it may scale larger images down. Wix suggests square sizes in multiples of 48, while Squarespace suggests uploads between 100 and 300 pixels.
These numbers look contradictory, but they make sense. Each platform either builds its own files from your single upload or serves only one surface. So for a platform field, you follow that platform's documentation. For a hand-built site, you use the full list in this guide.
Our companion guide on how to add a favicon on each platform walks through the settings step by step, based on each official help page. One note here: if the platform's files clash with tags you add by hand, the browser picks one by its own rules. Stick to a single source.
Does the file weight of a favicon matter?
Besides pixel dimensions, file weight matters too, because the browser downloads the icon for every new visitor. Google's guidelines set no kilobyte limit. Some platforms do, though. For example, Squarespace's help page says a favicon image can't be larger than 100 KB.
Our advice is simple. Small icons should stay at a few kilobytes, and large PNGs should stay reasonable as well. The test mode in our generator flags small icons above 100 KB and large icons above 500 KB. Keep in mind that those thresholds are our recommendation, not a Google rule.
The most effective way to cut weight is choosing the right format. A detailed photo makes a poor icon anyway, because fine detail vanishes at that favicon size. A flat, simple mark stays light and reads well at small sizes. If you need to switch the format of an existing file, our image converter handles that. Also, most complaints about blurry icons come from resolution, not file weight, as we explained in our guide to blurry logos and images on websites.
What should your favicon head code look like?
The lines below show a sample setup that covers the short list above. We assume you keep the files in the root. If you use a different folder, adjust the paths.
<link rel="icon" href="/favicon.ico" sizes="48x48">This line points to the ICO file in the root.<link rel="icon" type="image/svg+xml" href="/favicon.svg">Add this one only if your source is an SVG.<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">This gives Google a large square PNG.<link rel="apple-touch-icon" href="/apple-touch-icon.png">This covers the iPhone and iPad home screen.<link rel="manifest" href="/site.webmanifest">This links the file that carries Android icons and colors.
These lines should sit in the head of every page, but the home page matters most for Google. Inside the manifest, you list the 192 and 512 pixel icons plus a separate 512 pixel icon with its purpose set to maskable.
Order also matters. MDN's rel reference notes that if several icons are equally appropriate, the browser uses the last one. So avoid defining two different icons at the same size.
How do you design an icon that reads at 16 pixels?
A tab icon is 16 × 16 pixels, which means 256 dots in total. A detailed logo won't fit into that space. Thin lines blur together and text disappears. The problem isn't your file quality; it's the tiny canvas. That's why most brands use a mark or an initial instead of the full logo at small sizes.
Three rules help in practice:
- Reduce the icon to one shape: a letter, a mark or a simple geometric form.
- Thicken thin strokes and reduce inner padding at small sizes.
- Leave strong contrast between the icon and its background.
If you want to measure contrast instead of guessing, our color contrast checker gives you the ratio between two colors. We also covered how a logo should simplify across surfaces in our guide to responsive logo variations. Then you can prepare a family of versions for tabs, app icons and signage.
What size and format should your source image be?
Generating every file from one source is the cleanest approach. If your source is an SVG, it scales down to every size without loss, and you can also ship an SVG favicon. If you only have a bitmap file, use a square PNG of at least 512 × 512 pixels. That also matches the minimum the WordPress documentation sets for a site icon.
Scaling up a small image, however, creates blur. For instance, if you stretch an old 64 pixel icon to 512 pixels, the edges soften, and that shows on an Android home screen right away. In that case, finding the original design file beats any setting.
If your source is a rectangle, place it on a square canvas first. Google rejects non-square icons, and automatic cropping often cuts off part of the logo. Also check that the source carries your exact brand colors. The tab icon, the search result icon and the logo on your site should all come from the same family.
Which favicon size mistakes do we see most often?
When our team audits websites, the same few problems come up again and again. Each fix is simple, but until someone spots the issue, the icon looks wrong on the wrong surface.
- Defining a single 16 pixel file. Large surfaces stretch it, and the result looks blurry.
- Using a rectangular logo as is. Google won't show non-square icons.
- Defining only an SVG. SVG isn't among the formats Google lists.
- Giving the Apple icon a transparent background. The home screen then fills it with an unpredictable color.
- Pushing the logo to the edge of a maskable icon. Android's crop then cuts part of it off.
- Renaming the icon file with every release. Google asks for a stable URL.
- Blocking the image folder in robots.txt. Googlebot-Image then can't fetch the file.
That last one happens more often than you might think. We showed what robots.txt rules block by accident in our guide to common robots.txt mistakes.
How does a favicon test check your sizes?
A visual check isn't enough after you upload files, because the browser cache can keep showing the old icon. The test mode in our tool downloads the home page of the address you enter and then works through these steps:
- First, it reads the icon and manifest tags in the head.
- Next, it probes /favicon.ico and, if there is no tag, /apple-touch-icon.png.
- Then it opens the manifest and lists the icons inside.
- After that, it downloads each file, reads the pixel size from the file bytes, and notes the status code and content type.
- Finally, it checks robots.txt for the home page and the icon paths.
The tool then lists the results as pass, warning or error. You should also know its limits. The tool doesn't run JavaScript, so it can't see icon tags that a script adds. It fetches at most 20 files per test, with a 2 MB cap per file. Also, it can't know which icon Google will pick or when Google will update it; it only measures technical requirements.
How do you update favicon sizes after a logo change?
When your logo changes, replace every icon file at the same time. The key rule is to keep the file names. Google's guidelines ask for a stable favicon URL, so new names with every redesign work against that rule. Overwrite the old files instead.
Then follow this order:
- Regenerate every size from one source, and don't mix old and new files.
- Upload the files under the same names to the same folder.
- Open the page in a private window and check the tab, because a regular window may hold the old icon in cache.
- Request indexing for the home page with the URL Inspection tool in Search Console.
On Google's side, the timing is out of your hands. Recrawling can take from several days to several weeks, and an indexing request doesn't guarantee a faster update. Moreover, an icon change rarely comes alone. Social share images, email signatures and profile pictures should change at the same time. Otherwise, the brand shows two faces for a while.
How do favicons work on subdomains and subfolders?
Multilingual and multi-brand sites often ask whether each section can have its own icon. Google's answer depends on your domain structure. Its guidelines say Google Search supports one favicon per site, and it defines a site by its hostname.
For example, example.com and shop.example.com count as two sites, and each can show its own icon. A subfolder like example.com/en, however, doesn't count as a separate site. It shares the root icon. So even if you set a different icon tag in a subfolder, search results will still show the home page icon.
Browser tabs behave differently. The browser reads the tag in each page's own head, so a subfolder icon can still show up in the tab. Still, we recommend one icon across all language versions to avoid confusing visitors. One icon, one file set and one URL keep maintenance simple and keep Google's side clean.
Your sizes are right, so why is the favicon still missing?
If the sizes are correct but you still see a gray globe in search results, the cause usually lies elsewhere. The home page lacks the tag, the file fails after a redirect, robots.txt blocks access, or Google simply hasn't recrawled the page yet. We walked through that diagnosis step by step in our guide on a favicon not showing in Google search results, so we won't repeat it here.
People also mix up the favicon and the logo. The small icon next to a search result comes from your favicon. The organization logo that appears in knowledge panels and some result types comes from structured data instead. We explained the difference in our guide to Organization schema and your logo in Google.
In short, favicon size is only one piece of the puzzle. The tag, access and timing need to be right as well.
A quick favicon checklist before launch
Before you launch a new site or after you change your logo, run through this list. It boils every rule in this guide down to a five minute check.
- Is there a favicon.ico in the root that holds 16, 32 and 48 pixels?
- Does the home page head define a square PNG larger than 48 pixels?
- Is apple-touch-icon.png 180 pixels with a solid background?
- Does the manifest list 192 and 512 pixel icons, plus a separate maskable icon?
- Are the icon paths open in robots.txt?
- Does the new icon show up in the tab when you open the page in a private window?
Getting each favicon size right is a small item on any launch list. For forms, redirects, speed and tracking, see our pre-launch testing checklist.
When should you hand icon setup to a team?
You can apply this favicon size list yourself; on most sites, it takes a few files and five lines of code. To build the package and check the result on one page, try our free favicon generator. It creates the files in your browser from an image, a letter or an emoji, gives you a ZIP, and then tests your live site in test mode.
That said, an icon problem is often a symptom of something bigger: clashing template tags, a logo that doesn't work at small sizes, or a site that lacks SEO basics from heading structure to schema. As Talha Aslan and team, our web design services cover custom design, speed and Core Web Vitals work, and SEO foundations in one plan. If you want your site built right from the start, see the scope and process on our website design agency page.
Core guide: What Is Digital Marketing? Its types, examples and how it is done, on one page with an interactive film that travels through the brain.


