Pixels per inch

Pixels per inch: use horizontal pixels, vertical pixels, screen diagonal. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
PPI = √(horizontal pixels²+vertical pixels²)/diagonal inches

Variables & units

Horizontal pixels
Numeric value · minimum 1, maximum 100000
Vertical pixels
Numeric value · minimum 1, maximum 100000
Screen diagonal
in · minimum 0.000001, maximum 1000000000000

Worked example

1920×1080 on a24-inch display gives approximately91.79 PPI.

Assumptions

Assumes square pixels and a rectangular flat display.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.