ToolsCSS Unit ConvertersPX to CM Converter
Responsive sizing utility for typography, spacing, layout tokens, and scalable UI systems

Instantly convert Pixels to Centimeters and Centimeters to Pixels.

A simple and fast tool to convert pixels values to centimeters units and back again for responsive web design. This canonical page covers both directions to avoid duplicate SEO pages for identical content.

Converter
Keep the base values on top, swap directions in one click, and convert between PX and CM in real time.

Bases

Configure only the reference values required for this conversion pair.

This conversion does not require an additional reference value.

Conversion

Edit either side, copy any result, or swap the displayed direction.

Pixels

px

Centimeters

cm

Canonical page shared by both directions: PX to CM and CM to PX.

Current conversion chart

A responsive visual curve based on the active direction and current base values.

24px -> 0.635cm
Live summary
Useful context while defining responsive and production-ready sizing systems.

Current conversion

24px = 0.635cm

Reverse conversion

0.635cm = 24px

Convert PX to pixels

Pixels = value

Convert pixels to CM

Result = Pixels / (96 / 2.54)

Context

This conversion does not require an additional reference value.

How to Convert PX to CM
Canonical guidance that also applies to the reverse conversion on the same page.

Step 1: Define the relevant context

Confirm the values that influence the conversion. Relative units like REM, EM, VW, VH, and % depend on the root font-size, parent font-size, parent length, or viewport dimensions.

Step 2: Convert the source value into pixels

Normalize the source unit into pixels first. This gives you a consistent base for accurate conversion across all CSS unit types.

Pixels = value

Step 3: Convert pixels into the target unit

Once the intermediate pixel value is known, convert it into centimeters using the target formula below.

Result = Pixels / (96 / 2.54)
Common PX to CM Reference
A quick reference table based on the current context values set above.
PixelsCentimeters
8px0.2117cm
10px0.2646cm
12px0.3175cm
14px0.3704cm
16px0.4233cm
18px0.4763cm
20px0.5292cm
24px0.635cm
32px0.8467cm
48px1.27cm
64px1.6933cm
72px1.905cm
96px2.54cm
PX to CM Converter Information
Background notes for design systems, responsive layouts, and frontend implementation.

Understanding Pixels

A pixel is the most familiar absolute unit for screens. It is easy to read and precise, but it does not automatically adapt to user font-size preferences.

Understanding Centimeters

Centimeters represent physical length and are useful when converting real-world measurements into CSS values for print, packaging, or layout planning.

Why convert PX and CM?

  • System consistency: Work across design tokens, components, and documentation using a predictable translation between units.
  • Responsive control: Compare fixed, relative, and contextual units without guessing how they behave in production layouts.
  • SEO-safe structure: This page serves both directions of the same conversion pair to avoid duplicate content and consolidate relevance in one canonical destination.