Square Calculator

Enter the side length of a square to find its area, perimeter and diagonal.

units

Area
25units²
Perimeter

20

Diagonal

7.0711

Formula
Area = s²; Perimeter = 4s; Diagonal = s × √2
Examples
InputResult
side = 5Area = 25, Perimeter = 20, Diagonal ≈ 7.0711

About this calculator

A square is a special rectangle (and a special rhombus) in which all four sides are equal and all four angles are right angles. Because every side has the same length, its area is the side squared and its perimeter is four times the side.

The diagonal splits the square into two right isosceles triangles, so by the Pythagorean theorem it equals the side multiplied by √2 (about 1.4142). Squares are everywhere in tiling, packaging and grid layouts, making these quick conversions handy.

Frequently asked questions

Multiply the side length by itself (s²). A square with side 5 has an area of 25 square units.

The diagonal is the hypotenuse of a right triangle whose two legs are both the side s, so by the Pythagorean theorem it equals √(s² + s²) = s√2.

Yes. A square satisfies every property of a rectangle (four right angles) with the extra condition that all sides are equal.

Did this calculator help you?