PX to CM Convert

The unit CM stands for centimeters. The CM unit in CSS is an absolute unit that has an absolute value that can be used to determine the size of HTML elements. Although in building web-based applications this unit is rarely used, cm units can run well and are supported by almost all browsers. W3 (WWW Consortium) does not recommend cm units as display on screen devices, but rather recommends them as units for printing documents such as printers.

The value depends on the size of the DPI resolution. Conversion is based on the default DPI size of 96 DPI, but can be changed.

PX (Pixels)

CM (Centimeters)

The CM unit is an intermediate unit and can be used without having to use decimal fractions. However, the use of decimal fractions is sometimes necessary when the values ​​obtained are not as desired. In font size, the value of 1cm is equivalent to 37.7px. To get the default value for the standard font size of 16px, the unit value can be set at 0.42cm.

PX to CM Conversion Table Example

PX CM
1px 0.026cm
2px 0.052cm
3px 0.079cm
4px 0.105cm
5px 0.132cm
6px 0.158cm
7px 0.185cm
8px 0.211cm
9px 0.238cm
10px 0.264cm
10px 0.264cm
15px 0.39cm
20px 0.529cm
25px 0.66cm
30px 0.79cm
37.8px 1cm
56.7px 1.5cm
75.6px 2cm
94.5px 2.5cm
113.39px 3cm
132.28px 3.5cm
151.18px 4cm
170.08px 4.5cm
188.98px 5cm
207.87px 5.5cm
226.77px 6cm
245.67px 6.5cm
264.57px 7cm
283.46px 7.5cm
302.36px 8cm
321.26px 8.5cm
340.16px 9cm
359.06px 9.5cm
377.95px 10cm
566.93px 15cm
755.9px 20cm
944.88px 25cm
1133.86px 30cm