~ / writing / website guides

Website Guides · May 2024

Image Size Guide For Websites.

Picking the right image pixels, format and size in web design decides both how a site looks and how fast it loads. This article gives you the dimensions for every type of image on a website, from a 16 pixel favicon to a full-width header.

Amit Tiwari Website Guides 4 min read

1. Favicon (16 Pixels X 16 Pixels)

A favicon, short for “favorite icon”, is a small, iconic image that represents a website. This image usually appears in the address bar of a web browser, or next to the site name in a user’s list of bookmarks. Favicons are typically sized at 16×16 pixels, and they help to visually identify a website in browser tabs, bookmarks, history archives, and more.

Browser window illustration with a magnifying glass over the favicon in the address bar

2. Logo (250 Pixels X100 Pixels)

The logo carries your branding, so getting its size wrong is expensive in a way nobody notices until the header looks wrong. The right size depends on where you place it and how the rest of the page is laid out. For most websites, a header logo between 250 x 100 pixels and 400 x 100 pixels works. That range keeps it legible without letting it take over the screen.

Browser illustration with a magnifying glass over a site logo in the header

3.Background Images (1920 Pixels X 1080 Pixels) 

Background images set the tone of a site and carry its message. They usually cover the whole screen or a large section of a page. The right size depends on your layout and on the devices your visitors actually use.

1920 x 1080 pixels is a sound standard for a full-screen background. In image seo terms you still have to serve the right version to each screen size, or a phone downloads a desktop wallpaper and your load speed pays for it. Weigh quality against performance every time you pick a background size.

A classic motorcycle photographed on a salt flat, used as a full-width page background

4. Twitter OG Image (1024 Pixels X 512 Pixels)

A Twitter OG (Open Graph) image is what stands in for your page when somebody shares the link on Twitter. It is the preview picture in the feed, and it is the only thing giving the link visual context. People decide whether to open the link on that picture, not on your headline. Around 1024 X 512 pixels displays cleanly across devices without going soft, on a phone and on a desktop feed alike. It sits at a sensible point between being visible in a feed and staying small enough not to hurt load times.

A Twitter post preview showing the Google campus sign as the link card image

5.Facebook OG image (1200 Pixels X 630 Pixels)

A Facebook OG (Open Graph) image stands in for your page when somebody shares the link on Facebook. It is the thumbnail in the feed, and it does most of the work on engagement and click-through rate. The recommended size is 1200×630 pixels, an aspect ratio of roughly 1.91:1. At that size Facebook displays it properly and the preview stays sharp. Choose an image that actually matches what the page is about, because for most people it is the only impression they get before deciding whether to click.

A social post preview card showing the Google campus sign as the link image

6. Slider Images (1000 Pixels X 500 Pixels )

Slider images sit in a carousel, rotating through a prominent block of a page, usually the homepage above the fold. They are usually interactive, so visitors can click through the different visuals or offers. The right size depends on the design, but 1000 x 500 pixels is the common choice. It is clear and visible without swallowing the layout. Images at that size land with some weight, read properly on screen, and still load quickly, which matters more here than anywhere else because a slider loads several of them at once. Keep the slider looking good and working, and it earns its place.

A homepage slider with two slides, each carrying a Headlining Hard title and a call to action button

7.Sidebar images

Sidebar images are the smaller visuals that sit in the sidebar, next to or between text, links and ads. They dress the column up, push a piece of content, or sell something on behalf of an advertiser. The right size follows the design and the width of the sidebar itself. Around 400 pixels wide is the usual answer, because it matches standard sidebar widths and the image sits in the space without stretching or going soft. 

Sidebar profile card for a photographer, with a portrait, name and social links

8. Featured Images (250 Pixels X 250 pixels)

A featured image sits at the top of a page or blog post. It is the first thing a reader looks at and the shorthand for what the post contains. The right size follows the design and layout, but 250×250 pixels is the common choice. A square fits most layouts, archive grids and related-post strips included, and it is big enough to hold attention without burying the content or dragging the page load down. Pick something that matches the post, reads well and is optimised for web performance.

A search results page showing featured image thumbnails beside each listing

9. Full Width blog post Images

Full width blog post images run the entire width of a post and give the content a strong opening. They support the writing and usually set the tone or the context for what follows. Match the width to the blog’s content area, which on a standard single-column theme is often around 765 pixels. At that width the image fills the horizontal space without stretching or losing resolution. The exact number moves with the design and layout, so keep an eye on both how it looks and what it costs you in load time.

A blog layout with a full-width header image above the post title and sidebar

Summing Up the Facts

This is a working reference for web designers on picking image dimensions that serve both the look of a site and its performance. It runs through every image type you will meet on a site, from a 16 pixel favicon up to a full-width header, and shows what the right size does for brand identity, engagement and site efficiency. Each section gives you a number you can use rather than a principle you have to interpret. The point is practical: images that look right and also pull their weight on user experience and site function. For the longer version, our YouTube channel walks through the same material in more detail.

Image sizing is one of the cheapest levers in web design, and it decides how a site looks and how it behaves. It costs nothing to set an image at the right dimensions on the way in, and a great deal to go back and fix a library of them later. The right pixel dimensions improve the experience directly: the page looks the way you intended and it still loads quickly. Use the numbers above, optimise for both the eye and the clock, and the site gets better on both counts.

Discuss in the community ↗