Screen Pixel Density Calculator
Calculate PPI and physical size from resolution and diagonal.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: PPI = diagonal pixel count ÷ physical diagonal inches. Assumes a flat rectangular screen with square pixels. Does not determine CSS devicePixelRatio or actual browser rendering scale.
How to use it (step by step)
- 1Fill in the boxes: “Horizontal pixels”, “Vertical pixels”, “Diagonal (inches)”. Example numbers are already there so you can see how it works; replace them with yours.
- 2The result updates instantly as you type (on a phone it is below the boxes).
- 3The bold line is the main answer. Tap Copy next to any value to copy it.
Words to know
- Resolution / pixels
- A picture is made of tiny dots called pixels. 1080×1920 means 1,080 dots wide and 1,920 tall.
- Fraction / ratio
- A fraction is a part of a whole (3/4 = three of four parts). A ratio compares two amounts (2:1 = twice as much).
- CSS
- The code that controls how a web page looks: colors, sizes, spacing and layout.
More in Design & Color
CSS Box Shadow GeneratorCreate a CSS box-shadow from offsets, blur and opacity.Fluid Typography CSS Clamp GeneratorInterpolate font size between two viewport widths.SVG Placeholder Image GeneratorGenerate an escaped placeholder SVG with dimensions and label.Color Harmony Palette GeneratorGenerate complementary and analogous HSL colors from a hex base.Color Blend CalculatorMix two hex colors at a chosen proportion.Print Size & DPI CalculatorFind print dimensions from pixel size and desired DPI.