Key Points
- A rectangle has two diagonals, each long.
- For a square of side , .
- The diagonals are always equal and cross at their midpoints.
- They meet at right angles only in a square.
- The diagonal is longer than either side but shorter than both sides added.
Why a Rectangle Hides a Right Triangle
A carpenter checks a door frame by measuring its two diagonals, not its four sides. If the numbers differ, the frame is a lopsided parallelogram, not a rectangle.
- Draw one diagonal and the rectangle splits into two right triangles.
- The diagonal is the longest side of each: the hypotenuse.
- So every diagonal question is a Pythagoras question in disguise.

What Is the Diagonal of a Rectangle?
A diagonal of a rectangle is the straight segment joining two opposite corners. Its length is:
- is the length, is the width and is the diagonal.
- The formula comes from the Pythagorean theorem.
- On this page the rectangle is , with and .
- The diagonals and cross at the point .
The Diagonal Formula and Why It Works
Diagonal cuts off triangle , which has a right angle at .
- Its two short sides are and ; its longest side is .
- Pythagoras says , so .
- For a rectangle: squares of 16 and 9 make 25, so the diagonal is 5.

Two useful special cases
- A square: . A Babylonian tablet (YBC 7289, about 1800 to 1600 BCE) already records this ratio.
- The size check: the diagonal beats the longer side but loses to , since a straight line is the shortest path.
Properties of the Diagonals of a Rectangle
The two diagonals of a rectangle are equal, and they bisect each other.
- Equal length: .
- Cut in half: a rectangle is a parallelogram, so and .
- Four equal halves: .
- Four isosceles triangles: each has two equal sides meeting at .
- One circle: every corner is from , so a circle centred at passes through all four.
- Not perpendicular: unless the rectangle is a square.

Why the two diagonals are equal: two ways
- By Pythagoras: both are hypotenuses of right triangles with legs and .
- By congruent triangles: and share , have and a right angle between. Side, angle, side.
- It works backwards: a parallelogram with equal diagonals is a rectangle. That is the carpenter's check.
- An isosceles trapezium also has equal diagonals, so the frame needs equal opposite sides first.
Drag the corners below. Both diagonal lengths change together, and "perpendicular" says No until the shape is a square.
Try It Yourself
Use the polygon lab to see Diagonal of Rectangle at work: drag, change the numbers and watch what happens.
The Angle Between the Diagonals
The diagonals cross at two angles that add to .
- Each diagonal leans off the long side at an angle . In right triangle , (the side opposite divided by the side next to it) is .
- Triangle is isosceles, so and .
- In a square , so both angles are .
- A long, thin rectangle gives a flattened X.
Examples of Diagonal of Rectangle
These build from a plug-in to working backwards and finding angles.
Example 1
Find the diagonal of a rectangle 15 cm long and 8 cm wide.
- .
- Final answer: 17 cm.
Example 2
A rectangle is 5 cm by 2 cm. Find the diagonal to two decimal places.
- , not a whole number.
- Final answer: cm.
Example 3
A field is 21 m by 20 m. How much shorter is the walk corner to corner than round two sides?
- Round two sides: m. The straight path must be shorter.
- m.
- Final answer: cutting across saves m.

Example 4
The diagonal is 25 cm and the width 7 cm. Find the length.
- .
- Final answer: cm.
Example 5
In rectangle ABCD, AC = (2x + 6) cm and BD = (4x − 8) cm. Find x and AO.
- The diagonals are equal: , so .
- cm, and is half of it.
- Final answer: and cm.
Example 6
At what angles do the diagonals of a 12 cm by 5 cm rectangle cross?
- , so .
- and .
- Final answer: about and .

Common Mistakes With the Diagonal of a Rectangle
These slips show up once the numbers stop being neat.
Mistake 1: Adding the sides
Where it slips in: The diagonal "crosses both sides", so students add them.
Don't do this: Say a 15 by 8 rectangle has diagonal 23.
The correct way: Square, add, then root: .
Mistake 2: Forgetting the square root
Where it slips in: Stopping after "square and add".
Don't do this: Report .
The correct way: is , so take the root.
Mistake 3: Mixing units
Where it slips in: Length in metres, width in centimetres.
Don't do this: Use and together.
The correct way: Convert first: cm.
Mistake 4: Assuming the diagonals cross at right angles
Where it slips in: Borrowing the rhombus fact.
Don't do this: Mark a right angle where they meet.
The correct way: Only a square's diagonals are perpendicular; use .
Compare with the properties of a rectangle and diagonals in general.
Why the Diagonal Formula Matters: "Pythagoras Hiding Inside Every Rectangle"
The diagonal turns up wherever rectangles meet real life.
- Screens: a "55-inch" 16:9 TV has a 55-inch diagonal. It is about 47.94 inches wide and 26.96 tall.
- Same diagonal, less picture: a 4:3 screen of 55 inches is 44 by 33, so the 16:9 one has about 11% less area.
- Square corners: equal diagonals prove a frame or floor is truly rectangular.
- Bracing: a diagonal brace turns a wobbly frame into two rigid triangles.

Conclusion
- : the diagonal is the hypotenuse.
- Both diagonals are equal and bisect each other.
- A parallelogram with equal diagonals is a rectangle.
- They are perpendicular only in a square.
Practise What You Have Learned
- Find the diagonal of a 9 by 12 rectangle.
- The diagonal is 13 and the length 5. Find the width.
- Find the diagonal of a 7 by 7 square, exactly.
- The diagonal is 41 cm and the length 40 cm. Find the width.
Answers: 15; 12; ; 9 cm.
Learn more with Bhanzu's geometry tutor, middle school math tutor or math classes online.
Want a Bhanzu trainer to walk your child through Pythagoras and rectangles? Book a free demo class, online globally, or in person at our McKinney, TX center.
Read More
- Diagonal of Rhombus: how diagonals differ in a rhombus.
- Is a Square a Rectangle: the special rectangle whose diagonal simplifies.
- Difference Between a Square and a Rectangle: where their diagonals agree and differ.
- Square: the diagonal of the equal-sided rectangle.
- Rectangle
- Diagonal of a Square
- Angles of a Rectangle
Research Behind This Article
- Euclid, Elements, Book I, Proposition 47 (the Pythagorean theorem), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
- Euclid, Elements, Book I, Proposition 4 (side-angle-side congruence, used to show the diagonals are equal), D. E. Joyce, Clark University. mathcs.clarku.edu
- OpenStax, Prealgebra 2e, Section 9.4: Use Properties of Rectangles, Triangles, and Trapezoids. openstax.org
- MacTutor History of Mathematics, University of St Andrews, Pythagoras's theorem in Babylonian mathematics (the tablet YBC 7289). mathshistory.st-andrews.ac.uk
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What is the formula for the diagonal of a rectangle?
Are the diagonals of a rectangle equal?
Do the diagonals of a rectangle bisect each other at 90°?
How do you find the diagonal of a square?
Can the diagonal be a whole number when the sides are?
