PX to Inches Converter

Convert between pixels and inches. Perfect for print layouts, physical design specifications, and design software.

px
in
CSS
font-size: 0.16667in;

Common conversions

Pixelsin
8px0.08333in
10px0.10417in
12px0.125in
14px0.14583in
16px0.16667in
18px0.1875in
20px0.20833in
24px0.25in
32px0.33333in
40px0.41667in
48px0.5in
64px0.66667in

The PX to Inches Converter changes pixels into inches for print and physical design specifications. At the standard 96 pixels per inch the conversion is exact.

Whenever a design has to exist in the physical world — a printed page, a business card, a poster — dimensions are given in inches rather than pixels. Enter a pixel value and the converter returns the inches equivalent (and back), so you can size screen assets for print with confidence.

How to convert px to inches

  1. Enter the pixel value.
  2. Read the equivalent in inches; it also converts inches back to px.

The px to inches formula

inches = px ÷ 96, because screens assume 96 pixels per inch (PPI). So 96px equals 1 inch and 300px is about 3.125 inches.

CSS pixels vs. physical inches

CSS defines 1 inch as exactly 96 pixels using a reference pixel, so the conversion is always fixed in CSS. That is not the same as a physical inch on every device — a high-density phone packs many more hardware pixels into an inch — but for design and print workflows the 96 PPI reference is the number you calculate with. If you are preparing artwork for a printer that works at 300 DPI, treat that separately from the CSS pixel.

Preparing designs for print

Use inches when specifying real-world sizes: page margins, a photo that must print at a set width, or an element in a print stylesheet. Pair this converter with the PX to PT converter for type, since print typography is usually given in points. For anything staying on screen, keep working in px, rem, or percentages rather than inches.

Frequently Asked Questions

How do I convert pixels to inches?

Divide the pixel value by 96. So 96px is 1 inch and 192px is 2 inches. The converter works both ways.

Does the DPI affect the result?

Yes. The standard is 96 PPI for screens; at a different DPI the number of pixels per inch changes, which affects print sizing.

When do I need pixels in inches?

When preparing designs for print or physical output, where dimensions are specified in inches rather than pixels.