Calculate a Diagonal of a Square

The diagonal of a square is the line stretching from one corner of the square to the opposite corner. To find the diagonal of a square, you can use the formula <math>d = s\sqrt{2}</math>, where <math>s</math> equals one side length of the square. Sometimes, however, you might be asked to find the length of the diagonal given another value, such as the perimeter or area of the square. In these instances it is necessary to use different formulas first, so that you can determine the side length before using the diagonal formula.

Steps

If You Know the Length of One Side

  1. Find the length of one side of the square. This will probably be given to you. If you are working with a square in the real world, use a ruler or piece of measuring tape to find the length. Since all four sides of the square are the same length, you can use any side of the square. If you do not know the length of one side of the square, you cannot use this method.
    • For example, you might want to find the length of the diagonal of a square that has sides 5 centimeters long.
  2. Set up the formula <math>d = s\sqrt{2}</math>. In the formula <math>d</math> equals the length of the diagonal and <math>s</math> equals one side of the square.[1]
    • This formula is derived from the Pythagorean Theorem (<math>a^2 + b^2 = c^2)</math>. A diagonal divides a square into two congruent right triangles, thus, you can use the side lengths of the square to find the length of the diagonal (which would be the hypotenuse of the right triangle).
  3. Plug the side length of the square into the formula. Make sure you are substituting for the variable <math>s</math>.
    • For example, if the square has a side length of 5 centimeters, set up the formula like this:
      <math>d = 5\sqrt{2}</math>
  4. Multiply the length of the side by <math>\sqrt{2}</math>. This will give you the length of the diagonal. It’s best to perform the calculation on a calculator, so that you can get a more precise result. If you don’t have a calculator, you can round <math>\sqrt{2}</math> to 1.414.
    • For example, if you are calculating the diagonal of a 5-centimeter square, your formula will look like this:
      <math>d = 5\sqrt{2}</math>
      <math>d = 7.07</math>
      So, the diagonal of the square is 7.07 centimeters long.

If You Know the Perimeter

  1. Set up the formula for the perimeter of a square. The formula is <math>P = 4s</math>, where <math>P</math> equals the perimeter of the square, and <math>s</math> equals the length of one side of the square.[2]
    • This method only works if you are given the perimeter of the square.
    • To find the length of the diagonal, you must first find the length of one side of the square, so you need to set up the perimeter formula and solve for <math>s</math>.
  2. Plug the length of the perimeter into the formula. Make sure you are substituting for the variable <math>P</math>.
    • For example, if the perimeter of the square is 20 centimeters, your formula will look like this:
      <math>20 = 4s</math>
  3. Solve for <math>s</math>. To do this, divide each side of the equation by 4. This will give you the length of one side of the square.
    • For example:
      <math>20 = 4s</math>
      <math>\frac{20}{4} = \frac{4s}{4}</math>
      <math>5 = s</math>
  4. Set up the formula <math>d = s\sqrt{2}</math>. In the formula <math>d</math> equals the length of the diagonal and <math>s</math> equals one side of the square.[1]
    • This formula is derived from the Pythagorean Theorem (<math>a^2 + b^2 = c^2)</math>. A diagonal divides a square into two congruent right triangles, thus, you can use the side lengths of the square to find the length of the diagonal (which would be the hypotenuse of the right triangle).
  5. Plug the side length of the square into the formula. Make sure you are substituting for the variable <math>s</math>.
    • For example, if the square has a side length of 5 centimeters, set up the formula like this:
      <math>d = 5\sqrt{2}</math>
  6. Multiply the length of the side by <math>\sqrt{2}</math>. This will give you the length of the diagonal. It’s best to perform the calculation on a calculator, so that you can get a more precise result. If you don’t have a calculator, you can round <math>\sqrt{2}</math> to 1.414.
    • For example, if you are calculating the diagonal of a 5-centimeter square, your formula will look like this:
      <math>d = 5\sqrt{2}</math>
      <math>d = 7.07</math>
      So, the diagonal of the square is 7.07 centimeters long.

If You Know the Area

  1. Set up the formula for the area of a square. The formula is <math>A = s^{2}</math>, where <math>A</math> equals the area of the square, and <math>s</math> equals the length of one side of the square.[2]
    • This method only works if you are given the area of the square.
    • To find the length of the diagonal, you have to first find the length of one side of the square, which is why you must set up the area formula and solve for <math>s</math>.
  2. Plug the the area measurement into the formula. Make sure you are substituting for the variable <math>A</math>.
    • For example, if the area of the square is 25 square centimeters, your formula will look like this:
      <math>25 = s^{2}</math>
  3. Solve for <math>s</math>. To do this, find the square root of the area. This will give you the length of one side of the square. To find the square root, use a calculator. If you need help calculating the square root by hand, read Calculate a Square Root by Hand.
    • For example:
      <math>25 = s^{2}</math>
      <math>\sqrt{25} = \sqrt{s^{2}}</math>
      <math>5 = s</math>
  4. Set up the formula <math>d = s\sqrt{2}</math>. In the formula <math>d</math> equals the length of the diagonal and <math>s</math> equals one side of the square.[1]
    • This formula is derived from the Pythagorean Theorem (<math>a^2 + b^2 = c^2)</math>. A diagonal divides a square into two congruent right triangles, thus, you can use the side lengths of the square to find the length of the diagonal (which would be the hypotenuse of the right triangle).
  5. Plug the side length of the square into the formula. Make sure you are substituting for the variable <math>s</math>.
    • For example, if the square has a side length of 5 centimeters, set up the formula like this:
      <math>d = 5\sqrt{2}</math>
  6. Multiply the length of the side by <math>\sqrt{2}</math>. This will give you the length of the diagonal. *It’s best to perform the calculation on a calculator, so that you can get a more precise result. If you don’t have a calculator, you can round <math>\sqrt{2}</math> to 1.414.
    • For example, if you are calculating the diagonal of a 5-centimeter square, your formula will look like this:
      <math>d = 5\sqrt{2}</math>
      <math>d = 7.07</math>
      So, the diagonal of the square is 7.07 centimeters long.

Things You'll Need

  • Calculator

Related Articles

Sources and Citations