Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (2024)

By purchasing through the links on this page, you are giving us the opportunity to earn acommission.Your support is greatly appreciated!

The image size of pictures used in websites plays an important role in defining an impressive website. The design of your website can be basic, unique, or based on a pre-designed theme. You can also create a custom website from scratch.

However, if this is the first time you are creating a website with images, our guide can help you get started. Here you will find guidelines and recommendations to get the best image specifications for a functional website.

Generally recommended image sizes for websites

Here is a cheat sheet of standard image sizes for web pages best suited for a desktop with a resolution of 1920 x 1080 px (which is the most popular according to the statistics).

Website Image TypeImage Dimensions (W x H)Image Aspect Ratio
Background Image1920 x 1080 pixels16:9
Hero Image1280 x 720 pixels16:9
Website Banner250 x 250 pixels1:1
Blog Image1200 x 630 pixels3:2
Logo (Rectangle)250 x 100 pixels2:3
Logo (Square)100 x 100 pixels1:1
Favicon16 x 16 pixels1:1
Social Media Icons32 x 32 pixels1:1
Lightbox Images (Full Screen)1600 x 500 pixels16:9
Thumbnail Image150 x 150 pixels1:1

Not only image dimensions are important, but also the image file size. Make sure to compress your website images - try TinyIMG online image compression tool for free!

Website image guidelines 2024

Image sizes greatly influence the user experience, Search Engine Optimization, and overall website performance. Irrespective of the type of image file used, the key to a great website is the size of the images. Here is a detailed overview of the guidelines for general image size specifications across websites.

Suggested reading
  • eCommerce site speed: why it's important and how to improve page loading time
  • Product page SEO: best practices for eCommerce
  • Image SEO: in-depth guide for 2024

Website background image size

  • Height - 1080 pixels
  • Width - 1920 pixels
  • Aspect ratio - 16:9
  • PPI - 72

Things to consider: Depending on the design of the website, the size of the background image can be up to 2400px by 1600px and under 20MB in file size.

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (1)

A website background image can provide a wholesome experience by taking up the entire landscape of the page. These background images are key in upping the wow factor of the brand and thus are high in quality, size, and suitable in ratio.

As long as the pixels per inch (PPI) value is at 72, you can upload a background image size of up to 2400px by 1600px or 16:9 aspect ratio. However, the ideal size is 1920px by 1080px. When uploaded at the recommended size, background images will scale or shrink according to the device. Therefore, depending on the design, the uploaded background image can be the largest image uploaded on the website with a limit of up to 20MB.

Choosing wide-angled images will make background images fulfill their intended purpose. However, keeping the file size of images as small as possible without compromising the quality is vital for quick loading time. An online image compression software like the one by TinyIMG can keep the quality and reduce the file size of background images.

Website hero image size

  • Height - 720 pixels
  • Width - 1280 pixels
  • Aspect ratio - 16:9
  • PPI - 72

Things to consider: Depending on the design of the website images of up to 1800px in width can be used.

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (2)

Hero images can either take up the entire height or half the height of the page. Hero images will display well with an image size of 1280px by 720px at an aspect ratio of 16:9. If hero images are the central aspect of the website, a width of up to 1800px can achieve the desired effect. The website's loading speed can be affected by the clarity of the image.

Therefore, maintaining a 72ppi of hero images will provide both clarity and small file size for the best outcome. As a rule of thumb, the recommended load speed of a webpage should be 2 seconds for optimal traffic and SEO purposes.

Today, 90% of website traffic is generated from mobile devices. On mobile websites, the hero images display well at a size of 800px by 1200px. However, content management systems automatically scale images to suit a mobile device browser.

Website banner size

  • Height - 250 pixels
  • Width - 250 pixels
  • Aspect ratio - 1:1
  • PPI - 72

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (3)

Website ad banners can be laid out in different sizes. Vertical, portrait, leaderboard, full/half-page, and square banners are the most common types of website banner images. Most websites opt for a banner image size of 250px by 250px or a 1:1 aspect ratio.

Vertical/sky scrapper banners are also popular at 160px by 600px. Banner images should be designed according to the dimensions required and compressed to a small image file size. Keeping the focus area of the image to the middle will avoid any cropping of the pictures when they are displayed on mobile devices. Find out more suggested banned sizes in this guide.

