Here's how to manually calculate the pixel density of your smartphone's display

20comments

Color reproduction and overall properties aside, the pixel density is one of the more vital aspects of a display, regardless of the gadget it is "attached" to. It's an area in which our smartphones have witnessed a staggering growth in the past few years and it seems that the resolution bumps won't stop anytime soon. Let's talk about pixel density a bit, shall we?

Now, in case you're a smartphone geek, you certainly know what's the pixel density of your phone's screen. In case you don't (which we highly doubt, but still), there's an easy way to get around and calculate it on your own. Actually, there are two ways to do so, and have in mind that we're not taking a regular Google search as a viable option, since it's trivial and mainstream!

The more mundane and harder way is the old school manual one, which requires you to do some math. How long has it been since you've last exercised your algebra, hmm? Let's do it now. You need to know the resolution of the display as well as its diagonal. Provided that you have both in hand, you can apply them in the following formula, which is a slightly modified variation of the Pythagorean theorem:


With the above equation in mind, let's manually calculate the pixel density of a 5.3-inch 1080p display. As its resolution is 1080 by 1920 pixels and its diagonal 5.3 inches, we input these into the formula:


We square the width and the height of the display, then we add them to one another, and finally, find the square root of the sum in question. The outcome is the diagonal resolution of the display.

Recommended Stories

Finally, we divide by the screen diagonal and we get the sought pixel density number.


So, this is how the pixel density of a given display is usually found. That's the formula which is used in most cases. Of course, it's rather cumbersome and we doubt that anyone would actually use this in a real-life scenario. Still, it's curious to see what lies beneath the numerous PPI calculators available on the interwebs. Yes, these are extremely useful and we are used by just everyone. One of our favorite ones is made by Sven Neuhaus and can be found at https://www.sven.de/dpi/. It's as straightforward as it gets: you input the resolution, the display diagonal, and voila, the tool calculates the pixel density straight away. Here is it in action:


Of course, it's not the only PPI calculator available out there. What's your favorite one?

Recommended Stories

Loading Comments...
FCC OKs Cingular\'s purchase of AT&T Wireless