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

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

There is no single pixel size that works for every website header. For a full-width hero, start with a 16:9 image such as 1920 × 1080 px; for a shorter website banner, 1200 × 400 px (3:1) is a useful starting point. Your theme, section height, and responsive crop determine what visitors actually see, so use platform guidance first and preview the finished header on desktop and mobile.

Recommended website header image sizes

Choose dimensions by identifying the component you are designing, not by treating every image across the top of a site as the same kind of “header.” A narrow banner and a large, screen-filling hero need different shapes. These are source-image starting points, not guaranteed display dimensions.

Use Starting dimensions Aspect ratio What the guidance means
Full-width hero 1920 × 1080 px 16:9 The U.S. National Science Foundation (NSF) recommends this as its preferred full-size hero for high quality on large monitors.
Desktop hero in Shopify’s guide 1280 × 720 px 16:9 Shopify’s 2026 image-size guide lists this as a desktop hero size; it also lists a different mobile rendition.
Website banner 1200 × 400 px 3:1 Shopify lists this for a banner, a shorter shape than a full hero.
Desktop hero in Squarespace guidance 1600 × 500 px or 1920 × 1080 px Varies Squarespace gives both as starting points and emphasizes responsive display.
Mobile hero example in Squarespace guidance 800 × 1200 px 2:3 A portrait composition can suit a phone screen; whether you can supply a separate mobile image depends on your site setup.

The figures differ because the sources describe different components and setups—not because one universal ratio has been overlooked. Start with your theme or platform’s documented dimensions if it provides them. If it does not, use the closest starting point above, then check the actual rendered page at the sizes your visitors use.

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.

First decide whether you need a banner or a hero

Choose a banner for a shallow horizontal strip

A banner has a wide, short composition, so 1200 × 400 px (3:1) is a reasonable starting point when the design is a strip rather than a large visual area. Keep the important part of the image within the area that remains visible after the site applies its crop. A banner specification should not be substituted for a hero specification simply because both images appear near the top of a page.

Choose a hero for a large visual area

A hero occupies more height and may fill a substantial part of the first screen. A 16:9 source such as 1920 × 1080 px is one well-supported starting point for a full-size hero; Shopify’s guide also gives 1280 × 720 px for a desktop hero. A site may display the source at different dimensions or crop it to fit its layout, so the upload size does not dictate the precise size visitors will see.

Use platform dimensions when available

Guidance from NSF, Shopify, and Squarespace illustrates why “recommended header size” has no one-size-fits-all answer. NSF’s 1920 × 1080 px recommendation is for a full-size hero; Shopify distinguishes its 1280 × 720 px hero from its 1200 × 400 px banner; Squarespace provides more than one desktop starting point and describes responsive resizing. Treat each number in the context it was given, and check your own theme’s settings before preparing the final image.

How aspect ratio affects the crop

Aspect ratio describes the relationship between an image’s width and height. A 16:9 image is wider than a 2:3 portrait image, and a 3:1 banner is much shallower than either. If a layout’s visible area has a different ratio from the source, the site may crop the image to fill it. That can cut off a face, product, logo, or other important subject even when the original file has ample pixels.

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

Responsive pages can use a different crop on a phone than on a desktop. Shopify’s developer documentation notes that the mobile crop may have a different aspect ratio from the desktop crop. It also warns that omitting dimensions on a responsive source can cause the browser to reserve the wrong ratio while the mobile image loads. A separate mobile composition can protect the subject when your theme supports one; it is not an option in every setup.

Keep important content inside a safe area

  • Place the main subject away from the extreme edges, where a responsive crop is more likely to remove it.
  • Leave room around faces, products, or other details that must remain visible as the viewport narrows.
  • Do not assume text positioned over the desktop image will stay clear of the subject or controls on mobile.
  • Check the crop in the actual theme or page builder; the source-image ratio alone cannot tell you exactly what its focal-point and fit settings will do.

Make and test desktop and mobile versions

The most reliable way to choose a final image is to judge it in the page component where it will appear. A source that looks well composed in an image editor may be cropped, resized, or placed behind navigation when the theme renders it.

#1 Best Overall
Sale
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
  1. Find the component settings. In your site platform or theme editor, locate the page section or header that will display the image. Check for documented dimensions, a focal-point control, image-fit behavior, and any separate desktop and mobile image fields.
  2. Prepare a source for the largest intended display. Use the platform’s specified dimensions if provided. Otherwise, select a suitable starting ratio from the table: 16:9 for a large hero or 3:1 for a short banner. Keep a copy of the original so you can make an alternate crop without degrading it through repeated exports.
  3. Upload and set the crop. If the platform offers a focal point or a fit option, adjust it so the most important part of the image remains in frame. Do not assume that “cover,” automatic resizing, or a default crop will preserve the composition you intended.
  4. Preview the actual responsive page. Check a representative desktop width and a narrow phone width. Confirm that the subject, headline, navigation, and call to action remain visible and do not collide. If your theme allows a separate mobile image, test that rendition as well.
  5. Inspect after publishing. Check the live page, not only the editor preview. Confirm that the image has loaded, that the crop matches the preview, and that text remains readable at the widths you tested.

