Recommended Image Sizes for Websites

A quick reference for the most common image dimensions used on the web. All sizes account for retina (2x) displays unless noted.

Website Layout Images

Image TypeRecommended SizeAspect RatioNotes
Full-width hero1920×108016:9Use srcset for smaller viewports
Blog post header1200×630~1.9:1Doubles as OG image
Content image800×6004:3Standard within article body
Thumbnail400×4001:1Product cards, grid items
Avatar/profile200×2001:1Accounts for 2x retina
Logo400×100VariesUse SVG when possible
Background image1920×108016:9Compress aggressively (quality 60-70)

Social Media / Open Graph

PlatformRecommended SizeMin Size
Open Graph (Facebook, LinkedIn)1200×630600×315
Twitter/X (summary_large_image)1200×628600×314
Twitter/X (summary)240×240144×144
Pinterest pin1000×1500600×900

Favicons & App Icons

Icon TypeSizeFormat
Favicon (browser tab)32×32PNG or ICO
Favicon (SVG)Any (vector)SVG
Apple touch icon180×180PNG
Android Chrome192×192, 512×512PNG
Microsoft tile150×150PNG

Retina / HiDPI Considerations

Most modern devices have a device pixel ratio (DPR) of 2x or higher. For crisp images:

  • 2x DPR (most common): Serve images at 2x the CSS display size
  • 3x DPR (flagship phones): Consider 3x for critical hero images only — diminishing returns above 2x
  • 1x DPR: Standard displays — natural size = rendered size is optimal

Check how your images compare to these recommendations.

Scan Your Website