Toolman 100% local

Convert cm to px

1cm = 37.7953px. Both are absolute CSS units, so this ratio is fixed — the root font size does not affect it.

Runs on your devicenothing is uploadedHow to check

Guide & FAQFormula · CM to PX conversion table · About cm · About px · Which unit should you use? · Frequently asked questions

Formula

px = cm × 37.7953
cm = px × 0.026458

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

CM to PX conversion table

cmpx
1cm37.7953px
2cm75.5906px
5cm188.98px
10cm377.95px
15cm566.93px
20cm755.91px
25cm944.88px
30cm1133.86px
40cm1511.81px
50cm1889.76px
100cm3779.53px
150cm5669.29px
200cm7559.06px
250cm9448.82px
300cm11338.58px

About cm

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

About px

The CSS pixel is the reference unit of the web. It is not a physical device pixel — it is an angular measure standardised at 1/96th of an inch, which the browser scales for device pixel ratio and zoom.

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 16cm in px?

16cm equals 604.72px, and that does not change with the font size because both units are absolute.

How do I convert cm to px?

Multiply the cm value by 37.7953. Going the other way, multiply the px value by 0.026458.

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?

The 96 figure 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