Conversion Form

CM
IN

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: cmin

1cm = 0.393701in. Convert cm to inches for physical measurements.

Quick Reference: Unit Conversion by Tens

CMIN
10cm3.937008in
20cm7.874016in
30cm11.811024in
40cm15.748031in
50cm19.685039in
60cm23.622047in
70cm27.559055in
80cm31.496063in
90cm35.433071in
100cm39.370079in
110cm43.307087in
120cm47.244094in
130cm51.181102in
140cm55.11811in
150cm59.055118in
160cm62.992126in
170cm66.929134in
180cm70.866142in
190cm74.80315in
200cm78.740157in
210cm82.677165in
220cm86.614173in
230cm90.551181in
240cm94.488189in
250cm98.425197in

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 in without testing on different screen sizes.

Real Code Example

/* Mobile-first card with cm → in */
.card {
  padding: 0cm;     /* undefinedin */
  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