GoToolsOnline Blog How-To All Tools

Best Image Sizes for Websites

Optimal dimensions for hero images, thumbnails, and blog posts

By Ben Praveen J · July 03, 2024 · Updated July 2026

Using the right image dimensions improves page speed and ensures your site looks sharp. Uploading a 4000×3000 photo for an 800px-wide content area wastes space. This guide covers recommended sizes for common web use cases.

Hero and Banner Images

Typical widths: 1920px for full-width, 1200px for contained layouts. 1920×1080 or 1920×640 are safe choices. Compress to 80–85% quality.

Blog and Content Images

Use 1200–1600px for content images. Featured images: 1200×630 for Open Graph and Twitter Card compatibility.

Thumbnails and Product Images

Product grids: 400×400 or 600×600. Use square (1:1) for consistency.

Social media dimensions

Every platform crops differently, and a size that looks right on one often gets cut off on another. Open Graph / Facebook and LinkedIn link previews use 1200×630 (1.91:1) — this is the one size worth setting as your default featured image since it also covers most auto-generated Twitter/X cards. Instagram feed posts are square at 1080×1080 or portrait at 1080×1350; Instagram Stories and Reels are full-screen vertical at 1080×1920. Posting a 1200×630 landscape image directly to an Instagram Story crops the sides off — export a separate vertical version rather than letting the platform crop it for you.

Retina and high-DPI screens

A "100px" image on a standard display is genuinely 100 pixels wide, but on a 2x retina display the browser renders it at 200 physical pixels to keep it sharp — so a source image saved at exactly the display size looks soft on modern phones and laptops. The fix is to export at 2x the intended display size (a 400px-wide thumbnail slot gets an 800px source image) and let CSS scale it down; the extra resolution is what makes text and edges look crisp rather than slightly blurred.

Format matters as much as dimensions

WebP produces roughly 25-35% smaller files than JPEG at equivalent visual quality, and virtually every current browser supports it — there's rarely a reason to ship JPEG as the only format anymore. PNG is still the right choice specifically for images that need transparency (logos, icons, product cutouts) or flat colors with sharp edges (screenshots, diagrams); using PNG for a photograph produces a needlessly large file since PNG's lossless compression doesn't handle photographic gradients efficiently.

Resize and compress: Resize | Compress — Free, no signup.

Try these free tools

No signup, no watermark — works in your browser.

  • 🖼️Image Compressor
    Open tool →
  • 🖼️Resize & Crop Image
    Open tool →
  • 🖼️Convert Image Format
    Open tool →
  • 🖼️Crop Image
    Open tool →

← Blog index  |  Quick guides  |  All tools

We use cookies for analytics and to show ads. Learn more