Pixels to Inches Calculator
Convert pixels to inches, inches to pixels, and calculate screen PPI from resolution. Covers web (96 PPI), print (300 DPI), and any custom resolution. Free and instant.
Inches = Pixels ÷ PPIAdjust Variables
Interactive Step-by-Step Calculation Proofs
View how variables resolve algebraically down to peer-reviewed standard outputs.
Why Use This Calculator
Pixels (px) are the fundamental unit of digital screens, but inches are the universal unit for print, physical dimensions, and device specifications. Converting between the two requires knowing the PPI (Pixels Per Inch) — also called DPI (Dots Per Inch) in print contexts — which defines how many pixels fit in one inch. The standard screen PPI is 96 PPI for Windows and most web browsers (the W3C CSS standard), 72 PPI for legacy Mac/web contexts, and 72–326+ PPI for modern mobile displays. For print, the minimum is 150 DPI for draft quality and 300 DPI for professional output. Our pixel to inches calculator converts in both directions — enter pixel dimensions with a known PPI to get the physical size in inches, centimetres, and millimetres; or enter a physical size in inches to get the exact pixel count needed for print. The PPI calculator mode lets you compute the pixel density of any screen from its resolution and diagonal size — useful for comparing monitor sharpness and determining whether to use HiDPI asset variants. Pair this tool with the proportion calculator when scaling designs to new dimensions proportionally.
Mathematical Formula Explanation
Calculated standard benchmarks are based on direct functional dependencies. The primary calculation logic follows this formula:
Inches = Pixels ÷ PPIPixels → Inches and Inches → Pixels are the same relationship (Inches = Pixels ÷ PPI) run in opposite directions once a PPI value is known or assumed. Calculate Screen PPI solves for that missing PPI value itself, using the Pythagorean relationship between a screen's diagonal pixel count and its physical diagonal size — this is the mode to use first if PPI isn't already known, since the other two modes both require it as an input.
Worked Examples (Step-by-Step)
These examples show a web banner's physical size at the standard 96 PPI, and a monitor's actual pixel density calculated from its resolution and diagonal size.
Example 1: 1920 px Web Banner at 96 PPI
“A web designer needs to know the physical width of a 1920-pixel wide banner at the standard 96 PPI web resolution. What is the size in inches, cm, and mm?”
- PX_VAL: 1,920
- PPI_VAL: 96
- INCHES_OUT: 20
- CM_OUT: 50.8
- MM_OUT: 508
Example 2: 27-inch QHD Monitor PPI
“A UX designer wants the PPI of a 27-inch 2560 × 1440 QHD monitor to decide if HiDPI asset exports are needed.”
- SCREEN_W: 2,560
- SCREEN_H: 1,440
- DIAG_IN: 27
- PPI_OUT: 109
- PHYS_W: 23.53
- PHYS_H: 13.24