Design & Media
Favicon Sizes, Web Manifest Icons, and Aspect Ratio Math
Reference required favicon dimensions, Google Search 48px icon rules, PWA maskable icon safe zones, and GCD aspect-ratio formulas for web assets.
Icon & frame geometry
Match raster icon sizes and lock aspect ratios cleanly
Bundle browser tab, iOS touch, and PWA manifest icons while preserving proportions with Euclidean GCD math.
Inputs
square ≥512px source artwork or W:H pairs
Rule
48px Search multiple, iOS padding, and gcd(W, H)
Check
16px legibility, manifest paths, and pixel rounding
Shipping crisp site icons and social media assets requires two local geometry checks: generating exact power-of-two/device PNG sizes in the Favicon Generator alongside a valid HTML <head> + site.webmanifest, and scaling source artwork cleanly via the Aspect Ratio Calculator so exports never stretch or clip. Both tools in the design tools hub process artwork locally inside your browser without uploading source files to Toolk.
Google Search, iOS home screens, and Android PWA launchers each read different icon tags and enforce strict minimum dimensions and padding rules.
Quick reference: standard favicon and manifest sizes
| Asset file | Pixel size | Target surface | Notes from specs |
|---|---|---|---|
favicon-16x16.png | 16 × 16 | Desktop browser tabs (standard DPI) | Verify pixel legibility at actual 16px size |
favicon-32x32.png | 32 × 32 | High-DPI browser tabs & bookmarks | Standard fallback in <link rel="icon"> |
favicon-48x48.png | 48 × 48 | Windows taskbar & Search eligibility | Matches Google Search 48px multiple |
apple-touch-icon.png | 180 × 180 | iOS Safari Home Screen shortcut | Keep artwork clear of ~10% rounded corners |
android-chrome-192x192.png | 192 × 192 | Android launcher & site.webmanifest | Minimum icon size expected by Chrome PWA |
android-chrome-512x512.png | 512 × 512 | Android splash screen & install prompt | Use a ≥512px raster or vector SVG source |
How browsers and Google Search select a favicon
Per the WHATWG HTML Standard (rel="icon"), declaring multiple <link rel="icon"> entries does not download every image—browsers evaluate type, media, and sizes attributes and fall back in document order. Separately, Google Search Central's favicon guidelines require icons to be square (1:1), at least 48 × 48 pixels (or a multiple such as 96 × 96 or 144 × 144), and stably hosted at a crawlable URL rather than a data: URI or blocked path.
For installable web apps, the W3C Web Application Manifest specification uses the "icons" array (typically 192×192 and 512×512) inside manifest.webmanifest. Always keep a non-square banner out of icon exports unless centered inside a square contain plate (10% padding prevents iOS rounded-corner clipping).
GCD aspect-ratio reduction and subpixel rounding
The Aspect Ratio Calculator reduces any integer width-and-height pair (W, H) to lowest integer terms using the Euclidean greatest common divisor (gcd(W, H)), then solves locked proportions:
Reduce 1920 × 1080:
gcd(1920, 1080) = 120
1920 ÷ 120 : 1080 ÷ 120 = 16 : 9
Solve Height at locked 16:9 with Width = 1500 px:
Height = 1500 × (9 ÷ 16) = 843.75 px → round up to 844 px for raster export
Notice that decimal presets like 1.91:1 (Open Graph landscape 1200 × 628) store lowest integer terms 191:100 (47:20 for 2.35:1 cinema), while exact 1200 × 630 social share images resolve cleanly to 40:21 (1.9048:1). When an aspect lock produces a fractional pixel (843.75), rounding up prevents a 1px transparent edge row when compositing banners.
Pre-publish media workflow across tools
Before shipping new visual assets:
- Size Open Graph (
1200 × 630) or video thumbnails (16:9/9:16) in the Aspect Ratio Calculator. - Shrink hero photography dimensions and byte weight using the Image Compressor (read our web image compression, QR, and alt-text guide for Canvas
toBlob()limits). - Generate social
<meta>tags and inspect share-card crops with the Open Graph Tag Generator and Meta Tag & OG Previewer, detailed in the Open Graph and meta tags guide.
Canvas resizing and dimension math execute entirely inside your active browser tab; Toolk does not upload your artwork or pass image contents to page analytics. Explore related utilities in the design tools directory.
Primary references
Keep reading
Related posts
Preparing Web Images, QR Codes, and Alt Text Audits in the Browser
Reduce image byte weight with HTMLCanvasElement, choose resilient QR code error correction, and audit missing alt attributes directly in the browser.
Read postMetric and Imperial Unit Conversions: Exact Factors and Offsets
Reference exact 1959 yard-pound conversion factors, affine Celsius-Fahrenheit-Kelvin formulas, US vs imperial volume units, and rounding rules.
Read postPercentage Change, Percentage Points, and Reverse Percent Math
Compare percent of a number, percentage change, reverse tax extraction, and percentage points with exact formulas, examples, and zero-base limits.
Read post