A pixel has no single, fixed physical width; its size depends on the device displaying the image.
A pixel is a picture element and a unit of measurement, but its physical dimensions change based on two primary factors: the display's physical size and its resolution. For example, a 1-inch-wide pixel on a television can appear much smaller on a compact, high-resolution smartphone.
The relationship between pixel size and pixel density
The physical size of a pixel is determined by the display's pixel density, which is typically measured in Pixels Per Inch (PPI). A higher PPI means more pixels are packed into each inch of the screen, resulting in smaller individual pixels.
To calculate the physical size of a pixel on a screen, use the following formula:PixelSize(mm)=25.4PPIcap P i x e l space cap S i z e space open paren m m close paren equals the fraction with numerator 25.4 and denominator cap P cap P cap I end-fraction
πππ₯πππππ§π(ππ)=25.4πππΌ
This calculation works when you know the PPI of a specific display. For example, a 96 PPI display, a common standard for web design, has pixels approximately 0.26 mm wide (25.4Γ·96β0.2625.4 divided by 96 is approximately equal to 0.26
25.4Γ·96β0.26
). A modern smartphone, however, can have a PPI of over 400, meaning its pixels are less than 0.06 mm wide.
Calculation example
Consider a 15-inch laptop display with a native resolution of 1920x1080 pixels (Full HD).
-
Calculate the display's diagonal pixel count. Use the Pythagorean theorem to find the diagonal in pixels:Diagonal(pixels)=(19202)+(10802)=3,686,400+1,166,400=4,852,800β2203cap D i a g o n a l space open paren p i x e l s close paren equals the square root of open paren 1920 squared close paren plus open paren 1080 squared close paren end-root equals the square root of 3 comma 686 comma 400 plus 1 comma 166 comma 400 end-root equals the square root of 4 comma 852 comma 800 end-root is approximately equal to 2203
π·πππππππ(πππ₯πππ )=(19202)+(10802)β=3,686,400+1,166,400β=4,852,800ββ2203
pixels.
-
Calculate the PPI. Divide the diagonal pixel count by the physical diagonal size:PPI=2203pixels15inchesβ147PPIcap P cap P cap I equals the fraction with numerator 2203 space p i x e l s and denominator 15 space i n c h e s end-fraction is approximately equal to 147 space cap P cap P cap I
πππΌ=2203πππ₯πππ 15πππβππ β147πππΌ
-
Calculate the pixel's physical width. Divide 25.4 (millimeters per inch) by the PPI:PixelWidth(mm)=25.4147β0.17mmcap P i x e l space cap W i d t h space open paren m m close paren equals 25.4 over 147 end-fraction is approximately equal to 0.17 space m m
πππ₯ππππππ‘β(ππ)=25.4147β0.17ππ
Pixels in different contexts
Digital displays
- The web standard: For decades, 72 PPI was the standard for web imagery, as it closely aligned with the display densities of early monitors. Today's high-resolution displays have made this standard less relevant for pixel-perfect sizing, as browsers and operating systems automatically scale elements to ensure consistent on-screen size regardless of the underlying PPI.
- Device scaling: A modern browser or operating system's "logical pixel" is scaled to an integer amount of physical pixels to avoid visual artifacts. For example, on a high-density display, one logical pixel from a web page might be rendered using two or three physical screen pixels to ensure readability.
Digital camera sensors
- Physical photosites: In digital cameras, pixels are captured by physical photosites on an image sensor. The size of these photosites, and the sensor itself, affect image quality.
- Megapixel myth: A larger sensor with the same megapixel count as a smaller sensor will have larger photosites, allowing them to capture more light and produce a higher-quality image with less noise. A common misconception, called the "megapixel myth," is that more megapixels always result in a better photo, but this is only sometimes the case.
Printing
- From PPI to DPI: For print, the digital image's PPI determines its physical print size. Printers use dots per inch (DPI) to describe how many physical ink dots they place on a page per inch. A digital image's pixel dimensions must match the printer's resolution for optimal results. For example, a photo with 300 PPI is generally considered high-quality for printing.
- Resizing images: An image with a low PPI will appear blocky or "pixelated" if printed too large because its limited pixels will be stretched across a greater physical area. Conversely, a high-resolution image with many pixels can be printed at a large size while maintaining clarity.