Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Luba

macrumors 68000
Original poster
Apr 22, 2009
1,781
370
I'v read that the 17" has 133 ppi, and the 15" high res has 128 ppi, but how is that figured out? I'd like to do the math for the 24" Apple Cinema Display. Thanks. :)
 

sammich

macrumors 601
Sep 26, 2006
4,305
268
Sarcasmville.
Diagonal number of pixels: use Pythagoras:

Code:
sqrt((width^2)+(height^2))/diagonal length

The ACD 24": (1920^2 + 1200^2)/24 = 94.3 dpi
 

jiE

macrumors regular
Sep 1, 2007
105
0
Number of Pixels/Number of Inches

Pretty straight forward maths.

Well... Not this way. The number of inches is a measure of the diagonal length of the screen, and not (if this formular would be correct) an area of the screen.
 

wandrer2

macrumors member
Feb 9, 2010
70
0
Also, just using the number of inches as specified by Apple is a bit inaccurate.

Measure the width of the screen in inches = w
Count the horizontal number of pixels = p

ppi = p/w
 

rodrigopolo

macrumors newbie
Sep 1, 2013
1
0
Diagonal number of pixels: use Pythagoras:

Code:
sqrt((width^2)+(height^2))/diagonal length

The ACD 24": (1920^2 + 1200^2)/24 = 94.3 dpi

JavaScript:
Code:
var width = 1920;
var height = 1080;
var diagonal_inches = 24;
// result:
Math.sqrt((Math.pow(width,2)+Math.pow(height,2)))/diagonal_inches
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.