What is CSS cm unit?

Centimeters (cm) are absolute-length units that correspond to physical centimeters, commonly used in print design and European markets.

4cm012344cm × 1cm

Frequently Asked Questions about cm units

How do cm units compare to other length units?
1cm equals 10mm or approximately 37.8px (at 96 DPI). For web design, relative units like rem are generally preferred.
When are cm units most appropriate?
cm units are most appropriate for print stylesheets or when precise physical measurements are needed in metric units.