A screen with a four-inch diagonal does not have one fixed width. An ideal rectangular 4:3 display is 3.2 inches wide; a 16:9 display with the same diagonal is about 3.486 inches wide.

The aspect ratio supplies the missing information: width compared with height. Treat both displays as active rectangles, excluding the bezel and any rounded corners, and measure each diagonal from one corner to the opposite corner.

Two ideal displays share a four-inch diagonal. The 4:3 rectangle is 3.200 inches wide and 2.400 inches high; the 16:9 rectangle is approximately 3.486 inches wide and 1.961 inches high.
Both rectangles have four-inch diagonals. The 16:9 shape is wider and shorter.Credit: MathBlog

Use the diagonal as a right-triangle side

A diagonal splits a rectangle into two right triangles. Its width and height are the two perpendicular sides, so the Pythagorean theorem relates them to the diagonal.

For width \(w\), height \(h\), and a four-inch diagonal:

\[w^2+h^2=4^2=16.\]

That equation allows many pairs of side lengths. The aspect ratio supplies the extra information needed to choose one pair.

Work out the 4:3 display

A 4:3 width-to-height ratio means the width is \(4k\) and the height is \(3k\), for one positive scale factor \(k\). Substitute those sides into the diagonal equation:

\[(4k)^2+(3k)^2=16,\qquad 25k^2=16.\]

Taking the positive square root gives \(k=\frac45=0.8\) inch. Multiply both ratio numbers by that same scale:

\[w=4(0.8)=3.2\text{ inches},\qquad h=3(0.8)=2.4\text{ inches}.\]

Check the diagonal by squaring the sides: \(3.2^2+2.4^2=10.24+5.76=16\). Its length is therefore four inches.

Repeat for the 16:9 display

Now write the width as \(16k\) and the height as \(9k\). The ratio changes, while the diagonal stays at four inches.

\[(16k)^2+(9k)^2=16,\qquad 337k^2=16,\qquad k=\frac4{\sqrt{337}}.\]

The resulting dimensions are:

\[w=\frac{64}{\sqrt{337}}\approx3.486\text{ inches},\qquad h=\frac{36}{\sqrt{337}}\approx1.961\text{ inches}.\]

Check the sides before rounding them. Their squared lengths add to \(\frac{4096+1296}{337}=16\), and their width-to-height ratio is \(64:36=16:9\).

Ideal dimensions for a four-inch diagonal, rounded to three decimal places
Width:height Width (inches) Height (inches) Area (square inches)
4:3 3.200 2.400 7.680
16:9 3.486 1.961 6.837

The equal diagonals do not give equal areas. Using the rectangle’s area formula, the first display has area \(3.2\times2.4=7.68\) square inches. The second has exact area \(\frac{64\times36}{337}=\frac{2304}{337}\), about 6.837 square inches.

Use the formula for another rectangle

For a positive diagonal \(d\) and positive width-to-height ratio \(a:b\), the same calculation gives:

\[w=\frac{da}{\sqrt{a^2+b^2}},\qquad h=\frac{db}{\sqrt{a^2+b^2}}.\]

The side lengths use the same unit as the diagonal. Keep the radical until the final rounding so the rounded width and height do not create a misleading diagonal check. For a portrait display, write the width first: a 9:16 ratio swaps the two side lengths found for 16:9.

Further reading