A diagonal is a line segment that connects two corners of a shape without sliding along any edge. A triangle has none — every pair of vertices is already joined by an edge. A square has two. A pentagon has five.
The Formal Definition
A diagonal of a polygon is a line segment joining two non-adjacent (non-consecutive) vertices. In a polyhedron (a 3D solid), a space diagonal joins two non-adjacent vertices that do not share a face; a face diagonal lies inside a single face of the solid.
The smallest polygon that can have a diagonal is the quadrilateral — three-sided polygons (triangles) have only neighbouring vertices.
Quick reference.
Definition: a segment joining two non-adjacent vertices.
Notation: for length; sometimes or naming the vertices.
Count for an -sided polygon: .
Length — square (side ): .
Length — rectangle (): .
Length — cube (side ): (space diagonal).
Grade introduced: CCSS-M 4.G.A (polygon properties); NCERT Class 8 — Understanding Quadrilaterals.
The Count Formula — Why
From any one vertex, you can draw a line to every other vertex except two — yourself and your two immediate neighbours (those connect by edges, not diagonals). That gives diagonals per vertex. With vertices, the total count of vertex-to-diagonal pairs is . But each diagonal has two endpoints, so it's been counted twice — divide by .
Polygon | Diagonals | |
|---|---|---|
Triangle | ||
Quadrilateral | ||
Pentagon | ||
Hexagon | ||
Heptagon | ||
Octagon | ||
Decagon |
The count grows quickly because each new side adds connections to roughly all existing vertices.
Length of a Diagonal — The Three Most-Used Formulas
These three come up most often in CBSE and Common Core problems.
Square (side ). The diagonal cuts the square into two right triangles whose legs are both . By the Pythagorean theorem:
Rectangle (). The diagonal is the hypotenuse of a right triangle with legs and :
Cube (side ). The space diagonal runs from one corner of the cube straight through to the opposite corner. It's the hypotenuse of a right triangle whose legs are (one edge) and (the face diagonal):
A pattern emerges: a square's diagonal grows like , a cube's like , a 4D-hypercube's like , and so on. The -growth is one of the cleanest results in elementary geometry.
Diagonal Properties Across Common Quadrilaterals
The diagonals of a quadrilateral carry rich information about the shape.
Quadrilateral | Diagonals equal? | Bisect each other? | Bisect at right angles? |
|---|---|---|---|
Square | ✓ | ✓ | ✓ |
Rectangle | ✓ | ✓ | – |
Rhombus | – | ✓ | ✓ |
Parallelogram | – | ✓ | – |
Trapezium (general) | – | – | – |
Isosceles trapezium | ✓ | – | – |
Kite | – | One bisects the other | ✓ |
These properties are how a geometry student proves what kind of quadrilateral they're looking at — measure the diagonals, check the three boxes above, identify the shape.
Three Worked Examples — Quick, Standard, Stretch
Quick. How many diagonals does a hexagon have?
Use with :
Final answer: diagonals.
Standard (Wrong Path First — Where Diagonals Trip Students). A rectangle has length cm and breadth cm. Find the length of its diagonal.
The wrong path. A student tries to add: cm.
The flaw: the diagonal is not the sum of the sides. It's the straight-line distance across, which is the hypotenuse of a right triangle. Adding and would only work if the rectangle were collapsed flat — which makes no geometric sense.
The rescue. Use the Pythagorean theorem on the right triangle whose legs are and :
Final answer: cm.
Sanity check: the diagonal should be less than (triangle inequality) and greater than (the diagonal is the longest side of the right triangle). ✓.
The lesson — a diagonal is a Pythagorean hypotenuse, not a sum. The right angle at the corner of the rectangle is the whole geometric reason behind the formula.
Stretch. A cube has edge length cm. Find (a) the face diagonal and (b) the space diagonal.
(a) Face diagonal — diagonal of one square face of side :
(b) Space diagonal — corner to opposite corner through the interior:
Final answer: face diagonal cm; space diagonal cm.
This is the version of diagonal that shows up in NCERT Class 9–10 mensuration problems and in 3D coordinate geometry (the distance from to is exactly ).
Where Diagonals Appear — Beyond the Polygon
A few places the idea is the foundation under a larger result:
Pythagorean triples in carpentry. The "-- triangle" comes up because a rectangle of sides and has a diagonal of — exactly the trick builders use to square up a foundation.
Television screen sizes. A "-inch TV" measures the diagonal of the screen, not the side. A aspect-ratio screen with a -inch diagonal is about inches wide and inches tall.
Triangulation in maps. Every modern GPS uses diagonals — straight-line distances from satellites to a receiver — to solve for position.
Graph theory. A diagonal in a Latin square or a magic square is a special row that the puzzle uses. The 1948 Latin Square connection by Sir Ronald A. Fisher extended diagonals into agricultural-trial design.
The earliest known proof that a square's diagonal is — and that is not a rational number — is attributed to the Pythagorean school around 500 BCE. The proof is short, four lines, and changed mathematics: it forced the existence of irrational numbers for the first time.
Diagonal: Tripping Points to Avoid
Mistake 1: Counting an edge as a diagonal
Where it slips in: A student lists "the four sides plus two diagonals" of a square as diagonals.
Don't do this: Treat any line segment between two corners as a diagonal.
The correct way: A diagonal joins non-adjacent vertices only. The sides of the polygon are not diagonals. A square has diagonals, not .
Mistake 2: Adding the sides to find a diagonal
Where it slips in: Rectangle of cm × cm — student writes diagonal .
Don't do this: Sum the sides.
The correct way: Apply Pythagoras: cm.
Mistake 3: Confusing the face diagonal with the space diagonal of a cube
Where it slips in: A problem asks for the longest diagonal of a cube of side ; student gives .
Don't do this: Stop at the face diagonal.
The correct way: The longest diagonal of a cube is the space diagonal, — corner to opposite corner through the interior of the cube, not across one face.
Conclusion
A diagonal joins two non-adjacent vertices of a polygon or polyhedron.
An -sided polygon has diagonals.
A square's diagonal is ; a rectangle's is ; a cube's space diagonal is .
The diagonal of every rectangle and square is the hypotenuse of a right triangle — Pythagoras decides the length.
The properties of the two diagonals (equal, bisect, perpendicular) identify the type of quadrilateral.
Quick Self-Check — Three Problems
How many diagonals does a decagon () have?
Find the diagonal of a rectangle of length cm and breadth cm.
Find the space diagonal of a cube of side cm.
If you got for problem 1, recount — the formula gives .
Want a live Bhanzu trainer to walk your child through diagonals and the Pythagorean shortcut? Book a free demo class — online globally.
Was this article helpful?
Your feedback helps us write better content

