Free Unit Converter

Pixel Converter
Convert px to any unit

Instantly convert pixels to inches, centimeters, millimeters, points, picas, density pixels (dp), REM, and EM. Adjust DPI/PPI for screen and print work.

Pixel Converter

Enter a value and choose your units for instant conversion

How to Convert

Convert Pixels to Any Unit in Seconds

Whether you're designing for web, print, or mobile, our pixel converter handles every unit you need.

01

Enter Your Value

Type any pixel value into the input field. Decimal values and large numbers are fully supported.

02

Select Your Units

Choose your source unit (usually pixels) and target unit (inches, cm, mm, points, picas, dp, REM, or EM).

03

Adjust DPI if Needed

Use quick presets (72, 96, 144, 300) or enter a custom DPI value for your specific device or output medium.

04

Copy and Use

Click the copy button to instantly copy the result to your clipboard for design specs or documentation.

Measurement Units

Supported Units

All the measurement units you need for any design or print project

px
Pixels
Screen pixels, used in digital design and CSS
in
Inches
Physical inches, standard US measurement
cm
Centimeters
Metric measurement, 1 inch ≈ 2.54 cm
mm
Millimeters
Metric measurement, 10 mm = 1 cm
pt
Points
Typography unit, 72 points = 1 inch
pc
Picas
Typography unit, 6 picas = 1 inch
dp
Density Pixels
Android unit, 160 dp = 1 inch at baseline
rem
REM
Relative to root font size (usually 16px)
em
EM
Relative to parent element's font size

HOW IT WORKS

How pixel conversion works

Every result above runs through one setting: the density. A pixel is a sample, not a size — it only becomes a length when you say how many pixels pack into an inch. That is why the same 1,000 pixels can be a wide banner on one screen and a small print on paper.

Start with density: DPI and PPI

DPI (dots per inch, from printing) and PPI (pixels per inch, for screens) describe the same thing: how tightly pixels are packed. At 96 PPI — the long-standing screen reference — one pixel measures about 0.26 mm. At 300 PPI, the usual print standard, a pixel is about 0.08 mm. Same pixel count, very different physical size, which is why this converter asks for the density before it answers.

The formulas behind each unit

Everything starts from inches: inches = pixels ÷ PPI. From there, centimetres = inches × 2.54 and millimetres = inches × 25.4. Typographic units hang off the same inch: points = inches × 72, and picas = points ÷ 12. Android dp work backwards from a 160 PPI baseline (dp = pixels × 160 ÷ density), and rem and em divide the pixel value by the base font size — 16 px by default.

A worked example: one screenshot, three sizes

Take a full-HD screenshot, 1,920 pixels wide. On a 96 PPI desktop display it measures 20 inches across — 50.8 cm. Send the same file to a 300 PPI print workflow and it covers just 6.4 inches, 16.26 cm. And a 1,080-pixel-wide phone screenshot at 460 PPI is only 2.35 inches (5.96 cm) of glass. The file never changed; only the density did.

Screen pixels are not CSS pixels

Modern displays pack several physical pixels behind every CSS pixel — the device pixel ratio. On a 2× phone screen, an element styled 400 CSS pixels wide is painted with 800 device pixels but still measures 400 CSS pixels on the page, and screenshots usually save the device pixels. When a conversion is for print or export, work from the file's real pixel dimensions and the target DPI, not the on-screen CSS size.

FAQ

Frequently Asked Questions

Everything you need to know about pixel conversions

How many pixels are in one inch?

On CSS screens, 1 inch equals 96 pixels by default. However, physical screens vary. Use our converter with the correct DPI/PPI for your device to get accurate measurements.

What's the difference between DPI and PPI?

DPI (dots per inch) is used for printers, PPI (pixels per inch) for screens. For conversion purposes, they work identically—defining how many pixels/dots fit in one physical inch.

How do I convert pixels to centimeters?

Enter your pixel value, select "Pixels" as the source unit, "Centimeters" as the target, and ensure your DPI/PPI setting matches your device. The converter calculates the physical measurement instantly.

What are REM and EM units?

REM is relative to the root element's font size (usually 16px). EM is relative to the parent element's size. Use the "Base font size" field to adjust these calculations for your design system.

Which DPI should I use?

Use 96 for web (CSS standard), 72 for print/typography, 144 for high-density screens, or 300 for professional print work. Our quick presets make it easy to switch between these common values.

Is my data private?

Completely. All conversions run in your browser. We don't collect, store, or transmit your data. The converter works 100% offline after the page loads.

RELATED TOOLS

Actual Size Index

Every length at true physical size — centimetres and inches on one index.

Open the size index

Credit card size

85.60 × 53.98 mm — the ID-1 standard at true size

See the card

Pixel converter: method and limitations

A pixel converter translates a value between pixels, inches, centimeters, millimeters, typographic units, and font-relative units. Physical conversions depend on the pixel density you supply.

How does pixel converter work?

Inches = pixels ÷ PPI, and centimeters = inches × 2.54. For CSS, one reference inch equals 96 CSS pixels, 72 points, or 6 picas. REM and EM conversions depend on the selected font size.

  1. Enter a value and choose the source and destination units.
  2. Set the density and font size relevant to your task.
  3. Read the conversion and check the stated formula.

What should I check before relying on it?

CSS pixels, physical screen pixels, and printer dots are different concepts. A 96 PPI setting is a CSS reference, not a measurement of your monitor. Supply the appropriate density for your task.

References and responsibility

Maintained by Imran Ahmed, Online Ruler. Contact us about an error or a source that needs updating.