Karachi, Pakistan Mon–Sat: 10AM–7PM PKT
Home Services
Design & Development
UI/UX Design Web Development WordPress Development Responsive Web Design Corporate Website Landing Pages / Microsites E-Commerce Solutions Mobile App Development
Marketing & Growth
SEO Services Content Marketing Social Media Marketing PPC / Google Ads Branding & Creative Speed & Performance
Hosting & Support
Web Hosting Maintenance & Support
Portfolio Clients About Blog Pricing Get a Quote
Design & Build Guide

Best Image Size for Websites: A Simple Guide for 2026

Pixel sizes, file size targets and formats for hero banners, blog images, product photos and logos, so your site looks sharp and loads fast.

Best image size for websites: hero, blog and product image dimensions

There is no single best image size for every website, but there is a best size for each type of image. As a rule of thumb, the best image size for websites is 1920 pixels wide for full-width hero images, 1200 pixels wide for blog and content images, and 1200 x 1200 pixels for product photos. Then compress them so most images are under 100 KB and hero images stay under about 200 KB. This guide gives you a size chart, explains why file size matters as much as pixel size, and shows how to prepare images properly.

Key takeaways
  • Size images for how wide they appear on screen, not bigger.
  • Pixel size controls sharpness; file size (KB) controls speed. You need to get both right.
  • Use WebP for most website images and always compress before uploading.

Image size for websites: the chart

Image typeRecommended sizeTarget file size
Full-width hero or slider image1920 x 1080 px (16:9)Under 200 KB
Half-width banner or section image1000 x 750 pxUnder 120 KB
Blog featured image1200 x 630 pxUnder 100 KB
Images inside a blog post1200 px wide (any height)Under 100 KB
Product photo (e-commerce)1200 x 1200 px (1:1)Under 150 KB
Product thumbnail400 x 400 pxUnder 30 KB
Team or profile photo600 x 600 pxUnder 50 KB
Logo in headerSVG, or PNG at 2x its display sizeUnder 20 KB
Background pattern or textureAs small as possible, repeatedUnder 50 KB

The blog featured image size of 1200 x 630 also matches what Facebook, WhatsApp and LinkedIn use for link previews, so one image does both jobs.

Pixel size vs file size: what is the difference?

Pixel size (for example 1920 x 1080) is the width and height of the image. It decides how sharp the image looks. File size (for example 180 KB) is how much data the visitor has to download. It decides how fast the page loads.

A photo straight from a modern phone can be 4000 pixels wide and 4 MB in size. A website usually shows it at about 1200 pixels wide, so most of that data goes to waste. Visitors on mobile data pay for it with a slow page. Resizing that photo to 1200 pixels and compressing it can bring it down to around 100 KB with no visible loss of quality.

Do you need double-size images for retina screens?

High-resolution phone and laptop screens show more pixels in the same space, so very small images can look soft. You do not need to double everything, though:

  • Hero images: 1920 pixels wide is enough for almost every screen. Going to 2560 adds weight for little visible gain.
  • Logos and icons: use SVG where possible. It stays sharp at any size and is very small.
  • Small images: if an image appears at 300 pixels wide, export it at 600 pixels wide for crisp results.

Modern WordPress themes and most website builders automatically create several sizes of each image and let the browser pick the right one. This is called responsive images, and it is one more reason to upload a sensible image size for websites rather than a huge original.

Which image format should you use?

FormatBest for
WebPMost photos and graphics. Smaller than JPG and PNG at the same quality.
AVIFEven smaller than WebP. Good where your platform supports it.
JPGPhotos, when WebP is not available.
PNGGraphics that need a transparent background, screenshots with text.
SVGLogos, icons and simple illustrations.

How to prepare the right image size for websites

  1. Crop to the right shape first (16:9 for heroes, 1:1 for products).
  2. Resize to the width in the chart above.
  3. Compress using a free tool such as Squoosh or TinyPNG, or an image optimisation plugin on WordPress.
  4. Rename the file with clear words, for example leather-jacket-brown.webp instead of IMG_4021.jpg. This helps image search.
  5. Add alt text that describes the image for screen readers and search engines.
  6. Set width and height in the HTML (most CMSs do this for you) so the page layout does not jump while images load.
Keep product photos consistent: the same background, the same shape and the same amount of space around each product. A tidy grid looks more professional and makes shoppers trust the store.

Common image mistakes that slow websites down

  • Uploading phone photos at full size (3 to 6 MB each).
  • Using PNG for photographs, which makes them several times larger than needed.
  • Large sliders with five or six full-size images that all load at once.
  • Images stretched in the browser, which look blurry and waste data.
  • No lazy loading, so images far down the page load before the visitor scrolls.

Images are usually the biggest cause of a slow page. Our website speed guide covers the other common causes and how to fix them.

Frequently asked questions

What is the best image size for a website banner?

1920 x 1080 pixels for a full-width banner, compressed to under about 200 KB.

What size should blog images be?

1200 x 630 pixels for the featured image and 1200 pixels wide for images inside the post.

What is a good file size for website images?

Aim for under 100 KB for most images and under 200 KB for large hero images.

Should I use JPG or WebP?

WebP in most cases. It gives the same quality at a smaller file size and all modern browsers support it.

What size should product images be?

1200 x 1200 pixels, square, on a clean and consistent background.

Want a website that looks sharp and loads fast?

Choosing the right images is a big part of good web design. Our responsive web design team prepares every image for desktop and mobile, and our speed and performance service can optimise the images on your existing site. Get in touch for a free review.

Written by the ItsWebExpert team, a web design and development company in Karachi building websites, online stores and apps for businesses across Pakistan.

Ask a Question on WhatsApp

Let's Build Your
Next Website

Tell us what you need and we will reply within 24 hours with honest advice and a fixed quote.