Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no single required pixel size for a website logo. Choose dimensions from the logo’s rendered box, aspect ratio, available header space and responsive breakpoints. As practical starting points, Shopify lists 400 × 100 pixels for a rectangular desktop logo and 100 × 100 pixels for a square logo, with smaller mobile examples of 160 × 40 and 60 × 60 pixels. These are design recommendations, not web standards; your theme or CMS may require different limits.

Quick size guide for website logos

Start with the space in which the logo will actually appear. A wide wordmark needs a different canvas from a compact symbol, and a desktop navigation bar may provide much more width than a mobile header.

Placement or shape Example dimensions How to interpret the example
Rectangular desktop header logo 400 × 100 px Shopify’s 2026 website-image guide example; adjust to your responsive layout.
Square desktop logo 100 × 100 px Useful for an icon-style mark or compact brand lockup.
Rectangular mobile logo 160 × 40 px A smaller suggested box for narrow headers, not a mandatory export.
Square mobile logo 60 × 60 px Suitable when the mobile header reserves a compact square area.
Horizontal logo alternatives 250 × 150, 350 × 75, or 400 × 100 px Shopify’s 2025 guide shows several practical exports for horizontal designs.
Vertical logo alternative 160 × 160 px A practical example for a taller or stacked design.

The differing examples demonstrate why “the correct logo size” is a placement question. Measure the CSS box, preserve the artwork’s aspect ratio and test the result at every breakpoint before settling on an export.

How to choose dimensions for your header

1. Measure the rendered box

Inspect the header in your browser’s developer tools and note the maximum width and height available to the logo element. Include padding, navigation controls, account buttons and any reserved space for a menu icon. The source file should fit that box without forcing the header to grow or pushing other controls onto a second line.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

2. Match the logo’s natural shape

Do not place a wide wordmark inside a square canvas merely because square images are convenient. Empty canvas can make the visible mark appear too small and can create unexpected alignment. Conversely, cropping a square emblem into a horizontal box can remove important breathing room. Export a rectangular, square or stacked variant that reflects the actual artwork.

3. Plan desktop and mobile variants

Responsive headers often change both available width and logo treatment. A full wordmark may work on desktop while a symbol-only mark is clearer on a phone. You can use separate assets, CSS sizing rules or a picture-style source switch, provided the brand remains recognizable and the alternate files have predictable intrinsic proportions.

4. Keep the visible mark legible

Pixel dimensions describe the file, not the visual quality. Thin strokes, small type and low-contrast details can disappear when the logo is displayed at a small size. Check the actual rendered header, not just the image file at 100% zoom. If the mark is unreadable, redesign or simplify the small variant rather than relying on a larger canvas that CSS immediately shrinks.

Header and footer logo exports

Headers and footers can use the same brand asset, but they do not necessarily provide the same display box. A footer may allow a taller stacked logo; a sticky header may need a short horizontal lockup. Create variants around those placements instead of stretching one file.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Header: prioritize the navigation’s height and the space available beside menus and actions.
  • Footer: use the available column width and consider whether a vertical lockup improves balance.
  • Dark and light surfaces: provide a color treatment that retains contrast on each background.
  • Retina and high-density screens: preview the exported file at its real CSS size on a high-density display; if edges look soft, supply a higher-resolution source while keeping the same aspect ratio.
  • Transparent padding: trim accidental empty borders so alignment is controlled by the CSS box rather than invisible pixels.

Shopify’s published dimensions are useful starting points, but they are not technical requirements. A theme, page builder or CMS may impose its own upload limit, automatic crop or maximum display size. Check those rules before exporting a final set.

Which file format should a website logo use?

No single format is correct for every website. Select the format that your CMS accepts and that preserves the logo’s edges, transparency and color at the intended size.

SVG for scalable artwork

