Article
How big should photos be on a website?
Published . Updated .
Resize each photo to the size it will show on the page, then compress it. For a full-width banner, 1600 pixels wide is enough. For a photo inside the text column, 800 to 1200 pixels wide is enough. Save photos as JPG or WebP. Aim for each file to land well under 300 KB. These are my working numbers, not an official standard. They keep a site quick and still look sharp.
Why the size of the file matters
A photo straight off a phone is often several thousand pixels wide and several megabytes in size. Put ten of those on one page and the page loads slowly. A visitor on mobile data in a spot with weak signal may leave before the page finishes. Search engines also measure how fast a page loads, so heavy images can cost you in search too.
The visitor never sees the extra pixels. A screen only shows so many. The rest is weight.
Pixel sizes I use
Pixels are the width and height of the image. File size is how many KB or MB the file takes up. You control both.
Full-width banner or hero image: 1600 pixels wide. A few themes and layouts want up to 1920. Anything wider adds weight and no visible gain.
Photo inside the text of a page or article: 800 to 1200 pixels wide.
Team photo, product photo, or gallery thumbnail: 600 to 800 pixels wide.
Logo: use an SVG file if you have one. It stays sharp at any size and the file is tiny. If you only have a PNG, make it twice the width it shows on the page.
That last rule works for photos too. Many phone and laptop screens pack in twice the pixels. A photo that displays 600 pixels wide looks soft on those screens unless the file is about 1200 pixels wide. So find the width the photo displays, then double it, up to the limits above.
Which file format to pick
JPG is the default for photos. Every browser and every platform handles it.
WebP makes smaller files than JPG at similar quality. Current browsers support it. If your platform accepts WebP, use it.
PNG suits graphics with sharp edges, text, or a see-through background. Do not use PNG for photos. The files come out large.
SVG suits logos and simple icons.
How to resize and compress
You need two steps. Resize first. Compress second.
On a Mac, open the photo in Preview and use Tools, then Adjust Size. On Windows, open it in Paint and use Resize. Both are free and already on your computer. Type the width in pixels and keep the proportions locked.
Then compress. Squoosh is a free tool that runs in your browser. It shows the original and the compressed version side by side, so you can see whether quality dropped. For JPG and WebP, a quality setting around 75 to 80 usually looks the same as the original on a web page. Check each photo yourself. Photos with fine detail, like gravel or fabric, may need a higher setting.
Do this before you upload. Uploading a 6 MB photo and trusting the website to shrink it does not always work.
Check whether your platform resizes for you
Some platforms make smaller copies of your uploads. WordPress creates several sizes. Wix and Squarespace also process images. That helps, but the original often stays on the server, and some themes still load a larger copy than they need. Check the result instead of assuming. If you are weighing platforms, should I use Wix or Squarespace or hire a web designer? covers the trade-offs. Choosing a content management system covers how each one handles content.
Check what is on your site now
Open your site on your phone using mobile data. Count how long the first screen takes to fill in. If it feels slow, images are the first suspect.
Then run the page through PageSpeed Insights, a free tool from Google. It flags images that are larger than they need to be and tells you which ones. Fix the biggest files first. A site with 40 photos usually has five or six that cause most of the weight.
You can also right-click a photo, save it, and look at the file size on your computer. Anything over 500 KB on an ordinary page deserves a second look.
Two habits that help beyond size
Name the file. Rename IMG_4471.jpg to something like kitchen-renovation-armstrong.jpg before you upload. Use lowercase and hyphens between words. The name tells search engines what the photo shows.
Write alt text. Alt text is a short description of the photo, stored with the image. Screen readers read it aloud to people who cannot see the page. Search engines read it too. Describe what is in the photo in one plain sentence. Skip “image of” at the start.
When to keep a larger file
Some photos need more pixels. A portfolio of print work, a real estate listing, or a photographer’s gallery may need visitors to zoom in. In that case, keep a larger version, around 2400 pixels on the long edge, and load it only when someone clicks. Do not make it the default on the page.
Also keep your original photos. Store the full-size files in a folder on your computer or in cloud storage. Upload only the resized copies. If you redesign later, you start from the originals and not from a compressed copy of a compressed copy.
The annual DIY website check-up includes a look at page speed, and common website problems lists slow pages near the top. If your site loads slowly and you are not sure why, book a consult. Send the web address and I will tell you which images are the cause.
Read next
What is a favicon, and how do I add one to my website?
A favicon is the small icon in a browser tab and, on mobile, next to your listing in Google. Here is what size to make it, what to put in it, and how to add it on Wix, Squarespace, WordPress, or a custom site.
What is a 404 page, and how do I make a useful one for my website?
A 404 page is what visitors see when a web address on your site does not exist. Here is what to put on it, why it must send a real 404 status, and how to set it up on WordPress, Wix, Squarespace, or a custom site.
Should I use Wix or Squarespace or hire a web designer?
Use Wix or Squarespace for a simple DIY site. Hire a web designer when the site needs to earn trust, leads, or sales. Here is how to decide.
Ready to talk?
A 20 minute call. No pitch. What you need and what it costs.
Or text 778-692-5555 or email hello@acornwebsites.com. We reply within two business days.