Pixels to Inches / CM Converter

A simple DPI converter: find the physical size of a pixel dimension, or work out the pixel dimensions for a measurement in inches or centimetres. For an exact target print size with a required pixel count, use the Print Size & Required Pixels Calculator.

Diagram of pixels, inches and centimetres connected through DPI
Pixels x DPI gives inches; inches x 2.54 gives centimetres.

How to use

  1. Choose the direction of the conversion.
  2. Enter pixels, or a length with its unit.
  3. Set the DPI/PPI of the image and press Convert.

How it works

One inch contains DPI pixels, so inches = pixels ÷ DPI. Conversely pixels = inches × DPI. To convert from centimetres, first divide by 2.54 to get inches.

UnitEquals
1 inch2.54 cm
1 cm0.3937 inches
1 px at 300 DPI0.00333 inches (0.0847 mm)

When to use this calculator

Worked examples

DPI, PPI and the metadata trap

When people say "DPI" for an image file, they mean pixels per inch. The number stored in the file's metadata does not change how many pixels exist - a 3000 px image is always 3000 px, whether the tag says 72 or 300 DPI. What changes is the physical size at which those pixels are printed. This converter always uses the actual pixel count and the DPI you choose.

Common mistakes

Related tools

Print size calculator · How big can I print? · Print PPI calculator

Frequently asked questions

How many inches is 1200 pixels at 300 DPI?

1200 ÷ 300 = 4 inches (10.16 cm). An 1200 × 800 image prints at 4 × 2.67 inches at 300 DPI.

Is DPI the same as PPI?

DPI describes printer dots; PPI describes pixels in an image. For sizing digital images for print they are treated as the same value in most workflows.

How many pixels are in an inch?

It depends on the resolution: 300 DPI means 300 pixels per inch, 150 DPI means 150 pixels per inch.