<link rel="stylesheet" type="text/css" href="/mirawhite.css">

Pixels to cm converter (and cm to pixels)

A pixel has no fixed size: it depends on the resolution in DPI. Enter your dimensions and the DPI to get the real size on screen or on paper, free and instantly.

Free, no sign-up, no limit Runs in your browser: your text and files are never sent or saved.

Pixels to cm

Direction
DPI = dots (pixels) per inch. 1 inch = 2.54 cm.

Size

Enter a width to see the conversion.

Or drop an image to read its size in pixels (and its DPI, if stored)

How to use it

  1. Choose the direction: pixels to cm, or cm to pixels.
  2. Enter the width and, if you like, the height, or drop an image to read its size and stored resolution.
  3. Pick the resolution: 96 DPI for a screen, 300 DPI for a good-quality print, or type your own value.
  4. Read the size, the megapixels and the closest standard print format.

Example

Input

3000 × 2000 px at 300 DPI

Output

25.4 × 16.93 cm

Good to know

  • Screens do not all display 96 pixels per inch: on a phone or a high-density display, the size you see differs. 96 DPI is the CSS and Windows reference.
  • For printing, 300 DPI is the usual target for photos viewed up close; 150 DPI is often enough for posters seen from a distance.
  • Pixels are rounded to the nearest whole pixel. The closest format compares sizes only: the image may need cropping to fit its proportions.

Pixels, DPI and print size

cm = pixels ÷ DPI × 2.54, and pixels = cm ÷ 2.54 × DPI. In inches it is simpler still: inches = pixels ÷ DPI. DPI (dots per inch) and PPI (pixels per inch) are used interchangeably in image software.

Pixels needed at 300 DPI: 4 × 6 in = 1200 × 1800; 5 × 7 in = 1500 × 2100; 8 × 10 in = 2400 × 3000; A4 (21 × 29.7 cm) = 2480 × 3508.

Frequently asked questions

How do you convert pixels to cm?

Divide the pixels by the resolution in DPI and multiply by 2.54: cm = px ÷ DPI × 2.54. A photo 3000 pixels wide printed at 300 DPI is 3000 ÷ 300 × 2.54 = 25.4 cm wide. At 96 DPI, the screen reference, the same width would be 79.4 cm.

How many pixels are in 1 cm?

It depends on the DPI: 28.35 pixels at 72 DPI, 37.8 at 96 DPI, 59.06 at 150 DPI and 118.11 at 300 DPI. A pixel has no fixed size, so the same image comes out larger or smaller depending on the resolution it is printed or displayed at.

How many pixels do I need for an A4 print?

2480 × 3508 pixels at 300 DPI, or 1240 × 1754 at 150 DPI. Choose cm to pixels, enter 21 × 29.7 cm and the DPI you want. For a 4 × 6 in photo print at 300 DPI, you need 1200 × 1800 pixels.

Which DPI should I use?

300 DPI for photos and documents viewed up close, 150 DPI for posters seen from a distance, and 96 DPI to predict the size on a standard screen, the CSS and Windows reference. 72 DPI is an old Mac convention still used by some software, not a print setting.

How do I change pixels to cm in Photoshop, Canva or Figma?

In Photoshop, Image > Image Size lets you switch to centimeters and set the resolution. Canva lets you choose cm when you create a custom-size design. Figma works in pixels only, so convert here at the DPI you plan to export or print at.

Does changing the DPI change image quality?

No. The DPI only says how many pixels fit in an inch when printing: a 3000 × 2000 image keeps the same pixels at 72 or 300 DPI, and only its print size changes. To print larger with good quality, you need more pixels, not a higher DPI number.

Sources

Checked on November 26, 2026

← Back to all tools