Conversion Form

REM
CM

About the Unit

REM (Root EM): REM is a relative unit that depends on the root font size, typically defined in the `<html>` element of the document. The main advantage of REM is that it provides a consistent and scalable way to work with measurement units in web design, especially when creating responsive and accessible layouts. When you define the root font size, for example, as 16px, 1rem will be equivalent to 16px. If the root font size is changed, all measurements in rem will adjust proportionally, which makes controlling the layout as a whole easier. This is especially useful for ensuring that the design is consistent and accessible, as users can adjust the font size in the browser. Using rem instead of px helps maintain the layout's proportions when scaling the page globally without needing to adjust each value individually.

Pro Tip: remcm

For print design, convert rem to cm for accurate physical dimensions.

Quick Reference: Unit Conversion by Tens

REMCM
10rem4.233333cm
20rem8.466667cm
30rem12.7cm
40rem16.933333cm
50rem21.166667cm
60rem25.4cm
70rem29.633333cm
80rem33.866667cm
90rem38.1cm
100rem42.333333cm
110rem46.566667cm
120rem50.8cm
130rem55.033333cm
140rem59.266667cm
150rem63.5cm
160rem67.733333cm
170rem71.966667cm
180rem76.2cm
190rem80.433333cm
200rem84.666667cm
210rem88.9cm
220rem93.133333cm
230rem97.366667cm
240rem101.6cm
250rem105.833333cm

Live Unit Preview

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

10px

10rem

10em

10%

10vw

10vh

Common Mistake

For print design, convert rem to cm for accurate physical dimensions.

Real Code Example

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

Frequently Asked Questions About REM

When should I use rem instead of rem?

Use rem for consistent scaling across components.

How many rem is 1rem?

1rem = 16px by default.

Is rem affected by zoom?

Yes, it scales with user settings and zoom.

Is rem good for fonts?

Yes, it's preferred for accessibility.

Keyboard Shortcuts

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

More popular conversions