Mobile devices display banner images well when they are 1:9, 1:1, 1:1, or 4:5. It also helps to remember that file sizes of images should be kept as small as possible without compromising on quality. The largest image size on a website should not exceed 20MB.

Website blog image size

  • Height - 630 pixels
  • Width - 1200 pixels
  • Aspect ratio - 3:2
  • PPI - 72

Things to consider: It is important to consider the area above the fold (the visible part before scrolling) when choosing the size of the image. If the image is important a larger image size should be used. If the text is important the size of the image can be sacrificed.

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (4)

When uploading blog images, remember that these images should be suited for sharing across social media channels. Generally, blog images nest well on a website at 3:2 aspect ratio or 1200px by 630px. Blog images in landscape format are best sized to 1200px by 900px and featured blog images in portrait format are best sized to 900px by 1200px.

High-quality images with small file sizes should be uploaded for blog images. For blog images, the largest recommended file size is 150KB. The smaller the file size, the better the speed of the blog. For the CMS to adapt blog images to different sizes, they should be 72ppi with the focus area centered.

Website logo size

  • Height - 100 pixels
  • Width - 250 pixels
  • Aspect ratio - 2:3
  • PPI - 72

Things to consider: Logo images can be square or rectangle. Therefore, a 1:1 or a 2:3 aspect ratio can be used.

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (5)

The website's logo is the most crucial element that speaks of the brand and all the website's contents. On most websites, logos are displayed on the top left corner of the page or at the top center. Logos are usually uploaded in a square format at a 1:1 aspect ratio or a rectangle format of 2:3.

PNG format is the recommended file format for logo files as they have transparent backgrounds to blend into the website. For desktops, a maximum height of 100px is recommended for logos of different widths.

If you don't have a logo yet, you can create a basic version using one of the best online logo makers

Website favicon size

  • Height - 16 or 32 pixels
  • Width - 16 or 32 pixels
  • Aspect ratio - 1:1
  • PPI - 72

The optimal size for favicons for websites is 16px by 16px, 32px by 32px or 1:1 aspect ratio. This size is what all browsers use to display favicons. However, to avoid viewing a stretched version of the favicon on large screens, multiple image sizes are created at a 1:1 aspect ratio.

The most standard formats for favicons are ICO and PNG for compatibility across browsers. Several easy-to-access tools can convert a logo into a favicon suitable for uploading to a website.

Mobile image size recommendations

Most responsive websites will automatically resize all images to display on mobile devices. The image sizes have to be designed to fit mobile versions of websites like desktop websites. If the desktop images are too big, the display on mobile devices will be distorted. Therefore, correct dimensions need to be set for images for automatic scaling on mobile.

Images with an aspect ratio of 1:1 will have no problem displaying on mobile devices. However, depending on the automatic resize setting, some cropping may occur on mobile devices for images with aspect ratios of 16:9 or 3:2. For this reason, the safest approach with responsive images is to keep the focus area of the subject in the middle.

Why is image size important for websites?

One of the first things that an SEO expert would recommend is the image size of media elements on the website. Uploading large images to websites is counterproductive to the website's overall performance. Valuable website storage space is consumed, and the website's load speed can be drastically reduced. And an overlooked website speed is one of the most common SEO mistakes.

A slow website takes potential customers and website traffic away from your website. The Google Search Engine will down-rank the website, and your business will suffer.

When you upload perfectly sized images for your website theme, the results are not just limited to a seamless website. The CMS will display the images correctly, the bounce rate will be low, and you will be one step closer to a perfect SEO ranking.

What image format to use for the web?

Since different image formats can be used on a website, it is tricky to choose which ones to use. Here are some of the most common image formats used on websites:

  • JPEG – Being one of the most common image formats used for images, JPEG is a lightweight lossy compression image format. JPG file formats are great for products, blog, and background images used on websites.
  • PNG – PNG is an image format that uses lossless compression. The alpha channel in PNG format allows background transparency too. PNG is perfect for icons, logos, and other graphics.
  • GIF – The GIF file format is a nifty image file format that can be used for short animated clips with small file sizes. GIF also has an alpha channel and is excellent for product images.
  • WEBP – WEBP images are a new image format that is becoming popular. The format offers smaller file sizes of images than JPEG at excellent quality, making it great for any product, banner, and featured image.

