Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Diagonal in Geometry Explained with Formula and Examples

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

Diagonal formula for polygons squares and rectangles with solved examples

What is Diagonal? 

A diagonal, in geometry, is a line segment joining two vertices of a polygon or polyhedron, if the vertices present are not present on the same edge. In general, any sloping line is called a diagonal.


Here you can read about the basic properties of diagonals, different types of diagonals, and some easy examples. 


Key Definitions to Remember While learning Diagonals

  • Polygon: A polygon can be defined as a two-dimensional closed shape with straight sides. It is also defined as a flat or plane. 

There are two types of Polygons are Regular polygon and irregular polygon 

  • Vertex: (Plural-vertices) it is described as the corner of any shape.

Number of Diagonals in a Polygon

The number of diagonals in a polygon is based on the number of sides of that particular polygon. We can easily calculate the number of diagonals in a polygon by using a simple formula. 

Number of diagonals = (n(n-3))/2, where n is the number of vertices in the polygon 

For Example- Calculate the number of diagonals in a 12-sided regular polygon. 

According to the formula, number of diagonals in a polygon = (n (n-3))/ 2.

So, the 12-sided polygon will contain 12(12-3)/2 = 54  diagonals.


Diagonal of a Polygon Formula 

If any vertex is connected by sides to two other vertices those connections cannot count as diagonals. That vertex cannot connect to itself either. 

n: the number of sides

sum of diagonal = [(5-3) *5] / 2 = 5


Diagonal of a Square

A square has two diagonals. The line segment joining two corners of a square is known as its diagonal. 


Properties of the Diagonals in a Square

  • The diagonals of a square bisect each other. 

  • Each diagonal of the square divides the square in such a way that it becomes an isosceles triangle. The isosceles triangles formed are congruent to each other. 

  • The diagonals of a square are parallel and perpendicular to each other. 

  • In case a circumcircle is drawn, the diameter of the circumcircle is equal to the length of the diagonal. 

  • The diagonals of a square are also called congruent diagonals as the length of the diagonals of the square is the same. 

If you have the length of the side of a diagonal then you can easily find out the length of the diagonal of the square. You have to use the given formula to find out the length of the diagonal of a square. 

The length of the diagonal of a square = a/sqrt(2) where a is the length of any one of the sides of the square. 


Diagonal of a Rectangle

A special type of parallelogram whose angles are at ninety degrees is called a rectangle. The diagonals of a rectangle are congruent to each other and they bisect each other. A rectangle is one of the Quadrilaterals with congruent diagonals.  The opposite angles formed at the point where diagonals meet are also congruent.

 

You can calculate the length of the diagonal of a rectangle easily if you are provided with the dimensions of its sides. The formula given here is the way you can calculate the length of the diagonal in a rectangle. 


The length of the diagonal of a rectangle = sqrt (a² + b²), where ‘a’ is the length of the rectangle and ‘b’ is the breadth of the rectangle.


Rectangle and Formulas 

Area= Length * Width

Perimeter= 2L + 2W

Diagonal = \[\sqrt{L^{2}+W^{2}}\]


Diagonal of a Rhombus

In a rhombus the angles which are opposite to each other are equal. These angles formed are bisected by the diagonals of a rhombus. A rhombus has four sides with two Diagonals. When all the angles of the rhombus turn 90 degrees it becomes a square. 

You can also calculate the length of the diagonal of a rhombus if you are provided with the area. 

A= (PQ)/2, where p and q are the lengths of diagonals of the rhombus. 

The formula for the length of one diagonal of a rhombus is = p = 2a/q


Area of Rhombus 

Area of Rhombus = \[\frac{(d1\ast d2)}{2}\] 

Diagonal d2= \[\sqrt{4a^{2}+d1^{2}}\]

Diagonal d1 = \[\sqrt{4a^{2}+d2^{2}}\]


Diagonal of a Parallelogram

A parallelogram is a type of rectangle whose angle is not equal to 90 degrees. The two diagonals of a parallelogram bisect each other, and the opposite sides and angles of any parallelogram are congruent.


You can also calculate the length of one diagonal of a parallelogram if the dimensions of its sides and the length of the other diagonal is provided to you. 


Length of one diagonal of a Parallelogram = p = sqrt (2a² + 2b² – (q)²) where p is the diagonal length which you don't know, q is the diagonal length provided to you, a

