What Is the Best Image Size for a Website?

Big images slow a page down, and tiny ones look blurry. Here are simple rules of thumb for choosing the size, file size and format of website images.

Resize an image →

Last updated: October 2026 · 2 min read

Dimensions and file size are different things

Dimensions are the width and height in pixels. File size is how much storage the file uses, measured in KB or MB. A picture can have large dimensions and a small file size, or the other way around. For a website you usually need to control both: the dimensions so the picture looks sharp, and the file size so the page loads fast.

Rules of thumb for dimensions

These are general guidelines, not strict rules, because every design is different.

On high-density screens such as many phones, an image shown at 600 pixels wide looks sharper if the file is closer to 1200 pixels wide. Use that trick only for pictures where sharpness matters, because bigger files load slower.

Rules of thumb for file size

Choose the right format

JPG suits photos. PNG suits logos, screenshots and pictures with transparent areas. WebP is often smaller than both and is supported by current major browsers, so it is a good choice for modern sites. For a closer comparison read JPG vs PNG vs WebP.

Do it in three steps: resize, then compress, then convert to WebP if you like.

A simple workflow

  1. Start from the largest original you have.
  2. Resize it to the width the page really needs.
  3. Compress it to a sensible file size.
  4. Check the result on a phone screen, and keep the original in case you need it later.

Why use PicFitter

Resize an image →

More guides