px to cm · cm to px

PX to CM Converter

Type pixels to get cm, mm and inches, or type centimeters to get pixels. Set the resolution (DPI) for screen or print.

Pixels ↔ cm · mm · inches

Type into any field and the other units update instantly.

px
cm
mm
in
pt

Width × height

Convert an image size in one go. Example: a 3.5 × 4.5 cm passport photo is 413 × 531 px at 300 DPI

Pixels to cm chart

How many centimeters a pixel value is at each resolution. Use 96 DPI for screens (CSS) and 300 DPI for print.

px72 DPI96 DPI150 DPI300 DPI
1px0.0353cm0.0265cm0.0169cm0.0085cm
10px0.3528cm0.2646cm0.1693cm0.0847cm
50px1.7639cm1.3229cm0.8467cm0.4233cm
100px3.53cm2.65cm1.69cm0.85cm
200px7.06cm5.29cm3.39cm1.69cm
300px10.58cm7.94cm5.08cm2.54cm
400px14.11cm10.58cm6.77cm3.39cm
500px17.64cm13.23cm8.47cm4.23cm
600px21.17cm15.88cm10.16cm5.08cm
800px28.22cm21.17cm13.55cm6.77cm
1000px35.28cm26.46cm16.93cm8.47cm
1080px38.1cm28.58cm18.29cm9.14cm
1200px42.33cm31.75cm20.32cm10.16cm
1280px45.16cm33.87cm21.67cm10.84cm
1920px67.73cm50.8cm32.51cm16.26cm
2480px87.49cm65.62cm41.99cm21cm
3508px123.75cm92.82cm59.4cm29.7cm
3840px135.47cm101.6cm65.02cm32.51cm

Cm to pixels chart

Centimeters converted to pixels at each resolution, rounded to whole pixels.

cm72 DPI96 DPI150 DPI300 DPI
0.1cm3px4px6px12px
0.5cm14px19px30px59px
1cm28px38px59px118px
2cm57px76px118px236px
2.5cm71px94px148px295px
3cm85px113px177px354px
3.5cm99px132px207px413px
4cm113px151px236px472px
4.5cm128px170px266px531px
5cm142px189px295px591px
7cm198px265px413px827px
10cm283px378px591px1181px
15cm425px567px886px1772px
20cm567px756px1181px2362px
21cm595px794px1240px2480px
29.7cm842px1123px1754px3508px
30cm850px1134px1772px3543px
50cm1417px1890px2953px5906px
100cm2835px3780px5906px11811px

ID photo sizes in pixels

Common Korean and US ID photo formats converted to pixels. 300 DPI is the standard for printing.

FormatSize (W × H)300 DPI600 DPI
Korean passport photo3.5 × 4.5cm413 × 531px827 × 1063px
Korean ID card / driver's license photo3.5 × 4.5cm413 × 531px827 × 1063px
Half business-card size (3 × 4 cm)3 × 4cm354 × 472px709 × 945px
ID photo (2.5 × 3 cm)2.5 × 3cm295 × 354px591 × 709px
Business-card size photo (5 × 7 cm)5 × 7cm591 × 827px1181 × 1654px
US visa photo (2 × 2 in)5.08 × 5.08cm600 × 600px1200 × 1200px

Online applications often add their own file size limits, so check the requirements on the application page as well.

Pixel to cm formula

A pixel is a count of dots, not a fixed length, so you need the resolution (DPI or PPI, dots per inch) to turn it into centimeters. One inch is 2.54 cm.

cm = px ÷ DPI × 2.54
px = cm ÷ 2.54 × DPI
mm = px ÷ DPI × 25.4
inch = px ÷ DPI

Example: 1920px is 1920 ÷ 96 × 2.54 = 50.8 cm at 96 DPI and 1920 ÷ 300 × 2.54 = 16.26 cm at 300 DPI.

Which DPI should I use?

DPIUseNotes
96Web and screens (CSS)CSS defines 1 inch as 96px. The CSS cm, mm and in units are all based on it.
72Classic Mac / Photoshop default, PDF pointsThe resolution where 1pt equals 1px. Used when reading PDF and print point sizes as pixels.
150Large posters and banners, home printingFor prints viewed from a distance and quick proofs.
300Print standardFor business cards, flyers, books and photo prints viewed up close.
600High-resolution print and scansFor small type, line art and document scans.

Frequently asked questions

How many pixels is 1 cm?

It depends on the resolution: 37.8px at 96 DPI (screens), 118.11px at 300 DPI (print) and 28.35px at 72 DPI. The formula is px = cm ÷ 2.54 × DPI.

How many cm is 1 pixel?

About 0.0265 cm (0.265 mm) at 96 DPI and about 0.0085 cm (0.085 mm) at 300 DPI. The formula is cm = px ÷ DPI × 2.54.

How do I convert an image size from cm to pixels?

Use the width × height converter above: enter both sides in cm and set the DPI. A 10 × 15 cm photo at 300 DPI is 1181 × 1772px.

What is the difference between DPI and PPI?

PPI is the number of pixels per inch of a screen or image; DPI is the number of ink dots a printer places per inch. They are different things, but for image size math they are used interchangeably, and Photoshop's resolution field (pixels/inch) is this value.

Does 1cm in CSS show as a real centimeter?

Not necessarily. CSS simply maps 1in to 96px and 1cm to about 37.8px; the physical size depends on the pixel density of the device. In print (@media print) it matches the real length closely.

Related tools