and b is the length and breadth of the parallelogram, respectively.


Diagonal of Parallelogram 

Relation between sides and diagonals of a parallelogram 

Type equation here.

d12 + d22  = 2(a2+b2)

FAQs on Diagonal in Geometry Explained with Formula and Examples

1. What is a diagonal in geometry?

A diagonal in geometry is a line segment that connects two non-adjacent vertices of a polygon. In simple terms, it joins opposite corners of a shape.

  • In a polygon, diagonals are drawn inside the figure.
  • In a quadrilateral, there are two diagonals.
  • In a rectangle or square, diagonals are equal in length.
This concept is commonly studied in coordinate geometry, polygons, and 2D shapes.

2. How do you find the number of diagonals in a polygon?

The number of diagonals in an n-sided polygon is given by the formula n(n − 3)/2. This formula works for any simple polygon.

  • Step 1: Count the number of sides (n).
  • Step 2: Substitute into the formula n(n − 3)/2.
  • Example: For a hexagon (n = 6):
  • 6(6 − 3)/2 = 6 × 3/2 = 9 diagonals.
This formula is frequently asked in geometry exams and competitive maths questions.

3. What is the formula for the diagonal of a rectangle?

The diagonal of a rectangle is calculated using the formula d = √(l² + b²), where l is length and b is breadth. This formula comes from the Pythagoras theorem.

  • Step 1: Square the length and breadth.
  • Step 2: Add the squares.
  • Step 3: Take the square root.
  • Example: If l = 8 cm and b = 6 cm, then d = √(64 + 36) = √100 = 10 cm.
This is a key formula in coordinate geometry and mensuration.

4. What is the diagonal of a square?

The diagonal of a square is given by the formula d = a√2, where a is the side length. This is derived from the Pythagoras theorem since all sides are equal.

  • In a square, length = breadth = a.
  • Using d = √(a² + a²) = √(2a²).
  • Simplifying gives d = a√2.
  • Example: If a = 5 cm, then d = 5√2 cm.
The diagonals of a square are also equal and bisect each other at right angles.

5. Do diagonals of a rectangle bisect each other?

Yes, the diagonals of a rectangle bisect each other and are equal in length. This means each diagonal cuts the other into two equal parts.

  • The intersection point is the midpoint of both diagonals.
  • Each half of a diagonal has equal length.
  • However, diagonals of a rectangle do not intersect at right angles (unless it is a square).
This property is important in coordinate proofs and quadrilateral geometry.

6. What are the properties of diagonals of a square?

The diagonals of a square are equal, bisect each other, and intersect at right angles. These are special properties unique to squares.

  • Each diagonal has length a√2.
  • They divide the square into two congruent right triangles.
  • The diagonals form four 45° angles at the center.
These properties combine the features of both rectangles and rhombuses.

7. What is the difference between a side and a diagonal?

A side connects two adjacent vertices, while a diagonal connects two non-adjacent vertices of a polygon.

  • Sides form the boundary of the shape.
  • Diagonals are drawn inside the shape.
  • A triangle has no diagonals because every pair of vertices is adjacent.
This distinction is essential when solving polygon and quadrilateral problems.

8. How do you find the diagonal using coordinates?

The diagonal between two points in coordinate geometry is found using the distance formula: d = √[(x₂ − x₁)² + (y₂ − y₁)²].

  • Step 1: Subtract the x-coordinates.
  • Step 2: Subtract the y-coordinates.
  • Step 3: Square both differences and add.
  • Step 4: Take the square root.
  • Example: Between (1,2) and (5,6), d = √[(4)² + (4)²] = √(16 + 16) = √32.
This method is commonly used to find the diagonal of rectangles and squares on the coordinate plane.

9. How many diagonals does a pentagon have?

A pentagon has 5 diagonals. This can be calculated using the formula n(n − 3)/2.

  • For a pentagon, n = 5.
  • Substitute: 5(5 − 3)/2 = 5 × 2/2 = 5.
Each vertex connects to two non-adjacent vertices, forming five diagonals inside the polygon.

10. Why does a triangle have no diagonals?

A triangle has no diagonals because every pair of its vertices is already connected by a side. A diagonal must connect non-adjacent vertices, and in a triangle, there are none.

  • Number of sides (n) = 3.
  • Using formula: 3(3 − 3)/2 = 0.
This is why diagonals begin to appear only in polygons with four or more sides.