Other image optimization aspects

There is more to just ensuring that the dimensions of an image are accurate when considering SEO. Below are some of the other important aspects to consider for image optimization.

Image compression

When an image is compressed, similar pixels that make up the image are grouped and condensed using an image compression software like TinyIMG image compressor. Keeping the image file size to the minimum aids in increasing the loading time of the website.

Apart from the load time, the bounce rate is lowered, and the overall user experience is enhanced. Compressing an image removes any metadata that is attached to the images, making it suitable for both SEO and website performance. While the quality of the image is reduced when image compression is applied, viewers can hardly notice the difference on a digital device.

Image SEO optimization

When images are SEO optimized, they help with search engine ranking, speed, storage space, and a seamless user experience. Search engines favor websites with images not found anywhere else on the web. Image search is important to users who look for images to inspire and visually explain subjects. Therefore, image optimization helps search engines understand the content of your website. Here are some of the image optimization elements for SEO:

  • Unique image
  • Defined dimensions
  • ALT tag text and title
  • Image sitemap
  • Image captions
  • Image size optimization

How to find out image sizes for your website?

Websites are unique according to the style chosen by the creator. Sites that use WordPress, Shopify, Wix, Squarespace, and other CMS, require images of recommended sizes.

In addition to this, custom-designed websites have fixed dimensions required for images. While finding the image dimensions for a website can seem daunting, here are some tips to help you find the image sizes for standard website platforms:

Shopify Themes

  • Shopify allows users to upload images of up to 4472px by 4472px, with a limit of 20MB per image at 72dpi.
  • The minimum size required for product images on Shopify is 800px by 800px.
  • Check if your Shopify theme comes with a guide to the recommended image sizes.
  • Note the image sizes that work best on your Shopify store for future use.

Try the TinyIMG Shopify app today with 50 free image optimizations

Install now

WordPress Themes

  • The recommended image size in WordPress is up to 1024px by 1024px.
  • Most WordPress themes have a full documentation file that helps users find the best image sizes for the theme.
  • If you changed the image size to suit your design and display, make a note of it.

Custom Websites

  • A custom-built website developer usually provides documentation that outlines the best image sizes
  • “Right-click” on an image you want to find the dimensions for on a Chrome browser. Choose “Inspect Element” to find the size of the image in the highlighted code.

Summary

With multiple screen sizes of browser-enabled devices available today, image sizes are tough to predict. However, uploading the right image size has profound advantages for SEO and overall site appeal.

This article is an overview of image sizes for website owners, with guidelines for determining the best image dimensions. While the dimensions of the images are important, the file size of the images is also a big concern. Using the lazy loading script will only load crucial images as a priority for users who have image-heavy websites.

Curious to read more? Check out these articles:
  • Tips and tricks for better smartphone product photos
  • Best stock image websites for entrepreneurs
  • How to reduce the image file size

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (6)

Share

Frequently asked questions

What is the best image resolution for web?

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (9)Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (10)

The best image resolution for the web is 72 pixels per inch(PPI). At 72ppi, images are great for viewing and sharing. They also have small file sizes, ideal for website storage and SEO purposes.

What does the "save image for web" option do?

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (11)Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (12)

The "save image for web" option adapts images for web viewing and search engine optimization. The feature is prominent on Abobe Photoshop as a single button. However, those who do not have Photoshop can use image compression and optimization tools like TinyIMG to get the same benefits.

What is the difference between high resolution and web size?

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (13)Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (14)

High-resolution images have large file sizes and are not compressed or optimized for web viewing. These images are best for graphic and print files with a resolution of around 300ppi. Web size images are optimized for web viewing, are small file-sized, and have a resolution of around 72ppi.

About the author

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (15)

Gillian Jane Mercylin

Gillian is a versatile digital specialist who has managed and consulted for innovative businesses, globally. She is a digital design, marketing, advertising and SEO specialist. Yes! She is a cluster of creativeness with unrivaled knowledge and deep rooted understanding in the digital industry. When she writes, she does so with passion to share her knowledge with those who can benefit from it.

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG (2024)

FAQs

Best Image Size for Websites: Dimensions, Ratio, Weight | TinyIMG? ›

To ensure that your full width images look good across any device big or small the recommended size is 2400x1600px. Note that devices have different ratio than the one you shoot and it is possible your images will be cropped when viewed on web.

