Key Takeaways
- Website image size is the width and height in pixels, and it directly affects load speed, UX, and SEO.
- Each placement has its own size: banners 1920×600 px, blog images 800×500 px, and social share images 1200×630 px.
- Wrong image sizes hurt LCP and CLS scores, so declare width and height and compress images before uploading.
What is the best image size for a website in pixels? It’s a question almost every site owner, content manager, and developer runs into when building or optimizing a site. An image that’s too large slows page load, drags down your Core Web Vitals, and directly hurts SEO rankings. An image that’s too small looks blurry and unprofessional and erodes user trust. There’s no single number that works for every placement; the right size depends on the type of image, the type of page, and its purpose. This guide covers the standard dimensions for each placement and shows you how to optimize images for SEO so your site performs at its best.
Website image size cheat sheet
| Image type | Standard size | Notes |
|---|---|---|
| Homepage banner/slider | 1920×600 px (or 1360×540 px inside the content area) | Homepage banner/slider on desktop |
| Blog post featured image/thumbnail | 800×500 px | Shown in post listings |
| In-content blog images | 600×375 px | Full-width inline |
| Product thumbnail | 300×400 px | Listing pages |
| Product detail image | 600×800 px | Single product page |
| Logo ngang | 250×100 px | Header website |
| Square logo | 160×160 px | Icon/avatar style |
| Favicon | 16×16 px or 48×48 px | Browser tab |
| Social sharing thumbnail | 1200×630 px | Open Graph |
What is website image size, and why standardize it?
Website image size refers to the width and height of an image displayed on a web page, measured in pixels (px). It’s not just a design detail. Image size directly affects three core aspects of a website: page speed, user experience, and SEO performance.
When images aren’t the right size, the browser has to scale or crop them on the fly, which uses resources and slows page rendering. According to the HTTP Archive’s Web Almanac, the LCP element on most mobile pages is an image, and LCP is one of the three Core Web Vitals.
Benefits of standardizing website image sizes
Standardizing website image sizes means faster pages, sharper images, and a stable layout on every device. The benefits fall into three groups: supporting on-page SEO through Core Web Vitals, improving user experience, and keeping visuals consistent across desktop, tablet, and phone.
- Better SEO: Google rewards sites with properly sized images because they load faster and score better on Core Web Vitals, which contributes directly to search rankings.
- Better user experience: Images display at the correct aspect ratio without pixelation or blur, which looks professional and keeps readers on the page longer.
- Consistency across devices: Properly sized images look good on desktop, tablet, and smartphone without awkward cropping or distortion.
Standard website image sizes by placement
There’s no universal size for every image on a website. The right dimensions depend on where the image sits and the role it plays on the page. Here are the most common standard sizes.
Homepage banner/slider image size
The slider or hero banner is the first image visitors see, so it’s effectively the face of your website. It needs to be large enough to look sharp on high-resolution desktop screens while also being responsive so it looks good on phones.
Standard sizes used by most web platforms:
- Desktop: 1920×600 px (16:5 ratio) for a full-width banner, or 1360×540 px (about 5:2) for a banner inside the content area.
- Mobile: 800×1200 px (2:3 ratio) for a vertical banner, or 1080×1080 px (1:1 ratio) for a square banner.
When designing a homepage banner, keep the text and call to action in the center so they aren’t cropped on smaller screens.
Blog post image sizes
Images in blog posts fall into two types with different jobs:
- Featured image (thumbnail): The post’s main image, shown in post listings and search results. Standard size: 800×500 px.
- In-content images: Images inserted into the body to illustrate a point. Standard size: 600×375 px or 300×188 px, depending on whether they’re full-width or inline.
A 600×375 px image has a 16:10 ratio, which fits most blog content areas today. The 16:9 and 3:2 ratios are also very common and help images look consistent on both desktop and mobile.
Standard product image sizes
Product images directly influence purchase decisions. If they’re too small, shoppers can’t see product details; if they’re too large, product pages load slowly, which seriously hurts an ecommerce site.
Two common standard sizes:
- Product thumbnail (shown in listings): 300×400 px
- Product detail image (single product page): 600×800 px or 800×800 px (square)
If your site supports product image zoom, prepare originals at twice the size (1200×1600 px) so they stay sharp when enlarged.
Standard website logo size
Your logo is the brand element that appears on every page, usually in the top-left corner or centered in the header. Logo size depends on your layout, but there are two common formats:
- Horizontal logo: 250×100 px, 350×75 px, or 400×100 px
- Square logo: 160×160 px
Note: Export your logo as SVG or as a PNG with a transparent background so it displays correctly on any background color. Avoid JPEG for logos because it doesn’t support transparency.
Favicon size
A favicon is the small icon that appears in browser tabs, the bookmarks bar, and mobile search results. The most common sizes are 16×16 px and 48×48 px. Prepare both so the browser can pick the right version.
Social sharing thumbnail size
When you share a post on Facebook, LinkedIn, or X, the preview image comes from the Open Graph tag, not necessarily the post’s featured image. The standard social sharing thumbnail size is 1200×630 px (about 1.91:1).
Without an image at this size, Facebook and other platforms will crop the image to their own ratio, which can distort the preview or cut off important content.
Are Facebook and website image sizes the same?
No. Facebook and website image sizes differ because each platform has its own display frame and cropping rules. Facebook feed posts usually use 1080×1080 px or 1080×1350 px, while in-content website images are commonly around 800×500 px. For link shares (Open Graph), use 1200×630 px so the preview displays fully when the post is shared on Facebook.Standard image sizes by page type
Besides placement, the page type also determines image size requirements. Many sites overlook this and use the same image size on every page type, which creates inconsistency and hurts performance.
Homepage
The homepage usually has the most images: sliders, service banners, about sections, and CTA blocks. Each placement needs its own size:
- Hero banner: 1920×600 px full-width (or 1360×540 px inside the content area)
- About/services section images: 600×400 px
- Feature icons: 80×80 px or 120×120 px (SVG so they scale cleanly)
Product category page
Category pages show many products at once in a grid or list. Oversized images slow down the whole page when dozens of products load at the same time.
- Product thumbnails in a grid: 300×400 px (3:4 ratio)
- Category banner: 1200×300 px
On category pages, load speed matters more than maximum sharpness. Use WebP and lazy loading so images only load as users scroll to them.
Trang Landing Page
Landing pages focus on conversions, so images should be high resolution to make a strong impression. Still, file size must be tightly controlled because page speed directly affects bounce rate.
- Landing page hero image: 1440×810 px or 1920×1080 px
- USP/feature images: 600×400 px
- Testimonial/customer photos: 100×100 px (displayed as circles; crop to square first)
Blog post pages
The blog image section above covers the dimensions to use. One more tip: a reasonable number of images is 1–2 for a news-style SEO post, 5–7 for long-form posts of 2,000+ words, and 15–25 for product or review posts.
Contact page
Contact pages usually don’t have many images, but if you include office photos or a map, these sizes work well:
- Office/showroom photos: 800×500 px
- Team photos (if any): 300×300 px (square)
How do wrong image sizes affect Core Web Vitals?
Incorrectly sized images increase LCP, cause CLS layout shifts, and can slow INP, all three Core Web Vitals Google uses to evaluate page experience. By Google’s thresholds, a good page needs LCP of 2.5 seconds or less, CLS of 0.1 or less, and INP of 200 milliseconds or less.
LCP (Largest Contentful Paint): time to render the largest content
LCP measures how long it takes for the largest element on the page (usually the hero banner or featured image) to fully render. Heavy or unoptimized images increase LCP; the target is under 2.5 seconds.
For example, a 2 MB JPEG banner will have a noticeably higher LCP than the same image as a 400 KB WebP, even when both display at the same size on screen.
CLS (Cumulative Layout Shift): how much the layout moves
CLS happens when elements on the page shift position while it loads. The most common cause is images without width and height attributes in the HTML: the browser doesn’t know how much space the image will take, so the layout jumps when it finishes loading.
The simple fix: always set width and height on the <img> tag, or use the aspect-ratio property in CSS. Your target CLS score is below 0.1.
INP (Interaction to Next Paint)
Large images cause main-thread blocking, keeping the browser busy processing images so it can’t respond quickly to user interactions. This affects INP, especially on low-end mobile devices.
How image size affects Core Web Vitals
| Metric | Target | Impact of improperly sized images |
|---|---|---|
| LCP | < 2.5 seconds | Large image -> slow load -> high LCP |
| CLS | < 0,1 | No width/height set -> layout shift |
| INP | < 200ms | Heavy image -> main thread blocked -> slow response |
2 factors that determine the right image size for your website
The right website image size matches the image’s placement and the viewer’s device. A homepage banner needs to be about 1920 px wide on desktop, while an in-content image only needs about 800 px. These two factors determine the numbers for each site.
Image placement
Each area of a website has a container with its own maximum width depending on the design. Before choosing an image size, check the container’s actual width in the CSS. That’s the number that matters, not the visitor’s screen resolution.
| Image placement | Image type | Characteristics |
|---|---|---|
| Homepage | Slider, logo, banner | Large, eye-catching |
| Product page | Detail images, thumbnails | High sharpness |
| Blog post | Illustrations, featured image | Depends on the content |
Device compatibility
Websites are viewed on many devices with different screen resolutions. To keep images sharp on retina (high-DPI) screens, you can use images at twice the display size. For example, if an image displays at 400×300 px, prepare an 800×600 px original. HTML5 supports the srcset attribute to serve the right image size for each device without forcing mobile users to download large images.
How to check the image sizes used on your website
To check image sizes on a website, use your browser’s Developer Tools or view the image file’s properties on your computer. Developer Tools show both the rendered size and the original (intrinsic) size of images on the page. File properties let you check images before uploading them to WordPress.
Method 1: Use Developer Tools (Inspect):
- Open the page you want to check
- Right-click the image -> choose Inspect
- Hover over the HTML that contains the <img> tag to see its size (intrinsic size and rendered size)
- Or click the image link in the Sources panel -> the original dimensions are shown
Method 2: Check the image file’s properties:
Before uploading, right-click the image file on your computer -> Properties -> Details -> check the Width and Height values (on a Mac, use Get Info).
Tips for optimizing website image sizes for SEO
Optimizing website image sizes for SEO means combining the right pixel dimensions with the right format, file size, file name, alt text, and lazy loading. A 1200 px image that weighs 2 MB will still slow your page. The six tips below are the foundation of image SEO, keeping images light and easy for Google to understand.
Choose the right image format
| Format | Advantages | Best for |
|---|---|---|
| JPEG | Small file size, rich color | Photos, real product images |
| PNG | Supports transparency, sharp | Logos, icons, images with text |
| WebP | 25–34% lighter than JPEG/PNG, high quality | The preferred choice for modern websites |
| GIF | Supports animation | Short animations, animated icons |
| SVG | Vector, scales without losing quality | Logo, icon, illustration |
Recommendation: Use WebP for all images displayed on the web (all modern browsers support it). Use PNG for logos and icons. Use JPEG when you need broader compatibility.
Beyond WebP, AVIF is a next-generation format with significantly smaller files at the same quality. AVIF is supported by Chrome, Firefox, Edge, and Safari, and WordPress has allowed AVIF uploads since version 6.5. Use AVIF for large images like banners and keep WebP as a fallback when you need wider compatibility.Reduce file size before publishing
Correct pixel dimensions with an oversized file will still slow down your page. Reference file sizes:
- Under 100 KB: Ideal for most content images
- 70 to 200 KB: Acceptable for high-quality images
- Over 500 KB: Compress before uploading
Effective free compression tools: TinyPNG, Squoosh (by Google), and iLoveIMG. On WordPress, plugins like Imagify or ShortPixel compress images automatically on upload.
Use keywords in image file names
Image file names are an often-overlooked SEO factor. Instead of naming a file IMG_2578.jpg, name it after what the image shows and include a relevant keyword: best-image-size-for-website.jpg. Use hyphens - to separate words and avoid spaces or special characters.
Optimize image alt text
Alt text is a text description of an image that helps Google understand it and serves visually impaired users. Good alt text describes the image accurately, may include a keyword naturally, and isn’t stuffed with keywords.
Good example: alt=Chart of standard website image sizes by placement for SEO
Poor example: alt=image size website image size image SEO image
Set width and height in HTML
As mentioned in the Core Web Vitals section, always set the width and height attributes on the <img> tag so the browser can reserve space for the image before it loads, preventing CLS.
Lazy-load images below the fold
For images further down the page (below the fold), use the loading=lazy attribute to delay loading until the user scrolls near them. This reduces the resources needed for the initial page load and improves LCP. Don’t lazy-load your LCP image, such as the hero banner or the first image in a post, because the browser will load it later and increase LCP. Instead, add the fetchpriority attribute with a value of high so the browser loads your most important image first.
Tools for resizing and optimizing website images
Image resizing tools fall into four groups: professional design software, built-in computer tools, online editors, and dedicated compression tools. Design software is best when you need to crop to an exact ratio, while compression tools reduce file size while keeping images sharp.Professional design software
- Adobe Photoshop: The industry-standard tool for advanced photo editing. It supports everything you need: resizing, cropping, exporting at specific dimensions, and optimizing file size on save (Export/Save for Web).
- Krita: Free software with Photoshop-like features and an intuitive interface, a good fit if you don’t have a budget for commercial software.
- Paint.NET: A lighter option with enough features for basic resizing and cropping, completely free on Windows.
Built-in computer tools
- Paint (Windows): Built in and lets you resize images by pixels or percentage. Great for quick edits without installing extra software.
- Preview/Photos (macOS): The default Mac apps support basic image resizing and exporting to the format you need.
Online image editors (no installation needed)
- Canva: Beyond graphic design, Canva can resize images to preset or custom dimensions. It’s beginner-friendly and supports WebP export.
- Fotor: A free online photo editor that lets you resize freely or with presets, plus adjust brightness and color balance.
- Pixlr: Offers everything from basic to advanced features in the cloud, so you can edit and resize images right in your browser. Supports JPEG, PNG, and GIF.
Dedicated compression tools
- TinyPNG / TinyJPG: Compresses PNG and JPEG images with smart lossy compression, cutting file size significantly (often 40 to 70%) with differences that are hard to see.
- Squoosh: Google’s tool that lets you compare image quality before and after compression side by side, with WebP export.
- iLoveIMG: Compresses many images at once, handy for projects that need batch processing.
Website image size FAQs
The questions below cover what people commonly search on Google about website image sizes. Each answer gives specific numbers you can apply right away when designing or uploading images.What is the best image size for a website for SEO?
There’s no single size for an entire website. Each placement has its own size: homepage banners at 1920×600 px, blog images at 800×500 px, and product images at 600×800 px. Even more important than pixel dimensions are file size (under 200 KB for most images) and the right format (WebP is recommended).
What size should a website banner image be?
On desktop, a website banner should be 1920×600 px (16:5 ratio) for a full-width banner, or 1360×540 px for a banner inside the content area. On mobile, vertical banners should be 800×1200 px (2:3 ratio). Keep text and buttons in the center of the image so they aren’t cropped on phones.
What are the most common image sizes on websites today?
The most common sizes are 1920×600 px for full-width banners, 800×500 px for blog featured images, and 600×800 px for product detail images. Social sharing images typically use 1200×630 px so they display fully when links are shared on Facebook. Choose sizes based on where each image appears rather than using one size for everything.
What is the standard thumbnail/featured image size?
The standard thumbnail or featured image size for a blog post is 800×500 px, while Open Graph sharing images should be 1200×630 px. YouTube thumbnails need 1280×720 px (16:9), and product thumbnails use 300×400 px. Keep the same ratio for all thumbnails so your post grid stays even.
Why should you optimize image sizes on your website?
Incorrectly sized images cause three main problems: heavier page weight -> high LCP -> lower SEO rankings; no declared dimensions -> layout shift (CLS) -> poor user experience; blurry or distorted images -> unprofessional look -> lower conversion rates.
What is the best image format for websites?
WebP is the best image format for most websites today thanks to its small file size and support in every major browser. According to Google, lossy WebP images are 25 to 34% smaller than comparable JPEGs, and lossless WebP images are about 26% smaller than PNGs. Use PNG for logos and icons that need a transparent background, and JPEG when you need compatibility with older systems. For large images like banners, consider AVIF for even smaller files.
How can I reduce image file size without losing quality?
The three most effective methods: (1) use a compression tool such as TinyPNG (smart lossy compression) or Squoosh to cut file size with almost no visible change; (2) switch to WebP instead of JPEG/PNG; (3) resize images to their display size before uploading, instead of uploading a 4000 px image and letting CSS shrink it to 800 px.
What is the standard product image size for ecommerce websites?
Product thumbnails on category pages: 300×400 px. Detail images on product pages: 600×800 px or 800×800 px (square). If your site supports image zoom, prepare originals of at least 1200×1600 px so they stay sharp when enlarged.
What is the standard website logo size in pixels?
Horizontal (landscape) logos: 250×100 px, 350×75 px, or 400×100 px. Square or icon-style logos: 160×160 px. Export logos as SVG (vector, scales without losing quality) or as a PNG with a transparent background. Avoid JPEG for logos.
What size should a homepage slider/carousel image be?
Standard homepage sliders are 1920×600 px for full-width designs or 1360×540 px for layouts inside the content area. Keep the same ratio for every slide so the height doesn’t jump between slides. Follow the safe-zone rule: keep important content within the central 70% so it isn’t cropped on small devices.
What’s the difference between website and social media image sizes?
Website and social media images differ in aspect ratio and where they appear. Website images often use 16:9 or 3:4, while Facebook link shares use 1.91:1 and feed posts use 1:1. Export a separate version for each so images aren’t cropped in the wrong place.
How do wrong image sizes affect SEO and page speed?
Wrong image sizes slow down page load and lower your Core Web Vitals scores. Heavy images can push LCP past 4 seconds, which Google rates as poor. Images without width and height attributes cause CLS layout shifts, and images without alt text are less likely to appear in Google Images.
Website image sizing should be part of your publishing process, not a fix you apply after pages are already slow. Businesses save a lot of effort by defining a set of sizes for each image placement and having everyone who publishes use them. That keeps Core Web Vitals stable even as your site adds hundreds of new posts. Viwise provides full-service SEO for business websites, from technical and image optimization to content. Our content approach lifts traditional SEO rankings while also increasing visibility on AI platforms (ChatGPT, Gemini, AI Overviews). Contact Viwise for an optimization roadmap tailored to your website.- Website: Viwise Agency
- Email: contact@viwise.vn
Follow Viwise on Google
Add us as a preferred source to see our articles sooner in your Google search results.
Need help with your SEO strategy?
Contact the Viwise Agency team for a free SEO consultation and a strategy tailored to your business.
Contact Us

