Square Calculator

Give one measurement of a square and find the rest.

I know the

Choose the measurement you have.

The measurement, more than 0.

Try

Result

You enteredside=5\text{side} = 5

s=5, A=25, P=20, d=52\displaystyle s = 5,\ A = 25,\ P = 20,\ d = 5\sqrt{2}

Side

5\displaystyle 5

Area

25\displaystyle 25

Perimeter

20\displaystyle 20

Diagonal

52≈7.071068\displaystyle 5\sqrt{2} \approx 7.071068
Show the work
  1. Area of a square

    The area counts the unit squares inside, which is the side multiplied by itself. Here s=5s = 5.

    A=s2=52=25\begin{aligned} A &= s^2 \\ &= 5^2 \\ &= 25 \end{aligned}
  2. Perimeter of a square

    The perimeter is the distance round the edge: four equal sides, each s=5s = 5.

    P=4s=4×5=20\begin{aligned} P &= 4s \\ &= 4 \times 5 \\ &= 20 \end{aligned}
  3. Diagonal of a square

    The diagonal is the hypotenuse of a right triangle whose legs are two sides, so d2=s2+s2=2s2d^2 = s^2 + s^2 = 2s^2 and d=s2d = s\sqrt{2}.

    d=s2=5×2=52≈7.071068\begin{aligned} d &= s\sqrt{2} \\ &= 5 \times \sqrt{2} \\ &= 5\sqrt{2} \approx 7.071068 \end{aligned}
  4. Result

    So the side is 55, the area is 2525 square units, the perimeter is 2020 units and the diagonal is 52≈7.0710685\sqrt{2} \approx 7.071068 units.

Worked examples