When your logo is built from vector paths, SVG can remain sharp at different display sizes and is convenient for responsive layouts. Verify that your CMS permits SVG uploads and applies appropriate security controls. Remove unnecessary editor metadata and test the file in the browsers and content-security policy used by your site.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

PNG for transparency and raster artwork

PNG is a practical choice when the logo needs a transparent background or contains raster effects that you are not delivering as vectors. Export only as large as the design requires, then inspect the result on both light and dark backgrounds.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

JPEG for photographic or opaque artwork

JPEG is designed for photographic compression and does not preserve transparency. It can work for an opaque, image-based mark, but compression artifacts around high-contrast lettering may be visible. Do not choose it merely because a platform lists JPEG among accepted formats.

WebP and platform-specific formats

WebP can reduce transfer size in environments that support it, but confirm that your CMS, email templates, documentation tools and older clients handle it. Format support for a header logo is separate from Google Search favicon rules and from web app manifest rules; one platform’s accepted list does not establish a universal requirement.

Header logos are not favicons

A favicon is a separate asset used by browsers and services such as Google Search. Do not resize your header logo blindly and assume it satisfies favicon guidance.

Google Search favicon requirements

For eligibility in Google Search’s organic results, Google Search Central states: “Your favicon must be a square (1:1 aspect ratio) that’s at least 8x8px.” Google recommends a favicon larger than 48 × 48 pixels. Supported formats listed by Google include BMP, GIF, ICO, PNG, JPEG, PPM and TIFF.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The favicon should represent the site, use a stable URL and be crawlable by Googlebot along with the home page. These conditions concern Search result presentation, not the dimensions of a logo displayed in your site header.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Typical favicon markup

<link rel="icon" href="/favicon.png" type="image/png">

Use the path and MIME type that match the file you actually publish. Keep the URL stable when possible so browsers and crawlers do not lose the association.

Web app manifest icon sizes

Progressive web apps have another icon system. MDN recommends declaring each actual raster size in the manifest. A scalable SVG icon may use "sizes": "any"; raster entries should state the dimensions that the file contains, and type can identify the MIME type such as image/png.

{
  "icons": [
    {
      "src": "/icons/app-192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/icons/app-512.png",
      "sizes": "512x512",
      "type": "image/png"
    },
    {
      "src": "/icons/app.svg",
      "sizes": "any",
      "type": "image/svg+xml"
    }
  ]
}

Browsers and operating systems can choose among manifest icons differently. Provide the sizes your installation targets actually need instead of assuming that a header logo or favicon will be reused correctly.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Accessibility and image metadata

Use descriptive alternative text when a logo image conveys information or functions as a link. For a linked logo, text such as “Acme home” explains the destination better than a filename. If the logo is purely decorative beside an already-visible site name, an empty alt value can prevent redundant announcements; follow your accessibility policy and test with a screen reader.

Google’s image guidance recommends descriptive alt text and cautions against using a generic site logo as the primary image in image metadata. A site logo can identify your organization, but it is usually not the main subject of an article or product image.

Implementation example for a responsive logo

Give the image an intrinsic aspect ratio, constrain its rendered dimensions and avoid layout shifts caused by an unknown height.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
<a class="site-brand" href="/" aria-label="Acme home">
  <img
    src="/brand/acme-horizontal.svg"
    width="400"
    height="100"
    alt=""
    decoding="async"
  >
</a>
.site-brand {
  display: inline-flex;
  align-items: center;
  max-width: min(400px, 42vw);
}

.site-brand img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .site-brand {
    max-width: 160px;
  }
}

The width and height attributes describe the source ratio and help the browser reserve space. The CSS controls the actual responsive box. If your mobile design uses a square symbol rather than a scaled wordmark, switch to that asset instead of squeezing the horizontal file.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check the logo at real breakpoints

