Enter the number of pixels along a single dimension (for example, an image width in pixels) and the pixel density (PPI, often called “DPI” in print contexts) into the calculator to determine the physical length in inches.

Pixels to Inches Calculator

Enter pixels and choose your screen/print density.

Pixels → Inches
Inches → Pixels
px
Calculator Operations Required Inputs
Convert Pixel Density (PPI/DPI) & Length to Pixels Pixel Density (PPI/DPI), Length
Convert Pixels & Length to Pixel Density (PPI/DPI) Pixels, Length
Convert Pixels & Pixel Density (PPI/DPI) to Length Pixels, Pixel Density (PPI/DPI)

Pixels to Inches Formula

The following formula is used to convert a pixel measurement (along one dimension) to inches, given a pixel density (PPI).

I = P / PPI
  • Where I is the length in inches
  • P is the number of pixels along the measured length (for example, image width in pixels)
  • PPI is pixels per inch (often called DPI in print contexts)

To calculate inches from pixels, divide the pixel count (along the length) by the pixel density (PPI).

Pixels to Inches/CM/MM Conversion Table (Assumes pixel density = 300 px/in)
Pixels (px) Inches (in) Centimeters (cm) Millimeters (mm)
720.2400.6106.096
960.3200.8138.128
1500.5001.27012.700
3001.0002.54025.400
4501.5003.81038.100
6002.0005.08050.800
7202.4006.09660.960
9003.0007.62076.200
10243.4138.67086.699
10803.6009.14491.440
12004.00010.160101.600
12804.26710.837108.373
13664.55311.565115.655
14404.80012.192121.920
16005.33313.547135.467
19206.40016.256162.560
20486.82717.340173.398
25608.53321.675216.747
300010.00025.400254.000
384012.80032.512325.120
*Assumes 300 px/in (PPI). Formula: inches = pixels / PPI. At 300 px/in: 1 in = 300 px (1 in = 2.54 cm = 25.4 mm).

Pixels to Inches Definition

Pixels to inches is the conversion of a pixel measurement (for example, the width of an image in pixels) to a physical length in inches using an assumed pixel density (PPI, or DPI for print). Without a specified pixel density, pixels do not have a fixed physical size.

Example

Let's look at an example of how to calculate inches from pixels. Suppose an image is 2,000 px wide and you want to size it at 100 px/in (100 PPI). Using the formula above, the width in inches is 2,000 / 100 = 20 inches.

FAQ

What is a pixel?

A pixel ("picture element") is the smallest addressable element of a raster image or display. By itself, a pixel does not have a fixed physical size unless a pixel density (PPI/DPI) is specified.

What is DPI?

DPI stands for dots per inch and is primarily used for print resolution. For screens, the comparable concept is PPI (pixels per inch). In this calculator, enter the pixel density you want to assume (typically in px/in).

pixels to inches calculator
pixels to inches formula