Skip to content

DPI & PPI are irrelevant, only pixel dimensions matter on your website

When uploading images to their website, photographers are often worried about what DPI to use for their images.

This is a very common misconception, and this article is meant to clarify this once and for all: DPI doesn’t matter on the web, it’s just a text field acting as an instruction for the printing process. Only the actual pixel dimensions are important.

 

Let’s clarify this once and for all:
only pixel dimensions matter on the web

The entire digital photography workflow is based on pixels:

  • The DSLR camera senzor has pixels
  • The image file saved on the camera’s memory card is in pixels. The manufacturers advertise “mega-pixels” as well, the total number of pixels in an image.
  • When importing into your editing software (like Lightroom), that works on a pixel level as well.
  • When you upload images to your website, browsers display them based on their pixel dimensions. Everything on the web is measured in pixels, not in real-world distance units.

And if you’re scanning old photos, the DPI setting there simply tells the scanner to create X amount of pixels for each inch of paper, it all gets “translated” to pixels again.

The only time when DPI/PPI comes into play is at the printer level: the printer needs to decide how many of the image’s pixels to be printed per physical paper size unit (the standard being inches).

DPI is therefore just a text field saved in the image metadata (like the other IPTC and EXIF values), instructing the printer how many pixels-per-inch to print. The higher the value, the higher quality print you’ll get.

So DPI is just a recommendation in the image metadata. When printing the image, you are free to over-ride it and print at a different DPI. With the same image source, you might need to create a small 10×15 print, a wall calendar, or a giant billboard. Those are all different DPI values basically.

But on the web, DPI is ignored.

Notice how setting different DPI values (72, 300, 9999) to this image does not change the file size at all, no photographic information is changed at all.

 

Examples of (erroneous) questions from photographers:

  • “Do I need to upload 300 dpi versions of all my photos?”
  • “Should I convert the JPG files to 72 DPI?”
  • “For retina displays, do I need to set the DPI to double?”
  • “Often if I go with the regular 72dpi for anything web-based at the size I want, it ends up looking pixelated on my high res screen, so now, I just go for ‘larger than I think it needs to be’ to ensure a crisp look on those retina displays.”
  • “My images are 1500 pixels at their largest dimension, 72 dpi and saved at 6 quality jpg, is that OK?”
  • “I uploaded them as 1200px in length 72 dpi for quick loading… is this size good?”
  • “What DPI should I use for images on the website?”

Where does the confusion come from?

Adobe Photoshop’s “Image Size” dialog can sometimes be confusing:

With the “Resample” option enabled, changing the PPI from 72 to 300 increases the pixel dimensions from 2760×2070 to 11500×8625 using resampling. That’s not actually improving the image quality (quite the opposite), it’s just stretching the image dimensions with the existing pixel information. Resampling is not a solution since it’s still connected to the native resolution. 

If you disable the “Resample” option, changing the PPI has no effect on the pixel dimensions (2760×2070), it’s simply telling you how many inches the images will have when printed at that resolution. No changes are done to the actual image quality, it’s just setting the PPI field in the metadata.

But you’ll notice that Photoshop’s Export dialog (which specifically generates images for the web) only works in pixels, with no sight of DPI/PPI settings:

For the purposes of this article, I’m be using DPI and PPI interchangeably. I know they’re completely different, but many photographers mix them up and they’re both irrelevant for the web.

 

What if you’re selling prints?

Again, only pixel dimensions matter. The larger your images are, the larger the prints you can get at a specific DPI.

For example, to maintain a 300-dpi quality level when printing, a 12PM image at 4032 x 3024 pixels can be printed at 13.44 by 10.08 inches (~ 32 by 25 cm).

If you print the 3 images above (in DPI-aware software) you get different sizes on the page:

And even then, you can manually scale the image as needed for the print, basically ignoring the embedded PPI value:

 

Further reading

Conclusion

With everything related to your photography website, only image pixel dimensions matter. You can ignore DPI/PPI, that’s just a piece of metadata, only relevant for printing and scanning.

And if you’re selling prints, you can set the DPI value to any value you’re comfortable with (like 300), which acts as the default quality level people can print them at (though they can always change it as needed).

Off-topic or inflammatory comments may be moderated.
Please add VALUE to the web, thanks!

Want expert eyes on your photography website?

Website Audit & Strategy Call: A complete manual review of your site's design, speed, SEO, and UX, plus a private strategy call and custom action plan. 100% credited toward any future project.

Website Makeover: Targeted improvements to make your existing site faster, more modern, and better at converting visitors into clients.

 

Search for other articles:

Or explore these related categories:

Fix Your Photography Website in 7 Days

One quick website fix per day, plus instant access to all 10+ of my downloadable guides and two premium email courses in the private subscriber hub (a $240 value)! And then get weekly deep dives & quick tips on design, SEO, copywriting, and marketing. Join thousands of photographers already in.
My BEST advice. Your inbox. Free.

No spam ever. You are free to unsubscribe at any time. 

“If you haven’t subscribed to Alex’s newsletter yet you’re a nutjob!”

“SO MUCH good stuff in there – where have you been all my life!!”

“Definitely worthwhile subscribing  – always full of great info.”

“The most useful out of everything I get via email. So thank you!”

“So much interesting content. It got my head spinning.”

“It’s so comprehensive and I love Alex’s brutal honesty”

“One of the very few emails that I allow to show up in my inbox.”

“Straightforward, to the point, no nonsense, solid information.”

“You have so much good information – it’s almost overwhelming!”

“The best information & advice on photography websites anywhere.”

🎙️ My interview on the Hair of the Dog Podcast Free SEO course for photographers Wedding photographers need to be different 🎙️ New podcast interview The market is selfish Google hates seeing repeated content! How to develop your soft skills as a photographer 7 quick principles for creating a great website 4 ways to make your photography website more trustworthy What are famous photographers doing right on their websites? Or better yet, what are they doing awfully wrong despite being successful?