DPI for web images: what actually matters (and what doesn't)

For web images, 72 dpi and 96 dpi are functionally identical. Browsers ignore DPI metadata entirely and render images based solely on pixel dimensions. The best practice for web images is to set the correct pixel width and height for your layout, then compress the file. DPI is a print concept with no effect on how a web page loads or looks.
Key takeaways
Browsers render images by pixel count, not DPI. A 1200 × 800 image displays at the same size whether its DPI metadata reads 72, 96 or 300.
DPI metadata adds a negligible amount of data to an image file but contributes zero visual quality to what a visitor sees on screen.
The meaningful spec for web images is pixel dimensions plus file size. A 1200 × 800 JPEG compressed to under 150 KB will load faster and look sharper than a bloated 300 dpi version of the same image.
For high-density (Retina) screens, the answer is not higher DPI — it is supplying a 2× pixel-dimension image and letting the browser scale it down through srcset.
File format choice (WebP over JPEG where supported, SVG for logos) has a far greater effect on load time and quality than any DPI setting.
Why does the 72 dpi vs 96 dpi debate exist at all?
The distinction has a historical origin. Early Apple Macintosh monitors ran at roughly 72 pixels per inch of physical screen. Early Windows monitors ran at 96 pixels per inch. Software developers used those figures as "screen resolution" defaults, so images exported for screen were often saved at one or the other.
Those numbers described physical monitor density in the 1980s and 1990s. They have never been instructions to the browser. When you upload an image to a website, the browser reads the pixel grid — the actual rows and columns of coloured squares — and ignores the DPI tag entirely. A 1200-pixel-wide image is displayed at 1200 pixels regardless of what number sits in the metadata field.
What actually controls how a web image looks and loads?
Three things determine image quality and performance on the web.
Pixel dimensions. This is the real spec. If your content column is 800 pixels wide, an image 800 pixels wide (or 1600 pixels wide for Retina displays with a proper srcset implementation) is what you need. Anything beyond that is wasted data.
File size in kilobytes. A smaller file loads faster. Page speed is a confirmed Google ranking signal, and image weight is frequently the largest single contributor to page load time. An uncompressed 300 dpi JPEG exported from Adobe Photoshop can run to several megabytes. The same image resized to 800 pixels wide and compressed to WebP might be 60–80 KB with no visible quality loss on screen.
File format. WebP delivers smaller files than JPEG at comparable quality. SVG is resolution-independent and tiny for logos and icons. AVIF offers even better compression than WebP where browser support allows. PNG remains appropriate for images with transparency. Choosing the right format matters measurably; adjusting DPI metadata does not.
When does DPI actually matter?
DPI is relevant the moment an image leaves the screen and meets physical output: print, physical signage, press-ready PDFs. A magazine printed at 300 dpi needs an image with enough pixels to fill the printed dimensions at that density. A banner printed at 1 metre wide needs a different calculation again.
If a small business owner is preparing images for a printed brochure alongside their website, the correct workflow is: export for print at the appropriate pixel dimensions for the print size and DPI required; export separately for web at the screen pixel dimensions, compressed, with DPI left at whatever the tool defaults to.
A digital marketing agency worth working with will tell you the same thing: keep print and web asset workflows separate from the start, because conflating them leads to either bloated web images or poor-quality print output.
DPI vs pixel dimensions: a direct comparison
Concept | Where it matters | Where it is ignored |
DPI (dots per inch) | Print, physical signage, press output | Web browsers, email clients, social platforms |
Pixel dimensions (width × height) | Web, social media, email, print | Not ignored anywhere — always the root spec |
File size (KB/MB) | Web performance, page speed, SEO | Not relevant to print quality |
File format | Web (load speed, quality) | Print (formats differ: TIFF, EPS) |
How should a small business decide on web image settings?
Apply these criteria before exporting any image for the web:
Measure the maximum pixel width at which the image will display in your layout. Use your content management system or browser developer tools to confirm this.
Export the image at that pixel width (double it if you want Retina quality, then use srcset to serve the right version).
Compress using WebP where your platform supports it. Aim for under 100 KB for most editorial images and under 200 KB for full-width hero images.
Leave DPI at whatever your export tool defaults to. It has no bearing on the result.
For teams building or auditing a site's search and content performance, image optimisation is a practical, measurable win — reducing file weight directly improves Core Web Vitals scores, which feed into Google's ranking signals.
Frequently Asked Questions
Does saving a web image at 72 dpi instead of 96 dpi make the file smaller? No. DPI metadata occupies a trivial amount of space in the file header and has no meaningful effect on file size. File size is determined by pixel count, colour depth, compression algorithm and format. To reduce file size, reduce pixel dimensions or increase compression — not DPI.
Will a 300 dpi image look sharper on a website than a 72 dpi image? Not if the pixel dimensions are the same. A 800 × 600 image at 300 dpi and a 800 × 600 image at 72 dpi are visually identical on screen, because the browser renders all 800 × 600 pixels in both cases. The 300 dpi version may actually be a larger file with no visible benefit.
What DPI should I set when exporting images in Photoshop or Canva for my website? Set 72 dpi or 96 dpi — either is fine, because the number is irrelevant to web output. Focus instead on setting the pixel dimensions to match your layout requirements, then export using Save for Web or equivalent, choosing WebP or compressed JPEG.
Do social media platforms care about image DPI? No. Facebook, Instagram, LinkedIn and all major platforms strip or ignore DPI metadata. They care about pixel dimensions and file size. Instagram, for example, recommends 1080 × 1080 pixels for square posts — that is a pixel spec, not a DPI requirement.
Does image DPI affect my Google rankings? DPI itself has no effect on rankings. What does affect rankings is page speed, which is directly influenced by image file size. A large, uncompressed image exported at 300 dpi and incorrect pixel dimensions will slow your page down. The fix is compression and correct pixel sizing — DPI is not the variable to adjust.
Written by the Revolve team — a digital marketing agency based in Banbury, Oxfordshire, delivering SEO, AEO and content strategy for UK small and mid-sized businesses.
Last updated: 5 October 2026
By Sam White
Need expert support on search, paid media or measurement?
Get in Touch →