PX to CM Converter

PX to CM Converter

Convert pixel values to centimeters for print and physical design with DPI-based calculations and precise unit conversions. Perfect for print design, physical layouts, and cross-media consistency.

px
cm
css
Share this tool:
Quick Presets
Common pixel values for quick conversion
Input
Enter a pixel value to convert to CM (centimeter units)

At 96 DPI: 1cm ≈ 37.8px · 1px ≈ 0.0265cm

How it works: Multiplies the pixel value by 2.54/96 to get centimeters. At 96 DPI, one inch equals 96 pixels and 2.54 centimeters, so 1px = 2.54/96 ≈ 0.0265cm. Centimeters are the standard metric unit for physical dimensions in print design and international specifications.

What is PX to CM Converter?

PX to CM Converter converts pixel measurements to centimeters using a configurable DPI value. Select 96 DPI for screen work, 300 DPI for print, or enter a custom value for device-specific output. Use it when a pixel dimension needs a physical size for print, hardware, or design handoff. The conversion also works in reverse: enter centimeters to get the pixel equivalent.

How does PX to CM Converter work?

This tool applies the formula cm = px / DPI x 2.54. You enter the pixel value and select the DPI; the converter outputs the centimeter value instantly. At 96 DPI (standard web resolution), 96 pixels equals 1 inch equals 2.54 cm. At 300 DPI (print standard), 300 pixels maps to the same 2.54 cm. All calculation happens locally with no data sent to a server.

Key Features

  • Configurable DPI with quick presets (72, 96, 150, 300 DPI)
  • Real-time conversion as you type
  • Bidirectional: converts px to cm and cm to px
  • Copy result to clipboard
  • Displays both input and output units side by side
  • High-precision decimal output
  • No file uploads or server requests
  • Works offline after the page loads

Common Use Cases

When and why you might need this tool
  • Converting screen pixels for print

    Convert a 300px element to centimeters for a printed layout at 300 DPI before sending to a print vendor.

  • Setting print dimensions from pixels

    Calculate how large a digital image will print in centimeters at a given DPI.

  • CSS to physical units

    Convert CSS pixel values to physical centimeters for precise sizing in hardware or embedded UI specifications.

  • Design specifications for international teams

    Provide pixel-to-centimeter conversions in design handoffs for teams working in metric units.

How to Use This Tool

Step-by-step guide to get the best results
1

Enter the pixel value

Type the pixel measurement you want to convert into the px field.

2

Set the DPI

Choose a preset (72, 96, 150, or 300 DPI) or type a custom DPI value matching your target device or print specification.

3

Read the centimeter result

The converted centimeter value updates immediately as you type.

4

Copy the result

Click Copy to put the converted value on your clipboard for use in other applications.

Pro Tips

  • 1

    96 DPI is the standard web and screen resolution. Use it when converting UI pixel values for CSS or screen layouts.

  • 2

    300 DPI is the standard for print-quality output. Use it when preparing images or layouts for press.

  • 3

    The formula is cm = px / DPI x 2.54. Verify your DPI setting before converting for print.

  • 4

    Different display devices have different physical DPI values. Use the device's actual DPI for hardware-accurate results.

Frequently Asked Questions

What is DPI?

DPI (dots per inch) is the number of pixels that fit in one physical inch. Higher DPI means more pixels per inch, producing finer detail at the same physical size.

What is the px to cm formula?

The formula is cm = px / DPI x 2.54. Divide the pixel count by the DPI to get inches, then multiply by 2.54 to convert inches to centimeters.

What DPI should I use for screen work?

Use 96 DPI for standard web and screen design. Use 72 DPI for older Mac screen contexts. Use the device's actual DPI for hardware-accurate physical measurements.

What DPI should I use for print?

300 DPI is the standard for print-quality output. Some large-format print vendors accept 150 DPI for work viewed from a distance.

Can I convert cm to px?

Yes. Enter the centimeter value in the cm field and the converter calculates the equivalent pixel count at the selected DPI.

Is my data sent to a server?

No. The px to cm calculation happens in your browser. No data is transmitted.