Toolman

Convert in to cm

At the browser default root font size of 16 px, 1in = 2.54cm. Change the base below if your project uses a different root size.

Formula

cm = in × 2.54
in = cm × 0.393701

Both units are absolute in CSS, so this ratio never changes regardless of font size or user settings.

IN to CM conversion table

incm
8in20.32cm
10in25.4cm
12in30.48cm
14in35.56cm
16in40.64cm
18in45.72cm
20in50.8cm
24in60.96cm
28in71.12cm
32in81.28cm
36in91.44cm
40in101.6cm
48in121.92cm
56in142.24cm
64in162.56cm
72in182.88cm
80in203.2cm
96in243.84cm
128in325.12cm

About in

CSS defines one inch as exactly 96 pixels. On screen this is a nominal measure, not a guarantee of physical size; in print stylesheets it maps to a real inch.

About cm

One centimetre is 96/2.54 ≈ 37.795 CSS pixels. Useful in print stylesheets, misleading on screen.

Which unit should you use?

PropertyRecommended unitWhy
Font sizeremScales with the user's browser font-size preference, which px ignores — an accessibility requirement.
Padding and marginrem or emrem for a consistent global rhythm; em when the spacing should track the component's own text size.
Borders and hairlinespxYou almost always want exactly one crisp pixel, not a value that scales.
Media query breakpointsemHistorically the most reliable across browsers when the user zooms.
Print stylesheetspt, cm, mmThese map to real physical measurements on paper.

Frequently asked questions

What is 16in in cm?

16in equals 40.64cm at a 16 px root font size.

How do I convert in to cm?

Multiply the in value by 2.54. Going the other way, multiply the cm value by 0.393701.

Does browser zoom change the result?

No. Both units are absolute in CSS and keep the same ratio at any zoom level, though the rendered size on screen changes.

Why does CSS use 96 pixels per inch?

It is a historical convention from early desktop displays that became the fixed CSS reference. It has nothing to do with your monitor's real pixel density — the browser scales CSS pixels to physical ones for you.

Related CSS unit conversions

All CSS unit converters · All converters