United Kingdom · Maths & Statistics

Diagonal Calculator

Screen mode
Diagonal—

Four modes in one tool. The screen mode is the one most people need — a television or monitor is sold by its diagonal, which tells you nothing useful about how much wall it covers until you factor in the aspect ratio.

How do you calculate a diagonal?

For a rectangle, the diagonal is the square root of width squared plus height squared. For a box, add the depth squared as well. For a screen, divide the diagonal by the square root of the sum of the squared aspect ratio terms, then multiply by each term to get width and height.

How to use this calculator

  1. Pick the shape firstThe four modes use different fields. Rectangle and square work from the sides; box adds depth; screen works backwards from the diagonal.
  2. For a screen, set the units to inchesScreens are sold in inches almost everywhere. The breakdown converts the result to centimetres for measuring the wall.
  3. Use the box mode for what fitsThe space diagonal is the longest rigid object that could fit inside — useful for a van, a loft hatch or a packing box.
  4. Compare aspect ratios before buyingThe screen mode shows what the same diagonal gives at 16:9, 4:3 and 21:9. The differences are larger than people expect.

Why a diagonal is a poor way to sell a screen

Pythagoras gives the diagonal of a rectangle as the square root of the sum of the squared sides. That much is straightforward, and it is the basis of every mode in this tool.

What is less obvious is what happens when you run it backwards. A diagonal on its own does not determine a rectangle — infinitely many rectangles share the same diagonal, from a long thin one to a square. You need the aspect ratio as well.

That is exactly the situation with screens, and it is why the industry convention of quoting a diagonal is so misleading.

A 32 inch screen at 4:3 measures 25.6 by 19.2 inches, giving 491 square inches of picture. A 32 inch screen at 16:9 measures 27.9 by 15.7, giving 438 square inches. Same diagonal, 11% less picture.

At 21:9 the same 32 inch diagonal gives 29.4 by 12.6 inches — only 371 square inches, a quarter less than the 4:3 screen.

The pattern is general: for a fixed diagonal, the closer the rectangle is to square, the more area it has. A square maximises area for a given diagonal, and stretching it in either direction reduces the area while keeping the diagonal unchanged.

This is why so many people found their first widescreen television disappointing. Replacing a 28 inch 4:3 set with a 32 inch widescreen felt like an upgrade on paper and often looked smaller in the room, because the height dropped from 16.8 inches to 15.7 despite the larger diagonal.

It also explains the marketing incentive. Quoting the diagonal makes an ultrawide monitor sound larger than an equivalent-area conventional one, and there is no requirement to state the area.

The practical response when buying is to work out the actual width and height, then measure the space. A television that fits the alcove and a television with an impressive diagonal are different questions.

For viewing distance, the width matters more than the diagonal, because horizontal viewing angle is what determines immersion. Recommendations expressed in multiples of the diagonal implicitly assume 16:9 and break down for other ratios.

Formulafor ratio a:b, width = d × a ÷ √(a² + b²)

Worked example: a 55 inch screen and a 120 × 90 rectangle

Start with the screen. A 55 inch diagonal at 16:9.

The ratio terms squared and summed give 16² + 9² = 256 + 81 = 337. The square root of 337 is 18.3576.

Dividing the diagonal by that gives the scale factor: 55 ÷ 18.3576 = 2.9960.

Multiply by each ratio term: width = 16 × 2.9960 = 47.94 inches, height = 9 × 2.9960 = 26.96 inches.

In centimetres that is 121.8 cm wide by 68.5 cm tall — which is the figure to measure against the wall or the alcove, and it is a good deal wider than most people picture when they hear 55 inches.

The screen area is 1,292 square inches.

Now compare at 4:3. The same 55 inch diagonal gives 44 by 33 inches, an area of 1,452 square inches — 12% more picture from the same headline number.

And at 21:9: 50.55 by 21.67 inches, an area of 1,095 square inches — 15% less than the 16:9 screen despite being over two and a half inches wider.

Now the rectangle mode. A 120 by 90 cm rectangle has a diagonal of √(120² + 90²) = √(14,400 + 8,100) = √22,500 = 150 cm exactly.

That is a 3-4-5 triangle scaled by 30, which is why it comes out whole. The angle to the long side is arctan(90 ÷ 120) = 36.87°.

The equal-diagonals property is the practical one here. Both diagonals of a rectangle are the same length, so measuring both diagonals of a frame, a base or a decking platform and finding them equal proves the corners are square. It is faster and more reliable than checking each corner with a square, and it is what every carpenter does.

For the box mode, a 120 by 90 by 60 cm box has a space diagonal of √(14,400 + 8,100 + 3,600) = √26,100 = 161.6 cm. That is the longest thin rigid object that would fit inside — though anything with real thickness needs a little less.

The same diagonal at different ratios

