Logo size for a website header: what big sites actually use (measured)
Most advice on website logo size repeats the same ranges without showing where they come from. So we measured. On 25 November 2026 we loaded the home pages of well-known sites in a desktop browser and recorded how big the header logo actually renders. The short version: big brands use smaller header logos than most guides recommend. Below are the numbers, what they mean for your site, the file to upload, and the HTML that keeps the logo sharp without shifting the page.
Short answer: in our sample, full horizontal logos rendered 23–36 px tall and 60–150 px wide on desktop, and symbol-only logos about 28–39 px tall, inside header bars about 54–78 px tall. Upload an SVG if your site allows it; otherwise a transparent PNG at twice the display size (for example 320×80 for a 160×40 slot). Set the display size in your theme or with CSS, and give the image its width and height.
What we measured
Method: Chromium at 1440×900, home page, the image or SVG inside the link back to the home page, measured in CSS pixels. We checked every result against a screenshot and dropped sites where a cookie banner, pop-up, or a different element got in the way. Sites redesign often, so treat this as a snapshot, not a standard.
| Site | Header logo | Rendered size (W×H) |
|---|---|---|
| Atlassian | Symbol + wordmark | 148×24 |
| Shopify | Symbol + wordmark | 126×36 |
| Microsoft | Symbol + wordmark | 108×23 |
| Mozilla | Wordmark | 100×24 |
| Wix | Wordmark | 75×30 |
| Stripe | Wordmark | 60×25 |
| Notion | Symbol only | 38×39 |
| GitHub | Symbol only | 32×32 |
| Spotify | Symbol only | 32×32 |
| WordPress.org | Symbol only | 30×30 |
| Figma | Symbol only | 19×28 |
The header bars around these logos measured roughly 54–78 px tall. Two patterns stand out: horizontal logos are sized by height (almost all between 23 and 36 px, whatever their width), and brands with a strong symbol often show only the symbol in the header.
What the numbers mean for your logo size for website headers
Common advice vs. what we measured. Many logo size guides quote a “standard” header logo of 250×100 px, or a height between 40 and 100 px. Those numbers are upload or canvas sizes more than display sizes: none of the 11 sites above showed its logo that large in the header. A logo should fit inside the header bar and leave room for navigation, so treat 250×100 as a generous maximum, not a target.
- Size by height, not width. Pick a height and let the width follow the logo’s proportions; keep the aspect ratio when resizing, never stretch the logo to fill a box. 28–40 px is a sensible starting range for a horizontal logo on desktop; a very wide wordmark can sit at the lower end, a compact stacked mark at the higher end.
- Bigger isn’t clearer. A header logo competes with navigation and buttons. The large brands above keep theirs modest and rely on clear space instead.
- Use the right lockup. Headers are wide and short, so a horizontal version works best. If your logo only exists stacked, make a horizontal variant for the header. Our free logo generator exports horizontal, stacked and icon versions of every logo.
- Leave clear space. Keep at least the height of a capital letter of empty space around the logo before the first menu item.
Which file to upload: vector files vs. PNG
- SVG if your site or builder accepts it. It has no fixed pixel size, so it stays sharp on every screen. Convert text to outlines before exporting so it doesn’t depend on installed fonts.
- PNG at 2× otherwise. Most phones and many laptops have screens that draw two or three device pixels per CSS pixel, so a PNG exported at exactly the display size looks soft. For a logo shown at 160×40, export 320×80. Going far beyond 2–3× only makes the file heavier.
- Transparent background, exported from the vector source, not a white box made transparent afterwards. See logo file formats for the full comparison.
- A light and a dark version if your header changes color or your site has a dark mode.
The HTML and CSS
<a href="/" class="site-logo">
<img src="/logo.svg" width="160" height="40" alt="Your Brand home">
</a>
.site-logo img { height: 32px; width: auto; display: block; }
@media (min-width: 768px) { .site-logo img { height: 40px; } }
- Always include
widthandheight. They tell the browser the logo’s proportions before the file arrives, so the header doesn’t jump when it loads (a layout shift that also counts against Core Web Vitals). The CSS can still resize it. - Alt text describes the link, not the picture. When the logo is the only content of a link to the home page, the W3C’s accessibility tutorial recommends text like “Brand home” rather than “Brand logo” (W3C WAI: functional images). If the link also contains the brand name as text, use
alt=""on the image. - Don’t lazy-load the header logo. It is visible immediately;
loading="lazy"only delays it.
Logo size on mobile devices
Mobile header bars are shorter, so logos shrink too. In our sample, GitHub’s symbol went from 32 to 24 px and Notion’s from 38 to 32 px at a 390 px-wide phone viewport, while several horizontal logos (Microsoft, Atlassian, Shopify) kept the same size. If a horizontal logo crowds the menu button on a phone, use a responsive logo variation: switch to the symbol alone below a breakpoint so it stays clear on different devices:
<picture>
<source media="(max-width: 480px)" srcset="/logo-icon.svg">
<img src="/logo.svg" width="160" height="40" alt="Your Brand home">
</picture>
If the two files have different proportions, also set the right height and width for the icon in your mobile CSS. And check the logo at around 24–32 px: that is close to favicon size, so the details that survive there are the ones that matter. Our guide on making a favicon from your logo covers the smallest sizes.
WordPress, Shopify and other builders
Site builders usually set the display size for you and only ask for a file. Upload the SVG if the builder accepts it, or a 2× PNG, then adjust the logo size or width setting in the theme until the height lands in the range above. Each theme handles this differently, so check the preview on a phone as well as on desktop.
Logo dimensions and logo quality on different platforms
A website header is only one place your logo appears. The same logo design has to keep its quality and stay recognizable across various platforms and different devices, and each one sets its own logo dimensions and specifications:
- Social media. Profile pictures are square and usually shown in a circle, so use the icon-only version with some margin, not the full horizontal logo. Each network publishes its own recommended upload size and changes it from time to time, so check the platform’s current help page rather than an old chart.
- Favicons and app icons. The smallest sizes have their own rules: browser tab favicons are drawn at 16–48 px, home-screen icons at 180–512 px; see how to make a favicon from your logo.
- Banners and large graphics. Hero images, web banners and slides show the logo much larger than the header, and often from a distance (a projected slide, a trade-show banner). Use the vector file so the resolution never limits it, and keep the same clear space. Banner canvases are much bigger than the logo: YouTube, for example, recommends a 2560×1440 px channel banner image, with the logo kept inside the central safe area.
- Email signatures. Use a PNG at 2× the display size, because many email clients don’t show SVG.
- Print media. Business cards, brochures, labels and other print materials are measured in inches or millimeters, not pixels. Send vector formats (PDF, EPS or SVG) so the printer can scale the logo without losing quality; if a printer asks for a raster file, 300 pixels per inch at the final printed size is the common specification. On screens the DPI setting saved in a file (72, 96 or 300) changes nothing; only the pixel dimensions matter.
When creating logos for a company, most websites and brand guides end up with the same rule whatever the platform, because it is the simplest way to preserve clarity: one master vector file, exported to the correct logo size for each use, so every version comes from the same source, the logo will remain clear and look professional at different sizes, and brand consistency holds across your brand guidelines, digital platforms and print. Vector formats keep the logo clear at any resolution; JPEG is the wrong choice for logos because it has no transparency and adds compression artifacts around sharp edges.
Common mistakes
- Uploading a huge PNG “to be safe”. A 3000 px logo shown at 160 px wastes bandwidth and slows the first paint. A header logo rarely needs more than a few tens of kilobytes; an SVG is often under 10 KB. Keep the original vector file for resizing later. (A common rule of thumb is to keep a header logo well under 200 KB.)
- Exporting at exactly the display size. It looks blurry on high-density screens. Use 2× or SVG.
- Padding baked into the file. Extra transparent margins make the logo look smaller than its box and misalign with the menu. Crop tight and add space with CSS.
- No width and height. The header shifts as the logo loads.
- Using the stacked logo in a horizontal header. It ends up tiny. Use a horizontal lockup or the symbol.
Measurement data: 25 November 2026, Chromium 1440×900 (desktop) and 390×844 (mobile emulation), CSS pixels; desktop results verified against screenshots. Logos and trademarks belong to their owners; we mention them only to report sizes.
Quick answers
What size should a logo be on a website header?
In our measurements of well-known sites, horizontal header logos rendered 23–36 px tall and 60–150 px wide on desktop. A 28–40 px height is a sensible starting range; let the width follow the logo's proportions.
What size should I upload a website logo?
An SVG if your site accepts it. Otherwise a transparent PNG at twice the display size, for example 320×80 for a logo shown at 160×40.
Should a website logo be SVG or PNG?
SVG when possible, because it stays sharp at every size and screen density. Use a 2× PNG where SVG isn't accepted.
What alt text should a header logo have?
When the logo is the only content of a link to the home page, describe the destination, for example "Brand home", as the W3C accessibility tutorial recommends.