Dots/cm to DPI (Dots/cm to DPI)
Result
2.54 DPI
Formula
DPI = Dots/cm × 2.54
1 Dots/cm = 2.54 DPI, and 1 DPI = 0.3937007874 Dots/cm.
In CSS and desktop publishing, 1 inch = 72 points = 96 pixels, so 1 px = 0.75 pt. The em is relative to the current font size; this converter assumes a 12 pt base.
Worked examples
- 1 Dots/cm × 2.54 = 2.54 DPI
- 10 Dots/cm × 2.54 = 25.4 DPI
- 100 Dots/cm × 2.54 = 254 DPI
Common mistakes
- CSS pixels are reference units, not physical screen pixels; high-density displays draw several device pixels per CSS pixel.
- An em depends on the font size it is used in. Change the base and every em value changes.
Dots/cm to DPI table
| Dots/cm (Dots/cm) | DPI (DPI) |
|---|---|
| 1 | 2.54 |
| 2 | 5.08 |
| 5 | 12.7 |
| 10 | 25.4 |
| 20 | 50.8 |
| 50 | 127 |
| 100 | 254 |
| 1,000 | 2,540 |
The units
- Dots/cm (Dots/cm)
- 1 Dots/cm = 2.54 DPI.
- DPI (DPI)
- A unit of typography.
Sources for these factors
Last reviewed against these sources. An automated check recomputes every factor from its definition on each build. How we check accuracy