Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Plane Geometry Calculators
  4. /Rectangle Diagonal Calculator

Rectangle Diagonal Calculator

Last updated: March 15, 2026

Calculator

Results

Enter values to see results

Diagonal

—

units

Results

Enter values to see results

Diagonal

—

units

The Rectangle Diagonal Calculator computes the length of the diagonal of a rectangle given its length and width. The diagonal is the straight line connecting opposite corners of the rectangle, and its calculation is a direct application of the Pythagorean theorem — one of the most famous and useful results in all of mathematics.

Every rectangle has two diagonals, and a remarkable property of rectangles is that both diagonals are always equal in length. This property distinguishes rectangles from general parallelograms, where the diagonals are typically of different lengths. The diagonals of a rectangle also bisect each other, meaning they cross at their respective midpoints, creating four triangles of equal area within the rectangle.

The diagonal of a rectangle is calculated using the Pythagorean theorem. When you draw a diagonal in a rectangle, it divides the rectangle into two congruent right triangles. The length and width of the rectangle become the two legs of each right triangle, and the diagonal is the hypotenuse. Therefore, d = √(l² + w²), directly from the theorem a² + b² = c².

The Pythagorean theorem, attributed to the ancient Greek mathematician Pythagoras (c. 570–495 BCE), is one of the cornerstones of Euclidean geometry. However, the relationship was known to Babylonian mathematicians more than a thousand years before Pythagoras, as evidenced by the clay tablet Plimpton 322 (c. 1800 BCE). The theorem has been proven in hundreds of different ways, making it one of the most-proved results in mathematical history.

Diagonal measurements have enormous practical importance. Television and monitor screens are measured by their diagonal length — a "55-inch TV" has a diagonal of 55 inches. This convention exists because the diagonal provides a single number that characterizes the overall screen size regardless of the aspect ratio. Construction workers use diagonal measurements to verify that rectangular frames, foundations, and walls are truly square (have right angles). If the measured diagonal matches the calculated diagonal, the corners are confirmed to be right angles.

In construction, the "3-4-5 rule" is a practical application of the Pythagorean theorem for verifying right angles. If a rectangle has sides of 3 and 4 units, its diagonal should be exactly 5 units. Builders use this ratio (or multiples like 6-8-10 or 9-12-15) to check squareness without needing specialized equipment. This ancient technique is still standard practice in construction today.

The diagonal also plays a role in determining the maximum object size that can be moved through a rectangular opening. For instance, the longest straight object that can fit through a rectangular doorway is related to the diagonal of the opening (though the actual problem of moving objects through openings involves more complex considerations in three dimensions).

This calculator provides instant diagonal computation from length and width inputs. Whether you are sizing a TV for a specific space, verifying construction squareness, or solving geometry problems, this tool delivers accurate results using the time-tested Pythagorean theorem.

How It Works

The Rectangle Diagonal Calculator applies the Pythagorean theorem:

$$d = \sqrt{l^2 + w^2}$$

where:

  • d = length of the diagonal
  • l = length of the rectangle
  • w = width of the rectangle

This formula arises because the diagonal divides the rectangle into two right triangles. In each triangle, the length and width are the two legs, and the diagonal is the hypotenuse. By the Pythagorean theorem (a² + b² = c²), we get d² = l² + w², so d = √(l² + w²).

Both diagonals of a rectangle have exactly the same length, so this single calculation gives the length of either diagonal.

Understanding Your Results

The result is the straight-line distance between opposite corners of the rectangle, measured in the same units as the length and width. This diagonal measurement is always longer than either individual side but shorter than the sum of any two sides. It represents the longest straight line that can be drawn within the rectangle. In practical terms, this is the measurement used for screen sizes, the verification distance for construction squareness, and the hypotenuse of the right triangle formed within the rectangle.

Worked Examples

Rectangle with length 3 and width 4

Inputs

length3
width4

Results

diagonal5

Diagonal = √(9 + 16) = √25 = 5 units. This is the classic 3-4-5 Pythagorean triple used in construction.

Widescreen 16:9 display, 48 by 27 inches

Inputs

length48
width27

Results

diagonal55.0818

Diagonal = √(2304 + 729) = √3033 ≈ 55.08 inches. This matches a standard 55-inch widescreen display.

Frequently Asked Questions

The diagonal provides a single number that characterizes overall screen size. Early CRT televisions were nearly square (4:3 ratio), so the diagonal was a reasonable size indicator. As aspect ratios changed to 16:9 and beyond, the diagonal convention remained standard. It allows comparison across different aspect ratios, though it can be misleading — a wider screen with the same diagonal will have less height.

A Pythagorean triple is a set of three positive integers (a, b, c) such that a² + b² = c². The most famous triple is (3, 4, 5). Others include (5, 12, 13), (8, 15, 17), and (7, 24, 25). Multiples of triples are also triples: (6, 8, 10) is a multiple of (3, 4, 5). When a rectangle has sides forming a Pythagorean triple, its diagonal is an integer.

If a rectangle is truly square-cornered, its diagonal must equal √(l² + w²). Builders measure both diagonals of a rectangular frame or foundation. If both diagonals are equal and match the calculated value, all four corners are right angles. If the diagonals are unequal, the shape is a parallelogram (skewed), not a true rectangle.

Yes. Rearranging the formula: w = √(d² − l²). For example, if the diagonal is 13 units and the length is 12 units, then w = √(169 − 144) = √25 = 5 units.

Yes, the diagonals of a rectangle always bisect each other — they cross at their exact midpoints. This means the point where the diagonals intersect divides each diagonal into two equal segments. Furthermore, this intersection point is the center of the rectangle and equidistant from all four vertices.

The diagonal alone does not determine the area, because many different rectangles can share the same diagonal. For example, both a 3×4 rectangle (area 12) and a 1×√24 rectangle (area √24 ≈ 4.9) have a diagonal of 5 units. You need both the length and width (or the diagonal plus one side) to determine the area.

Sources & Methodology

Euclid, Elements, Book I, Proposition 47 (c. 300 BCE); Eli Maor, The Pythagorean Theorem: A 4,000-Year History; Standard geometry and construction references.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Regular Polygon Calculator

Plane Geometry Calculators

Pentagon Calculator

Plane Geometry Calculators

Hexagon Calculator

Plane Geometry Calculators

Octagon Calculator

Plane Geometry Calculators

Ellipse Calculator

Plane Geometry Calculators

Ellipse Area Calculator

Plane Geometry Calculators