CM to PX Converter

Convert centimeters to pixels at any DPI. At the standard 96 DPI used on the web, 1 cm = 37.795 px.

⇅
The base DPI is DPI (dots per inch).
Rounding precision (max 15):

Popular CM Values in Pixels

At 96 DPI: 1 cm = 37.8 px, 2 cm = 75.59 px, 3 cm = 113.39 px, 5 cm = 188.98 px, 6 cm = 226.77 px, 10 cm = 377.95 px, 21 cm = 793.7 px. For print at 300 DPI, 1 cm = 118.11 px and 10 cm = 1181 px.

CM to PX Conversion Table

Pixels for common centimeter values on screen (96 DPI) and in print (300 DPI).

Centimeters (cm) Pixels at 96 DPI Pixels at 300 DPI
0.5cm18.9px59px
1cm37.8px118px
1.5cm56.69px177px
2cm75.59px236px
2.5cm94.49px295px
3cm113.39px354px
3.5cm132.28px413px
4cm151.18px472px
4.5cm170.08px531px
5cm188.98px591px
6cm226.77px709px
7cm264.57px827px
8cm302.36px945px
9cm340.16px1063px
10cm377.95px1181px
12cm453.54px1417px
15cm566.93px1772px
20cm755.91px2362px
21cm793.7px2480px
25cm944.88px2953px
29.7cm1122.52px3508px
30cm1133.86px3543px
40cm1511.81px4724px
50cm1889.76px5906px

Photo and Paper Sizes in Pixels

Common sizes given in centimeters, converted to the pixels you need for screen and print.

Size Used for 96 DPI 300 DPI
3.5 × 4.5 cmPassport and visa photos (UK, Schengen and many others)132 × 170413 × 531
5 × 5 cmUS passport (2 × 2 in)192 × 192600 × 600
10 × 15 cmStandard photo print (4 × 6 in)384 × 5761200 × 1800
13 × 18 cmLarge photo print (5 × 7 in)480 × 6721500 × 2100
21 × 29.7 cmA4 page794 × 11232480 × 3508

Need a photo under a size limit like 50 KB as well? Use our Image Resizer. More photo sizes in millimeters are on the MM to PX page.

How to Convert CM to PX

One inch is 2.54 cm, so:
px = cm × DPI ÷ 2.54

At 96 DPI that is px = cm × 37.795: 6 cm × 96 ÷ 2.54 = 226.77 px. At 300 DPI, 6 cm = 708.66 px, which rounds to 709 px.

Which DPI Should You Use?

  • 96 DPI — websites and CSS. Browsers treat 1 inch as 96 CSS pixels on every device, so this gives the size in your stylesheet.
  • 150 DPI — drafts and office printing. Fine for documents that are read rather than inspected closely.
  • 300 DPI — print quality. The standard for photos, ID pictures, posters and anything printed professionally.

The centimeter on paper never changes — only how many pixels you need to fill it. More DPI means more pixels for the same physical size, and a sharper print.

Frequently Asked Questions (FAQs)

How many pixels is 1 cm?

1 cm = 37.795 px at 96 DPI and 118.11 px at 300 DPI.

How many pixels is 6 cm?

6 cm = 226.77 px at 96 DPI and 709 px at 300 DPI.

How many pixels is 10 cm?

10 cm = 377.95 px at 96 DPI and 1181 px at 300 DPI.

What is a 3.5 × 4.5 cm photo in pixels?

At 300 DPI a 3.5 × 4.5 cm passport photo is 413 × 531 pixels. On screen at 96 DPI it is 132 × 170 pixels.

Does EachConvert store my data?

No. All conversions happen entirely in your browser. The values you enter are never sent to our server or saved.