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

There is no universal “hero image size.” Choose dimensions from the hero slot your design actually renders, then provide responsive candidates for that slot and the device’s pixel density. Use srcset and an accurate sizes value so the browser can select an efficient file, use picture when mobile needs a different crop, and declare the image’s intrinsic dimensions so space is reserved before loading.

This approach produces sharper heroes on large screens without sending desktop-sized files to phones. It also matters for performance: a hero image is often the page’s Largest Contentful Paint (LCP) element.

What size should a web hero image be?

Start with the rendered CSS dimensions, not a preset such as “1920×1080.” Measure the hero container at each important breakpoint. If it renders at 1,200 CSS pixels wide, supply a candidate near 1,200 pixels for standard-density displays and a larger candidate for high-density screens. Do the same for the height and crop.

For example, if a desktop hero is 1,200 × 600 CSS pixels (a 2:1 ratio), useful source candidates might be 800 × 400, 1,200 × 600 and 2,400 × 1,200. Those are delivery options, not rules. Your actual set should reflect the slots, content and file sizes on your site.

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.
#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

Measure the real slot

  1. Open the page at each supported breakpoint.
  2. Use browser developer tools to inspect the hero image or its container.
  3. Record the rendered width and height in CSS pixels, including changes caused by navigation, text wrapping and overlays.
  4. Check whether the image is full-bleed, constrained by a max-width, or displayed inside a grid column.

A full-width hero commonly needs more width variants than a thumbnail because the difference between a phone, tablet and wide desktop is substantial. The image guidance from Google Chrome Developers recommends serving an image at the correct size rather than relying on one oversized file.

Account for device pixel density

A device with a 2× pixel ratio can benefit from roughly twice the source dimensions in each direction, subject to bandwidth and visual detail. You do not need a candidate for every possible density. A small, well-spaced set lets the browser choose without creating dozens of nearly identical files.

Rendered slot (CSS pixels) Illustrative candidates Why
360 × 240 mobile 360 × 240, 720 × 480 Covers standard and high-density phones.
768 × 420 tablet 768 × 420, 1,536 × 840 Provides a sharper 2× option when it is worth the bytes.
1,200 × 600 desktop 800 × 400, 1,200 × 600, 2,400 × 1,200 Allows an intermediate choice and a high-density option.

The table is an example planning grid, not a universal specification. Keep each candidate’s crop and aspect ratio consistent unless you deliberately art-direct it.

Choose the hero’s aspect ratio and crop

The correct ratio is the ratio of the visible design area. A wide marketing banner, a split hero with text beside the image and a tall mobile panel are different compositions. Decide where the subject may be cropped before exporting variants.

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

Keep one composition when possible

If the same composition works at every width, export the candidates at one ratio and let CSS scale them. Accurate ratio information prevents unexpected stretching and reduces layout movement.

Use art direction for a different mobile crop

If a desktop image puts the subject at the right edge but mobile needs the subject centered, use a separate source selected with <picture>. Do not force a desktop crop into a narrow slot when it makes the subject unreadable.

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
<picture>
  <source
    media="(max-width: 700px)"
    srcset="/images/hero-mobile-480.webp 480w,
            /images/hero-mobile-720.webp 720w"
    sizes="100vw">
  <img
    src="/images/hero-desktop-1200.webp"
    srcset="/images/hero-desktop-800.webp 800w,
            /images/hero-desktop-1200.webp 1200w,
            /images/hero-desktop-2400.webp 2400w"
    sizes="(max-width: 1200px) 100vw, 1200px"
    width="1200"
    height="600"
    alt="People collaborating around a table"
    fetchpriority="high">
</picture>

Give each art-directed source its own correct dimensions. If the mobile files use a different ratio, the mobile source and its layout must reserve that mobile ratio rather than inheriting the desktop one.

Use srcset and sizes correctly

With width descriptors such as 800w and 1200w, srcset lists the files available. sizes describes the image’s expected rendered width; it does not resize the image and does not replace CSS.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
<img
  src="/images/hero-1200.webp"
  srcset="/images/hero-480.webp 480w,
          /images/hero-800.webp 800w,
          /images/hero-1200.webp 1200w,
          /images/hero-2000.webp 2000w"
  sizes="(max-width: 640px) 100vw,
         (max-width: 1100px) 90vw,
         1200px"
  width="1200"
  height="600"
  alt="Product dashboard on a laptop"
  fetchpriority="high">

Here, a viewport up to 640 pixels is expected to display the image at the viewport width; between 641 and 1,100 pixels it is expected to use 90% of the viewport; above that, the slot is capped at 1,200 pixels. Match these values to your CSS. An inaccurate sizes value can make the browser download a file that is too large or too small.

Do not confuse width descriptors with density descriptors

Use width descriptors when the rendered width changes fluidly. Density descriptors such as 1x and 2x are suitable when the CSS width is fixed. Do not mix the two approaches in one candidate list.

Reserve layout space before the image loads