To inspect a live page, open it in a browser, use its responsive or device-preview controls if available, and resize the viewport. Browser tools can help you see how the page behaves, but your site’s own preview and published theme remain the authority for its crop settings.

Or skip the browser setup

For a screenshot of a page you can access, ScreenshotNeo offers a one-request way to capture a rendered result and inspect the composition at a chosen viewport. See the ScreenshotNeo documentation for the available parameters.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Replace the example target with your page URL and use your API key. Cookie banners, newsletter popups, and chat widgets are removed before the shot by default, and each step can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed; response headers identify the page verdict and billing status. Its MCP server gives AI agents tools for screenshots, page information, and PDF capture. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for 1,000 free screenshots a month, with no card required.

Image quality, file size, and formats

Use enough source resolution for the largest intended display, but do not assume that making the image larger always improves the page. Compress the file and check the real page load as well as visual quality. Shopify’s 2026 general image-size guide says smaller files—often around 500 KB and up to 2 MB in many cases—are better. This is editorial guidance, not a universal limit. Squarespace’s hero article gives a 10–20 MB starting range. Since the recommendations differ substantially, neither should be presented as the right file size for every site. Keep the image as light as practical while preserving acceptable detail, then test your page.

WebP is described in Shopify’s guide as a popular format for web images, and its hero article favors WebP for many hero images. If you choose AVIF, Shopify advises having a fallback because browser support is not universal. The best choice depends on your image, platform support, and whether a fallback is configured. Check that the published page actually serves the format you intended.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.

Accessibility and text over a header

A decorative background image usually should not be announced as meaningful content to someone using a screen reader. If an image conveys information that visitors need, provide appropriate alternative text. Shopify’s image-sizing guide explains that alt text helps screen-reader software interpret images.

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

A headline or call to action is usually better as live page text than baked into the image. Live text is easier to resize and access, and it can remain legible when the image is cropped or displayed on a smaller screen. Check contrast and readability against every part of the image that may appear behind the text. Keep essential words and controls visible on both desktop and mobile layouts.

Rank #4
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Common header image problems and fixes

The subject disappears on mobile

Likely cause: The mobile layout crops the desktop source to a different aspect ratio or focal position. Fix: Move the focal point inward, choose a composition with more space around the subject, or provide a separate mobile crop if your theme allows it. Verify the result on the narrow live layout.

The banner looks too tall or the hero too shallow

Likely cause: You chose a source based on the wrong component, or the section height and image ratio do not match. Fix: Confirm whether the page uses a short banner or a large hero, then start with the corresponding ratio and inspect the theme’s section-height and fit controls.

The uploaded image looks soft

Likely cause: The source does not have enough resolution for the displayed area, or compression is too aggressive. Fix: Prepare a source appropriate for the largest intended display, export it with acceptable quality, and check the published result rather than judging only the editor thumbnail.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.

The page shifts while a responsive image loads

Likely cause: The browser has not been given the right dimensions or ratio to reserve space for the responsive source. Shopify’s developer documentation specifically warns about omitting dimensions when the mobile crop uses a different ratio. Fix: Follow the platform’s responsive image guidance and ensure the displayed source has the appropriate dimensions or aspect ratio reserved.

The headline becomes hard to read

Likely cause: The image crop places a busy or bright area behind the text, or text was embedded in an image and scaled down. Fix: Use live text, adjust the image focal point or overlay treatment, and preview the result across viewport widths.

Quick decision checklist

  • Short strip across the page? Start with a banner-shaped source such as 1200 × 400 px (3:1), subject to your platform’s guidance.
  • Large hero area? Consider a 16:9 source such as 1920 × 1080 px or the platform’s specified hero size.
  • Mobile composition at risk? Check the crop, protect the subject, and use a separate mobile image only if the site supports it.
  • Image unnecessarily heavy? Compress it while preserving visible quality and test the actual page load.
  • Text or important meaning in the image? Prefer live text for headlines and calls to action; supply appropriate alt text when the image itself conveys information.

Frequently Asked Questions

What is the aspect ratio of a 1200 × 400 website banner?

It is 3:1: the image is three times as wide as it is tall.

Can I use the same header image on desktop and mobile?

You can if the composition still works after the mobile crop. Whether your platform lets you assign a separate mobile image depends on your site setup.

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

Should text be part of the header image file?

Usually not for a headline or call to action. Live text is easier to resize and access, and is less vulnerable to being cut off by a responsive crop.

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.