Conversion Form

CM
MM

About the Unit

Centimeter (cm): The centimeter (cm) is a metric physical unit, equivalent to 1/100 of a meter. In CSS, the cm unit is primarily used for print design, as it allows specifying exact physical dimensions for layouts that will be printed or exported to physical formats, like PDF. Using cm ensures that the layout elements will have the exact desired size when printed, regardless of screen resolution or device size. 1cm is approximately equal to 37.795px on a 96 DPI screen, making it useful when precise print measurements are needed, but less practical for digital web design, where relative units like px or em are more flexible.

Pro Tip: cmmm

1cm = 10mm. Convert cm to mm for print layouts.

Quick Reference: Unit Conversion by Tens

CMMM
10cm100mm
20cm200mm
30cm300mm
40cm400mm
50cm500mm
60cm600mm
70cm700mm
80cm800mm
90cm900mm
100cm1000mm
110cm1100mm
120cm1200mm
130cm1300mm
140cm1400mm
150cm1500mm
160cm1600mm
170cm1700mm
180cm1800mm
190cm1900mm
200cm2000mm
210cm2100mm
220cm2200mm
230cm2300mm
240cm2400mm
250cm2500mm

Live Unit Preview

See how different CSS units affect the size of the box below:

10px

10rem

10em

10%

10vw

10vh

Common Mistake

Be cautious when mixing cm and mm without testing on different screen sizes.

Real Code Example

/* Mobile-first card with cm → mm */
.card {
  padding: 0cm;     /* undefinedmm */
  font-size: 1.5rem;
  width: min(90vw, 40ch);
}

Frequently Asked Questions About CM

When should I use cm instead of cm?

Use cm for print layouts or physical dimensions.

How many cm is 1cm?

1cm = 37.8px approximately.

Is cm affected by screen size?

No, it's a fixed physical measurement.

Is cm good for web design?

Not typically, better for print styles.

Keyboard Shortcuts

  • Ctrl + C: Convert
  • Ctrl + I: Invert units
  • Esc: Reset values

More popular conversions