Diagonal16:9 size16:9 area4:3 size4:3 area21:9 area
24 in20.9 × 11.8246 in²19.2 × 14.4276 in²209 in²
32 in27.9 × 15.7438 in²25.6 × 19.2491 in²371 in²
43 in37.5 × 21.1790 in²34.4 × 25.8888 in²669 in²
50 in43.6 × 24.51,068 in²40.0 × 30.01,200 in²905 in²
55 in47.9 × 27.01,292 in²44.0 × 33.01,452 in²1,095 in²
65 in56.7 × 31.91,806 in²52.0 × 39.02,028 in²1,530 in²
75 in65.4 × 36.82,404 in²60.0 × 45.02,700 in²2,036 in²

The 4:3 column is consistently about 12% larger in area than 16:9 at the same diagonal, and 21:9 about 15% smaller. That is why an ultrawide monitor advertised at 34 inches has less screen area than a 32 inch 16:9 one. If area is what you care about, compare areas rather than diagonals.

Other uses, and where Pythagoras stops working

Squaring up is the most common practical use. Set out a rectangle, measure both diagonals, and adjust until they match. This works for decking, patios, fence lines, door frames, shed bases and picture frames, and it is far quicker than checking four corners individually.

The 3-4-5 method is the same principle in reverse. Measure 3 units along one edge and 4 along the other, and if the diagonal between those points is exactly 5, the corner is square. Any multiple works — 300, 400, 500 mm is convenient, and 900, 1200, 1500 mm is more accurate over a larger setting-out.

For a box or a room, the space diagonal answers a genuinely useful question: what is the longest thing that fits? A 2.4 m length of timber will go into a van whose space diagonal exceeds 2.4 m, even if no single dimension does. The same logic applies to getting a sofa through a doorway, though there the pivoting geometry is more complex than a single diagonal.

In navigation and surveying, the diagonal is the straight-line distance between two points given their eastings and northings, which is Pythagoras applied to a coordinate grid.

For screens specifically, pixel density is worth calculating alongside the physical size. A 4K panel at 27 inches has a much higher pixel density than the same resolution at 43 inches, which is what determines whether text looks sharp at a normal working distance.

On the limits: Pythagoras applies only to right angles. For a parallelogram, a rhombus or any quadrilateral without square corners, the two diagonals differ and the law of cosines is required instead.

For a shape on a curved surface — a diagonal across a large area of the Earth, for instance — plane geometry breaks down and spherical trigonometry takes over. The error is negligible over a room and significant over a country.

And for a screen, the quoted diagonal has occasionally not matched the visible picture. Older cathode ray tube televisions were measured across the tube including the part hidden by the bezel, so a 28 inch set showed rather less than 28 inches. Modern flat panels are measured across the visible area, and the convention is now reliable — but it is worth knowing if you are comparing against an old set from memory.

Pythagoras applies to right angles only. Parallelograms and other non-rectangular shapes have two different diagonals and need the law of cosines.

Assumptions and limitations

  • Applies to right-angled shapes only — parallelograms need the law of cosines
  • The box mode gives the space diagonal for a zero-thickness object
  • Screen mode assumes the diagonal is the visible display area, not including bezel
  • Does not account for screen curvature on curved displays
  • Plane geometry only — not valid over distances where the Earth's curvature matters
  • Aspect ratios are entered as whole numbers, so 1.85:1 must be approximated
  • Does not calculate pixel density or viewing distance recommendations

Questions people ask about this in United Kingdom

How do you calculate a diagonal?

For a rectangle, take the square root of width squared plus height squared.

A 120 × 90 cm rectangle has a diagonal of √22,500 = 150 cm exactly.

What size is a 55 inch TV really?

At 16:9, about 47.9 inches wide by 27.0 tall — 121.8 by 68.5 cm.

That is the figure to measure against the wall, and it is wider than most people picture.

Why did my new widescreen TV look smaller?

Because for a fixed diagonal, a wider ratio has less area and less height.

A 32 inch 16:9 set is shorter than a 28 inch 4:3 one, despite the larger headline number.

Which aspect ratio gives the most screen area?

The closest to square. At the same diagonal, 4:3 gives about 12% more area than 16:9, and 21:9 gives about 15% less.

Compare areas rather than diagonals if area is what matters.

How do I check a frame is square?

Measure both diagonals. In a rectangle they are always equal, so if they match, the corners are square.

It is faster and more reliable than checking each corner individually.

What is the space diagonal of a box?

√(length² + width² + height²) — the longest straight object that fits inside.

A 120 × 90 × 60 cm box gives 161.6 cm, though anything with real thickness needs slightly less.

Why is the diagonal of a square irrational?

Because it is the side times √2, and √2 cannot be written as a fraction.

That discovery is said to have deeply unsettled the Pythagoreans, who believed all quantities were ratios of whole numbers.

Method, source and review date

How it is worked out
Pythagoras in two and three dimensions
Formula used
d = √(w² + h²); box: d = √(l² + w² + h²)
Checked against
Pythagorean theorem
Last reviewed
Confidence
High

Spotted a figure that has moved, or a formula you can show is wrong? Tell us — send a correction. Fixes to rates and formulas are treated as urgent.

Disclaimer

This calculator gives an estimate for guidance only. Check the figures against your own measurements or paperwork before you commit money to them.