Contents
  1. The short answer: the theme sets the size, not WordPress
  2. Which logo asset is under discussion
  3. How to find the right dimensions for your theme
  4. Why a compact symbol variant matters
  5. Vector files versus what WordPress actually displays
  6. Permissions when the logo is not yours
  7. Gaps in this guidance

The short answer: the theme sets the size, not WordPress

There is no universal ideal logo size for WordPress. WordPress core provides a custom logo feature, but each theme decides how much space the logo gets in the header. Themes can declare preferred dimensions and can allow flexible width or height. The practical answer is to find the size your theme actually displays the logo at, then prepare an image that fills that space sharply on high-density screens. A common way to do that is to export at roughly twice the displayed dimensions.

The evidence for this article contains no confirmed theme-specific measurements. Any pixel value quoted as the single correct WordPress logo size should be checked against your own theme's documentation or its rendered header before you rely on it.

Which logo asset is under discussion

A WordPress site usually needs more than one logo file. Each one has a different job:

Asset | Where it appears | What drives its size
Primary header logo | Site header, set through the theme's logo option or the Site Logo block | Header height and width defined by the theme
Compact symbol variant | Mobile headers, sticky or shrinking headers, narrow layouts | The reduced space the theme allows at small breakpoints
Site icon | Browser tabs, bookmarks, home-screen shortcuts | WordPress's site icon setting, which asks for a square image
Vector master file | Not uploaded as-is; kept as the editable source | Not applicable; it is scaled on export

How to find the right dimensions for your theme

  • Check the theme documentation or logo setting screen. Some themes state recommended logo dimensions, and the Customizer may offer a crop step that reflects the theme's declared size.
  • Inspect the live header. Browser developer tools show the rendered width and height of the logo element at desktop and mobile widths.
  • Note any logo size controls. Many themes and block-based headers let you set a logo width, which changes the target dimensions.
  • Export at about twice the largest displayed size so the logo stays crisp on high-density displays, then compress the file.

Why a compact symbol variant matters

A wide horizontal logo that reads well on a desktop header can shrink to an illegible strip on a phone or in a sticky header. A compact variant, such as the icon, monogram or symbol on its own, holds its shape in a small square or near-square space. If your theme supports separate mobile or sticky logos, upload the compact version there. If it does not, a symbol-led logo may still be the better choice for the main logo slot when the header is short. The same square symbol is usually the right starting point for the site icon. WordPress's interface asks for a square image there and states a minimum size, which was 512 by 512 pixels at the time of writing.

Vector files versus what WordPress actually displays

Keep the logo master as vector artwork so it can be scaled to any export size without quality loss. What you upload is often a raster file, such as PNG or WebP, exported from that vector master. WordPress does not accept SVG uploads by default. SVG files can contain scripts, so enabling them usually means a plugin or theme feature that sanitizes the file. If you use SVG, the logo scales cleanly at any size, but confirm how your theme sizes it, because an SVG without set dimensions can render too large or too small.

An SVG or EPS extension does not guarantee editable vector paths. Such a file can simply wrap an embedded raster image, and then it will blur when enlarged like any bitmap. Before exporting compact variants or larger sizes, open the file in a vector editor and confirm that the shapes are paths rather than a placed image.

Permissions when the logo is not yours

Being able to download a logo file does not mean you may modify or reuse it. Cropping a logo into a symbol-only variant, recoloring it, or swapping its typeface may require permission from the trademark owner. Font licensing can also restrict how the lettering is used. This applies when building a site for a client or partner whose brand you do not own.

Gaps in this guidance

No theme-specific dimensions, test measurements or file-size benchmarks were available for this article. The approach above relies on general, verifiable principles: theme-defined logo areas, high-density displays, and vector-to-raster export. Your final numbers should come from your theme and your rendered header.