BedrockCalculator
Figures cited to primary sourcesWritten by Aapt Dubey, MBA (Marketing & Banking), ISB 3 primary sourcesLast updated

Pixels to Inches Converter (at Any PPI or DPI)

The Pixels to Inches Converter converts pixels to inches or cm, or inches to pixels, at the PPI or DPI you set. Covers print sizes at 300 PPI and the CSS reference of 96 px to the inch.

Quick Answer: At 300 PPI, 3,000 pixels is 10 in. At the CSS reference of 96 PPI, 96 pixels is 1 inch; at 72 PPI, 1,920 pixels is 26.6667 inches. The answer always depends on the pixel density you set.

Assumptions

Computed

Preset scenarios

Converted size
10 in
Inches
10 in
Centimetres
25.4 cm
Millimetres
254 mm
Pixels
3,000 px
Pixels per centimetre at this density
118.1102 px/cm

Pixels to inches at 300 PPI

Download CSV
Each row is this converter run in pixels-to-inches mode at a density of 300 pixels per inch. Inches and centimetres are rounded half up to two decimal places.
Pixels (px)Inches (in)Centimetres (cm)
30012.54
60025.08
90037.62
1,0803.69.14
1,200410.16
1,500512.7
1,800615.24
2,0006.6716.93
2,400820.32
3,0001025.4
3,6001230.48
4,00013.3333.87
4,5001538.1
6,0002050.8

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Pixels to inches at 96 PPI (CSS reference)

Download CSV
Each row is this converter run in pixels-to-inches mode at 96 pixels per inch, the CSS reference pixel. Inches are rounded half up to four decimal places.
Pixels (px)Inches (in)Millimetres (mm)
10.01040.26
160.16674.23
480.512.7
96125.4
1001.041726.46
192250.8
3003.12579.38
5005.2083132.29
7688203.2
96010254
1,02410.6667270.93
1,28013.3333338.67
1,92020508

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Print edge lengths in pixels at 300 PPI

Download CSV
Each row is this converter run in inches-to-pixels mode at 300 pixels per inch. Every value is exact.
Inches (in)Pixels (px)
2600
3900
3.51,050
41,200
51,500
61,800
72,100
82,400
8.52,550
103,000
113,300
123,600
144,200
164,800
206,000
247,200

This table and its CSV are free to reuse with a link to this page, CC BY 4.0.

Pixels to Inches Converter (at Any PPI or DPI): Converted size 10 in (Amount: 3,000; Convert: Pixels to inches; Pixel density (PPI or DPI): 300).

Save or share this result

A one-page summary of this calculator's default example, drawn from the same calculation as the result above.

The infographic is free to reuse with a link to this page, CC BY 4.0.

Illustration of a framed mountain lake print on a desk beside a laptop showing the same photo
Quick Answer: At 300 PPI, 3,000 pixels is 10 in. At the CSS reference of 96 PPI, 96 pixels is 1 inch; at 72 PPI, 1,920 pixels is 26.6667 inches. The answer always depends on the pixel density you set.

What does this calculator do?

This pixels to inches converter turns a pixel count into inches or centimetres, or a physical size into pixels, at the pixel density you choose. That last part is the whole point: a pixel has no fixed size.

How many pixels make an inch depends on the device or the print setting, so the converter asks for the density and never assumes one.

Pixel density is written PPI (pixels per inch) for images and screens, and often DPI (dots per inch) in print dialogs and photo software, where it means the same thing for this purpose. A photo that is 3,000 pixels wide prints 10 inches wide at 300 PPI, 20 inches wide at 150 PPI, and 31.25 inches wide at 96 PPI. The pixels do not change; the physical size does.

There is one place where the pixel does have a defined size. In web design, CSS defines its px unit so that 96 px equals one CSS inch. That is a reference for layout, not a measurement of your screen, and the 96 PPI preset loads it so you can use it when it applies.

Using the Pixels to Inches Converter

  1. Type the number of pixels, or the inches or centimetres you want to fill.
  2. Choose the direction: pixels to inches, inches to pixels, pixels to centimetres or centimetres to pixels.
  3. Set the pixel density. Use the figure from your print settings, your printer's recommended PPI, your screen's specification, or 96 for CSS.
  4. Read the result at the top. The cards show inches, centimetres, millimetres, pixels, and how many pixels make a centimetre at that density.

The presets load the CSS reference (96 px at 96 PPI), a 1,920 pixel image at 72 PPI, an 8 inch print edge at 300 PPI, and the 21 cm side of A4 at 300 PPI.

How is this calculated?

  1. Read the density. The PPI you enter is used as given. A value below 1 is read as 1, because a density must be positive. A negative amount is read as zero.
  1. Get the pixel count. In pixels modes, that is your number. In inches to pixels mode, the inches are multiplied by the density. In centimetres to pixels mode, the centimetres are first converted to inches at exactly 2.54 cm per inch, then multiplied by the density.

pixels = inches × PPI; pixels = cm/2.54 × PPI

  1. Get the physical size. The pixel count is divided by the density to give inches, which are converted to centimetres and millimetres through the exact inch.

