ToolNimba

๐Ÿ“ PX to Inches Converter: Convert Pixels to Inches by DPI

Shihab Mia By Shihab Mia ยท Updated 2026-07-13

Inches
-
Centimeters
-
Millimeters
-
Points (pt)
-

Type a pixel value to get inches, or type inches to get pixels. Everything recalculates against the selected DPI.

Common pixel sizes converted to inches at 96 DPI (the CSS default)
Pixels (px) Inches Centimeters Points (pt)

To convert pixels to inches, divide the pixel count by the DPI (dots per inch): inches = px / DPI. At the standard web resolution of 96 DPI, 96 px equals exactly 1 inch, which is also 2.54 cm and 72 points. This px to inches converter works both ways, so you can type a pixel value to read the inches, or type inches to get the pixels, and it updates the centimeter, millimeter and point equivalents at the same time. Pick 72, 96, 150 or 300 DPI, or enter a custom resolution to match your own screen or print job.

What is the PX to Inches Converter?

A pixel is not a fixed physical length. It is a single dot in a raster image or on a display, so how big it looks in the real world depends entirely on how densely those dots are packed. That density is DPI (dots per inch) for print, or the closely related PPI (pixels per inch) for screens. The whole conversion rests on one relationship: a pixel becomes a real measurement only once you decide how many pixels fit in one inch. Divide the pixels by that number and you have inches.

The number 96 shows up everywhere because the CSS specification defines 1 inch as 96 pixels for the reference pixel used in web layout. That is why a 96 px box is treated as one inch wide in browser terms, and why designers reach for 96 DPI as the safe default. It also produces the clean chain that anchors this whole topic: 96 px = 1 in = 2.54 cm = 72 pt. Points matter here because typography has used 72 points per inch since the desktop publishing era, which is exactly where the 72 DPI value comes from.

Print is a different world. Screens are comfortable around 96 PPI, but a sharp printed photo usually needs 300 DPI, and large-format or draft work often sits near 150 DPI. The same 300 px image is 3.125 inches wide at 96 DPI but only 1 inch wide at 300 DPI. Nothing about the file changed, only the assumed density, so the physical size shrinks as DPI rises. This is the single most common source of confusion when people move an image from web to print, and it is exactly why choosing the correct DPI in this tool matters more than the arithmetic itself.

Because a pixel has no intrinsic size, there is no such thing as a universal px to inches answer. A phone screen might pack over 400 pixels into an inch while an old monitor packed closer to 72. When someone asks how many inches a 500 px image is, the honest reply is a question: at what DPI? This converter makes that assumption explicit by putting the DPI selector front and center, so the result you copy is always tied to a stated resolution rather than a hidden guess.

When to use it

  • Sizing an image for print, for example checking that a 1800 px wide photo is 6 inches at 300 DPI before sending it to a printer.
  • Translating a CSS pixel dimension into inches for a client who thinks in physical page sizes.
  • Working out how many pixels you need for a physical target, such as a 2 inch logo at 300 DPI (600 px).
  • Cross checking a design between screen (96 DPI) and print (300 DPI) so an element keeps the same real-world size.
  • Converting pixel measurements into centimeters or millimeters for a spec sheet that uses metric units.
  • Sanity checking a scanned document or PDF where the DPI is known and you need the page size in inches.

How to use the PX to Inches Converter

  1. Choose the resolution that matches your context: 96 DPI for web and screens, 300 DPI for print, or a custom value for a known device.
  2. Type your pixel value into the Pixels field to read the inches, centimeters, millimeters and points instantly.
  3. Or type into the Inches field instead to convert the other way and get the matching pixel count.
  4. Switch the DPI at any time; both the pixel and inch figures recalculate against the new resolution.
  5. Use Copy result to grab all the equivalents at once, or Clear to start over.

Formula & method

inches = px / DPI, and reversed, px = inches x DPI. From the inches you can derive the rest: centimeters = inches x 2.54, millimeters = inches x 25.4, and points = px x 72 / DPI. At the CSS default of 96 DPI this gives 96 px = 1 in = 2.54 cm = 72 pt.
inches = px / DPI96 px/96 DPI=1 inAt 96 DPI the equivalents line up exactly1 in2.54 cm72 pt96 px

Worked examples

