Print and display dimensions

Available modes: Print size, Display dimensions, Pixels from print size.

Width (cm)
—
Height (cm)
—
Width (in)
—
Height (in)
—
PPI
—
W (px)
—
H (px)
—
Aspect ratio
—
Diagonal (in)
—
Diagonal (px)
—

Use the displayed units and your chosen coefficients. Approximate results show up to 12 significant digits. in=px/DPI; cm=2.54in; PPI=hypot(pxW,pxH)/Din; px=ceil(cm·DPI/2.54).

How the calculation works

Available modes: Print size, Display dimensions, Pixels from print size.

Use the displayed units and your chosen coefficients. Approximate results show up to 12 significant digits. in=px/DPI; cm=2.54in; PPI=hypot(pxW,pxH)/Din; px=ceil(cm·DPI/2.54).

Approximate results show up to 12 significant digits.

Frequently asked questions

How is the result calculated?

in=px/dpi; cm=in·2.54

What assumptions apply?

Input and output units are stated explicitly.

How precise are the displayed results?

Approximate results show up to 12 significant digits. Use the displayed units and your chosen coefficients.

How we verified this calculator

The calculator is checked against 6 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Mode = Display dimensions
Width (px) = 1920
Height (px) = 1080
Diagonal (in) = 24
Width (in): 20.917812891
Height (in): 11.7662697512
PPI: 91.7877987534
2
Mode = Pixels from print size
Width (cm) = 3.5
Room height (cm) = 4.5
Print resolution (dpi) = 300
W (px): 414
H (px): 532
3
Mode = Display dimensions
Width (px) = 1000
Height (px) = 1000
Diagonal (in) = 10
Width (in): 7.07106781187
Height (in): 7.07106781187
4
Mode = Display dimensions
Print resolution (dpi) = 0
PPI: 160.078105936
5
Mode = Display dimensions
Width (px) = 1919
Height (px) = 1080
Aspect ratio: 1919:1080
6
Mode = Display dimensions
Width (px) = 1000000000
Height (px) = 1000000000
Aspect ratio: 1:1
Diagonal (px): 1414213562.37

How we test our calculators →

Also try:

Back to category →