inches = pixels/PPI; cm = inches × 2.54

  1. Pixels per centimetre. One centimetre is converted to pixels at your density, which is the density divided by 2.54.
  1. Round for display only. Inches and centimetres are shown to four decimal places, millimetres and pixels to two. A fractional pixel count is shown rather than hidden, so you can decide whether to round up or down.

Worked Example

The default, 3,000 pixels at 300 PPI:

  1. Inches: 3,000 ÷ 300 = 10 in.
  2. Centimetres: 10 × 2.54 = 25.4 cm, or 254 mm.
  3. At 300 PPI, one centimetre holds 118.1102 px.

96 pixels at 96 PPI (the CSS reference): 96 ÷ 96 = 1 in, or 25.4 mm.

A 1,920 pixel image at 72 PPI: 1,920 ÷ 72 = 26.6667 in, or 67.7333 cm. The same image at 300 PPI is 6.4 inches wide.

An 8 inch print edge at 300 PPI: 8 × 300 = 2,400 px.

The 21 cm side of A4 at 300 PPI: 21 ÷ 2.54 = 8.2677 in, × 300 = 2,480.31 px. Most templates round this to 2,480.

Pixels to Inches at 300 PPI

Pixels to Inches at 300 PPI
PixelsInchesCentimetres
60025.08
1,200410.16
1,800615.24
2,0006.6716.93
2,400820.32
3,0001025.4
3,6001230.48
4,00013.3333.87
6,0002050.8

How Many Pixels Is an Inch?

As many as the density says. At 300 PPI, an inch is 300 pixels; at 96 PPI it is 96; at 72 PPI it is 72. There is no universal answer, which is why the converter makes you set the density. For CSS, an inch is defined as 96 px, so 1 px is 1/96 of an inch.

How Many Pixels Is an Inch?
Pixels at 96 PPIInchesMillimetres
160.16674.23
480.512.7
96125.4
1001.041726.46
5005.2083132.29
1,02410.6667270.93
1,92020508

At 300 PPI, a common target for photo and offset printing, each inch of print needs 300 pixels along that edge.

Print Sizes in Pixels
Print edge (inches)Pixels at 300 PPI
41,200
51,500
61,800
82,400
8.52,550
103,000
113,300
123,600
164,800
206,000

A 4 by 6 inch print at 300 PPI therefore needs 1,200 by 1,800 pixels. Run each edge through the converter separately.

What does this calculator not account for?

  • Your screen's physical size. A monitor's real PPI depends on its resolution and diagonal size, and operating systems scale the display. The converter does not measure your screen.
  • Device pixel ratio. High resolution phones and laptops draw several device pixels for each CSS pixel. CSS px is a reference unit, not a hardware pixel.
  • Printer dots. A printer's DPI for ink droplets is a different thing from an image's PPI. Use the image PPI here.
  • Resampling. Changing an image's PPI setting in an editor without resampling changes only the print size, not the pixels. The converter assumes the pixel count stays the same.

What mistakes do people make with this?

  • Assuming 72 or 96 PPI for print. Those figures come from early screens and CSS. A print shop usually wants 300 PPI or the figure on its specification sheet.
  • Rounding pixels down. 2,480.31 px rounds to 2,480, which is a hair short of 21 cm at 300 PPI. For a bleed or a tight fit, round up.
  • Mixing PPI and pixels per centimetre. Some European software uses pixels per centimetre. 300 PPI is 118.1102 px/cm.
  • Expecting a fixed answer. "How many pixels is an inch?" has no single answer outside CSS.

Frequently Asked Questions

How many pixels is 1 inch?

It depends on the density: 300 at 300 PPI, 96 at 96 PPI, 72 at 72 PPI. In CSS, 1 inch is defined as 96 px.

How do I convert pixels to inches?

Divide the pixels by the PPI. 3,000 pixels at 300 PPI is 10 inches.

How big will my photo print?

Divide each side in pixels by the print PPI. At 300 PPI, a 3,000 pixel side prints 10 inches long.

How many pixels do I need for an 8 by 10 print?

At 300 PPI, 2,400 by 3,000 pixels.

Is DPI the same as PPI?

For converting image size, yes: software uses both terms for pixels per inch. Strictly, DPI describes printer dots and PPI image pixels.

How many pixels is A4 at 300 DPI?

The 21 cm side is 2,480.31 pixels. Run 29.7 cm the same way for the long side.

How many inches is 1920 pixels?

At 96 PPI it is 20 inches; at 72 PPI it is 26.6667 inches. The density decides.

Sources

Did this calculator answer your question?

How this calculator is tested

This calculator is checked by 8 automated test cases: specific inputs whose correct result is known in advance, and rules the output must always obey. They run on every change to the site. See the testing and corrections policy.

Show the test cases
  • Default: 3,000 px at 300 PPI is 10 in, 25.4 cm
  • the same 3,000 px at 150 and 96 PPI
  • 96 px at 96 PPI is 1 in; 1,920 px is 26.6667 in at 72 and 6.4 in at 300
  • 8 in at 300 PPI is 2,400 px; 21 cm is 2,480.31 px
  • pixels to centimetres
  • round-trips inches to pixels and back
  • guards a zero density and a negative amount
  • builds the three reference tables from compute()

Add This Website as Preferred Source on Google

See Bedrock Calculator first in your Search results & AI Overviews