How many inches is a 500 px wide element on a standard web page (96 DPI)?

  1. Use inches = px / DPI
  2. Substitute the values: 500 / 96
  3. 500 / 96 = 5.2083 inches
  4. For metric, multiply by 2.54: 5.2083 x 2.54 = 13.229 cm

Result: 500 px at 96 DPI = 5.2083 in (about 13.23 cm)

You need a logo printed 2 inches wide at 300 DPI. How many pixels should the file be?

  1. Reverse the formula: px = inches x DPI
  2. Substitute the values: 2 x 300
  3. 2 x 300 = 600 px
  4. Note that the same 600 px file would be 6.25 in wide at 96 DPI

Result: A 2 inch logo at 300 DPI needs 600 px

Common pixel sizes converted to inches, centimeters and points at 96 DPI

Pixels (px)Inches (in)Centimeters (cm)Points (pt)
160.16670.423312
240.250.63518
480.51.2736
9612.5472
19225.08144
3003.1257.9375225
5005.208313.229375
100010.416726.458750

The same 300 px image at different resolutions, showing how DPI changes the physical size

DPIWidth in inchesTypical use
724.1667Legacy points, some older screens
963.125CSS and web default
1502Draft or large-format print
3001High-resolution photo print

Common mistakes to avoid

  • Assuming pixels have a fixed inch size. There is no single px to inches answer. A pixel only becomes a physical length once you fix the DPI. Always state the resolution: 500 px is 5.21 in at 96 DPI but only 1.67 in at 300 DPI.
  • Using 72 DPI for print instead of 300. The 72 value comes from typography points, not print sharpness. Sending a file at 72 DPI to a photo printer makes it four times too large physically and visibly soft. Most print work wants 300 DPI.
  • Confusing DPI and PPI. DPI (dots per inch) describes print output while PPI (pixels per inch) describes screens and image files. For this conversion they behave the same way, but do not assume a monitor PPI equals a printer DPI.
  • Multiplying when you should divide. To go from pixels to inches you divide by DPI. Multiplying by DPI gives pixels from inches, the reverse direction. Mixing the two is the most frequent arithmetic slip, so let the tool track the direction for you.

Glossary

Pixel (px)
The smallest addressable dot in a raster image or on a display. It has no fixed physical size on its own.
Inch (in)
An imperial and US customary unit of length equal to exactly 2.54 centimeters.
DPI
Dots per inch, the number of dots a printer places, or pixels assumed, per inch of length. Higher DPI means smaller physical size for the same pixel count.
PPI
Pixels per inch, the screen equivalent of DPI, describing how densely pixels are packed on a display or in an image.
Point (pt)
A typographic unit equal to 1/72 of an inch, so there are 72 points in one inch by definition.
CSS reference pixel
The pixel unit used for web layout, defined so that 96 px equals 1 inch, which fixes 96 as the default DPI for screens.

Frequently asked questions

How do I convert pixels to inches?

Divide the pixel value by the DPI: inches = px / DPI. For example, at the standard 96 DPI, 96 px is 1 inch and 480 px is 5 inches. Enter your DPI first so the answer reflects the right resolution.

How many pixels are in 1 inch?

It depends on the DPI. At the CSS and web default of 96 DPI there are 96 pixels in an inch. At 300 DPI, common for print, there are 300 pixels in an inch. There is no single answer without a stated resolution.

What is the pixel to inch value at 300 DPI?

At 300 DPI, divide the pixels by 300. So 300 px is 1 inch, 600 px is 2 inches, and 900 px is 3 inches. Use 300 DPI when preparing images for high quality printing.

Why is 96 the default DPI?

The CSS specification defines 1 inch as 96 pixels for the reference pixel used in web layout. That makes 96 DPI the safe default for screens and produces the clean chain 96 px = 1 in = 2.54 cm = 72 pt.

How do I convert pixels to centimeters?

First convert to inches with inches = px / DPI, then multiply by 2.54, since one inch is 2.54 cm. For example, 96 px at 96 DPI is 1 inch, which is 2.54 cm. This tool shows the centimeter value automatically.

Does changing DPI change the number of pixels in my image?

No. DPI only changes the assumed physical size, not the pixel data. A 300 px image always has 300 pixels; at 96 DPI it prints 3.125 inches wide, and at 300 DPI it prints 1 inch wide. The file itself is unchanged.