Set intrinsic width and height attributes on the img, or define an equivalent explicit aspect ratio in CSS. The browser can then calculate the box before the bytes arrive, reducing layout movement.

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.
.hero-media {
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

Only use object-fit: cover when cropping is intentional. If every pixel must remain visible, use contain or preserve the image’s natural ratio instead.

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

Balance image bytes, format and loading priority

Responsive sizing is also a data-transfer decision. The web.dev guidance “Serve responsive images” reports that serving desktop-sized images to mobile devices can use 2–4× more data than supplying appropriately sized responsive images. That is a general comparison, not a guaranteed saving for every page.

  • Export each candidate at the dimensions it will actually need.
  • Compress until text, faces and edges remain acceptable at the intended display size.
  • Offer modern formats where your delivery pipeline supports them, while retaining a fallback for browsers that need one.
  • Do not lazy-load the hero if it is visible at initial load. Give the main image normal or high priority and lazy-load below-the-fold imagery instead.
  • Preload only when measurement shows the hero is discovered too late; unnecessary preloads compete with CSS and fonts.

An image CDN can automate resizing and format negotiation, but responsive markup does not inherently require a paid service. Use a CDN when its transformations, caching or operational benefits solve a real need.

A complete implementation pattern

The following example combines art direction, responsive candidates, reserved space and a visible hero layout.

<section class="hero">
  <div class="hero-copy">
    <h1>Plan projects with less friction</h1>
    <p>A short value proposition sits beside the image.</p>
  </div>
  <div class="hero-media">
    <picture>
      <source media="(max-width: 700px)"
        srcset="/img/hero-mobile-480.avif 480w,
                /img/hero-mobile-720.avif 720w"
        sizes="100vw">
      <img src="/img/hero-desktop-1200.avif"
        srcset="/img/hero-desktop-800.avif 800w,
                /img/hero-desktop-1200.avif 1200w,
                /img/hero-desktop-2000.avif 2000w"
        sizes="(max-width: 1100px) 90vw, 1200px"
        width="1200" height="675"
        alt="Project cards arranged on a planning board"
        fetchpriority="high">
    </picture>
  </div>
</section>
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}
.hero-media { aspect-ratio: 1200 / 675; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 3 / 2; }
}

Because the mobile source has a 3:2 composition while the desktop source is 1200:675, the mobile rule explicitly reserves the mobile shape. Update the attributes and CSS whenever the exported ratios change.

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.
Rank #4
Sale
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

How to validate a hero image choice

  1. Check every breakpoint in responsive developer tools.
  2. Verify that the selected file is close to the rendered CSS width multiplied by the device pixel ratio.
  3. Inspect the network panel for an oversized desktop file on mobile.
  4. Throttle the connection and watch for layout movement before the image arrives.
  5. Confirm that the subject remains visible after object-fit cropping.
  6. Measure LCP with your performance tooling; the hero should not be delayed by avoidable JavaScript or a late-discovered background image.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting common problems

The hero looks blurry on high-density screens

Add a larger candidate and ensure the browser is allowed to select it. Check that sizes is not claiming a narrower slot than the CSS actually creates.

Mobile downloads the desktop image

Use width-based srcset candidates, provide a truthful mobile sizes value, and use a media-specific source when the crop differs.

The page jumps when the hero appears

Add accurate width and height attributes or an explicit aspect-ratio. Check that responsive CSS does not later replace the reserved ratio with a conflicting one.

The crop hides the important subject

Reposition the source artwork, use object-position, or create an art-directed crop. Do not solve a composition problem by continually increasing image dimensions.

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

The hero delays LCP

Keep the critical image in the initial HTML, avoid lazy-loading it when it is visible, reduce its candidate bytes, and remove render-blocking work that postpones discovery.

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.

Or skip the browser setup

To inspect how a hero actually renders at different viewports, you can capture the page with ScreenshotNeo. Its API accepts a URL and returns a PNG, JPEG, WebP or PDF; clean shots are billed only when the page succeeds, while bot checks, blank pages, timeouts, failed loads and cache hits cost nothing. Cookie banners, newsletter popups and chat widgets are removed before capture.

One call is enough:

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

See the complete options in the ScreenshotNeo documentation. You can set a viewport or device preset, retina scale, full-page capture, a CSS selector for one element, custom CSS or JavaScript, click an element, wait for a selector or network idle, hide selectors, block resources, provide cookies and headers, choose timezone or geolocation, and create PDFs. An MCP server also lets Claude, Cursor and other MCP clients call take_screenshot, get_page_info and capture_pdf.

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://example.com"}, timeout=90)
open("hero-check.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://example.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

The free plan includes 1,000 screenshots per month with no card. Paid plans start at $5 for 3,000 shots, and every feature is included on every plan. Create a free ScreenshotNeo account.

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

Frequently Asked Questions

What is the best hero image size for desktop?

Use the desktop hero slot’s measured CSS width and height, then provide candidates around that width and a higher-density option. There is no universal desktop preset.

Should a hero image be above the fold?

If it is visible on initial load, treat it as a critical image: reserve its space, avoid lazy-loading it, and keep its selected file appropriately sized.

Do I need an image CDN for responsive heroes?

No. Correctly prepared files with srcset, sizes and, when needed, picture work without a paid CDN. A CDN is optional when automated transformations or delivery operations justify it.

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.

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