Convert Dots per pixel to Lines per inch
Convert Dots per pixel (dppx) to Lines per inch (lpi) instantly and accurately.
Conversion Formula
lpi = dppx × 96
About Dots per pixel
The dot per CSS-pixel unit (dppx, or the x descriptor in CSS) is defined in W3C CSS Images Level 3 / Media Queries Level 4 as the ratio of physical device pixels to CSS reference pixels, where the CSS spec fixes 1 CSS inch ≡ 96 CSS px exactly. Therefore 1 dppx = 96 DPI = 96 PPI exactly; a screen reporting device pixel ratio (DPR) of 2 has 2 dppx = 192 physical dots per CSS inch. JavaScript exposes DPR as window.devicePixelRatio, numerically equal to dppx. Reference values: standard laptop (96-110 PPI): 1 dppx; MacBook Pro 13-inch Retina (227 PPI): 2 dppx; iPhone 15 Pro 6.1-inch (460 PPI): 3 dppx; Samsung Galaxy S24 Ultra (501 PPI): ≈ 3.09 dppx. The HTML img srcset x descriptor (photo@2x.jpg 2x) is numerically equal to dppx, serving higher-resolution images for HiDPI screens. The CSS @media (min-resolution: 2dppx) query targets any display with DPR ≥ 2. 1 dppx = 96 DPI = 96 PPI.
About Lines per inch
The line per inch (lpi) is the standard unit of halftone screen frequency in offset, flexographic, gravure, and screen printing. Each halftone cell varies in dot size to simulate grey tones; a 150 lpi screen on a 1200 DPI printer allocates 1200/150 = 8 printer dots per cell row, giving an 8×8 = 64-level grey matrix. Industry benchmarks: newsprint 85-100 lpi; magazines 133-175 lpi; fine-art offset 175-200 lpi; screen printing (textiles) 35-65 lpi. Rule of thumb: required DPI ≥ 1.5 × lpi for acceptable AM halftone; ≥ 2 × lpi for high quality - so 150 lpi offset needs at least 300 DPI raster data. As a dimensional quantity, 1 lpi = 1 PPI = 1 DPI; lpi designates screen frequency in print. 1 lpi = 1 PPI = 2.54 lpcm.
Quick Reference Table
| Dots per pixel (dppx) | Lines per inch (lpi) |
|---|---|
| 1 dppx | 96 lpi |
| 2 dppx | 192 lpi |
| 5 dppx | 480 lpi |
| 10 dppx | 960 lpi |
| 25 dppx | 2400 lpi |
| 50 dppx | 4800 lpi |
| 100 dppx | 9600 lpi |