How to calculate the diagonal of a square

Pythagorean Theorem

We can calculate the diagonal of a square as of Pythagorean theorem thanks to which, we know that the hypotenuse squared is equal to the sum of the square of the legs.

Como se trata de un cuadrado, el cateto 'a' y el cateto 'b' tienen la misma longitud ya que como sabes, esta figura geométrica tiene cuatro lados exactamente iguales. Por lo tanto, from the formula of Pythagoras' theorem and the length of the side of the square, we can find its diagonal:

Formula for calculating the diagonal of a square

If you are still not sure how to calculate the diagonal of a squareIn the following you will find the mathematical formula that will allow you to solve this problem:

d = √2-a

Siendo 'd' la diagonal del cuadrado y 'a' el valor de uno de los lados.

How did we arrive at this mathematical formula that allows us to calculate the diagonal? We have simply developed the formula of the Pythagorean Theorem taking into account that the legs are equal. Therefore, the demonstration would be as follows:

d2 = a2 + a2 = 2a2

We clear the unknown to get the diagonal and simplify::

d = √(2a2) = √2-a

Example of how to calculate the diagonal of a square:

Diagonal of a square

To understand the formula seen in the previous point, let's look at a practical example.

If we have a square whose side measures 5 centimetersthen we have that the diagonal is equal to:

d² = 5² + 5² = 50

We take the square root of 50 to clear the unknown (d) and obtain that the diagonal of the square measures 7.07 centimeters.

Remember that you can save all these calculations with the tool you have above these lines, and that automatically calculates the length of the diagonal of a square. Just enter how long the side of the figure is, click on the calculate button and you will automatically get the result you are looking for.

How long are the sides of a square from its diagonal?

Now we can pose the problem in the opposite way, i.e., we are asked for calculate how long the sides of the triangle measure from the diagonal.

For this, we resort again to the Pythagorean Theorem whose starting formula was this:

d2 = a2 + a2 = 2a2

Como tenemos que despejar la incógnita 'a', vamos a ir moviendo términos para lograrlos:

d2/2 = a2

Finally, we are left with the formula as follows

d/√2 = a

That is, we have to divide the diagonal of the square by the square root of 2 and the result obtained will tell us how long the sides of the square are.

Leave a Comment

Information on data protection

  • Responsible: Ignacio Cuesta
  • Purpose of processing: Spam control, comment management, etc.
  • Legitimation: Your consent
  • Communication of data: Data will not be communicated to third parties except by legal obligation.
  • Rights: Access, rectification, portability, forgetfulness.
  • Contact us:
  • Additional information: More information at our privacy policy.