What is the best image ratio for website? ›

Best image dimensions for desktop and mobile devices
Website image typeDesktop image dimensions (W x H)Recommended aspect ratio
Background image2560 x 1400 pixels16:9
Hero image1280 x 720 pixels16:9
Website banner1200 x 400 pixels3:1
Blog image1200 x 800 pixels3:2
6 more rows
Apr 23, 2024

What size should I resize images for website? ›

To ensure that your full width images look good across any device big or small the recommended size is 2400x1600px. Note that devices have different ratio than the one you shoot and it is possible your images will be cropped when viewed on web.

What is the best image size for a fast website? ›

Use images 500 KB or less to help your site load quickly. It's best to upload high-quality images that are as large, or larger, than the maximum size you expect the image to display on your site. This will result in the resized versions of the image displaying in the best quality.

What is the ideal image size for online? ›

Average Recommended Image Sizes & File Sizes
Image TypeAverage SizeAverage File Size
JPEG1200×800 pixels100-200 KB
PNG1200×800 pixels200-500 KB
GIF600×400 pixels500-800 KB
SVGScalableVaries
1 more row

How do I optimize image size for website? ›

How to optimize images for the web
  1. Benchmark your current site speed.
  2. Know how to choose the best image file type.
  3. Resize your images before exporting.
  4. Compress images to reduce file size.
  5. Automate image optimization with a WordPress plugin.
  6. Use the “blur up” technique to load a Lower Quality Image first.
Jun 6, 2024

What is the best quality image format for web? ›

PNG is preferred over JPEG for more precise reproduction of source images, or when transparency is needed. WebP/AVIF provide even better compression and reproduction, but browser support is more limited. Support: Chrome, Edge, Firefox, IE, Opera, Safari.

What size is a high quality image? ›

Anything 300 PPI or over is usually considered to be high resolution. DPI –Dots Per Inch, is a measurement to determine the resolution of an image for printing.

What is the best image format for website speed? ›

Webp is the best format for web.

If high loading speeds are important for you, choose WebP as the image format for your website. JPG and PNG are also good choices for the web. If your choice is between JPG or PNG, use JPG for photos and PNG for logos.

What size is a hero image for a website? ›

The ideal size for a full-screen hero image is 1,200 pixels wide with a 16:9 aspect ratio. For a banner hero image, the ideal size is 1600 x 500 pixels. If you need crystal-clear images, or your target audience browses on large screens, you may have to size up to 1,800 pixels.

Which image size is best? ›

An image size of 1280 x 720 pixels is large enough to be HD standard and is commonly used in photography and film. This size uses a 16:9 aspect ratio, which is also common in filmmaking.

What is the best aspect ratio for online? ›

16:9 Aspect Ratio

Common video resolutions in the 16:9 ratio are 1920 x 1080 pixels and 1280 x 720 pixels. Most social platforms support this shape.

What is the best width for a website? ›

The optimal width is generally between 940px - 1000px width.

Some designers will set their design field wider (up to 1440px), but will place guides at 1000px so that content stops at that width. This width allows you to cater to the majority of devices that people are using and will still look nice on wider screens.

What is the best image setting for web? ›

Image size and scaling.

The commonly held standard for web-optimised images is 72 pixels per inch (PPI). This should look great on different devices, and keep your page loads sharp.

What should my image ratio be? ›

Most photographers choose to shoot in 3:2 aspect ratio in the camera, a standard ratio of an image based on 35mm film. But if you're planning to shoot just for social networks purposes, choosing 4:5 in your camera may work in your favor.

What is the best image for a website? ›

Different image formats can work better depending on the platform you're using. JPEGs and PNGs are generally recommended for websites, while WebP is another popular option, as these images are typically 25-30% smaller.

Top Articles
Latest Posts
Article information

Author: Frankie Dare

Last Updated:

Views: 6060

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Frankie Dare

Birthday: 2000-01-27

Address: Suite 313 45115 Caridad Freeway, Port Barabaraville, MS 66713

Phone: +3769542039359

Job: Sales Manager

Hobby: Baton twirling, Stand-up comedy, Leather crafting, Rugby, tabletop games, Jigsaw puzzles, Air sports

Introduction: My name is Frankie Dare, I am a funny, beautiful, proud, fair, pleasant, cheerful, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.