DIY browser check

  1. Open the published page in a current desktop browser.
  2. Use developer tools to test the desktop header, tablet width and narrow mobile width.
  3. Check that the logo does not overlap navigation, shift the header height or become unreadable.
  4. Test light and dark surfaces, keyboard focus on the linked logo and a screen reader announcement.
  5. Inspect the network panel to confirm the intended file and MIME type are served, then test the favicon and manifest separately.

Or skip the browser setup

ScreenshotNeo can capture the published page at controlled viewport sizes so you can review header behavior without maintaining a browser automation script. Its clean-shot process accepts the cookie or consent banner like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets before capture; each step can be turned off. Bot checks, CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and the response identifies the result with X-Page-Verdict and X-Billed headers. An MCP server provides take_screenshot, get_page_info and capture_pdf tools for Claude, Cursor and other MCP clients.

See the ScreenshotNeo API documentation for all options. A basic capture is:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
import requests

r = requests.get(
    "https://api.screenshotneo.com/v1/shot",
    params={"access_key": "YOUR_API_KEY", "url": "https://example.com"},
    timeout=90,
)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)
const q = new URLSearchParams({
  access_key: 'YOUR_API_KEY',
  url: 'https://example.com'
});
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const image = Buffer.from(await res.arrayBuffer());
require('node:fs').writeFileSync('shot.webp', image);

You can set a viewport or device preset, wait for a selector or network idle, hide selectors, apply custom CSS, load lazy images, block requests and choose PNG, JPEG or WebP. Caching uses a TTL you choose, and asynchronous jobs support signed webhooks when you need repeatable review captures.

There are 1,000 free screenshots per month with no card. Paid plans start at $5 for 3,000 screenshots; every feature is available on every plan. Create a free ScreenshotNeo account to test your logo at the breakpoints that matter.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting logo-size problems

The logo looks blurry

Confirm that the source is not being enlarged from a small raster file, inspect its intrinsic dimensions and test a vector or higher-resolution export. Also check whether a CMS generated a compressed thumbnail instead of serving the intended asset.

The logo is cropped

Look for a fixed-height container, object-fit: cover, an automatic CMS crop or transparent padding that changes the perceived bounds. Use height: auto for proportional scaling and disable cropping for the logo field.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The header becomes too tall

Measure the image’s rendered height, including transparent pixels, and inspect inherited margins or line-height. Constrain the logo box at the breakpoint where the problem occurs, or use a compact variant.

The favicon does not appear in Google Search

Check that it is square, larger than Google’s 48-pixel recommendation where practical, uses a supported format, remains at a stable crawlable URL and can be fetched along with the home page. Search appearance is controlled by Google and is separate from the header image.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The manifest icon is ignored

Verify that each raster file’s declared sizes value matches its actual dimensions, that the MIME type is correct and that the manifest is reachable. For SVG, use sizes: "any" only when the asset is genuinely scalable.

Final checklist

  • Measure the real header and footer boxes before choosing pixels.
  • Preserve the logo’s aspect ratio and prepare a mobile treatment when needed.
  • Confirm the CMS’s accepted formats, upload limits and automatic cropping behavior.
  • Keep header logos, favicons and manifest icons as separate deliverables.
  • Use descriptive alt text when the logo communicates information or a link destination.
  • Test rendered clarity, contrast, keyboard access and layout at every responsive breakpoint.
  • Keep favicon URLs stable and ensure Googlebot can crawl the icon and home page.
  • Declare actual raster dimensions in the web app manifest.

Frequently Asked Questions

Should I export one logo file for every screen size?

Not necessarily. Use one proportional asset when it remains legible and fits each box; create a separate compact or symbol variant when the mobile layout needs a different treatment.

Can my header logo also be my favicon?

It can be derived from the same brand system, but the files serve different placements. A favicon must follow square, crawlability and platform-format guidance, while a header logo follows its available layout box.

Do the Shopify pixel examples work for every CMS?

No. They are practical examples from Shopify guides. Your theme or CMS may impose different dimensions, format support or cropping behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.