Square Calculator
Calculate area, perimeter, and diagonal of a square from its side length.
Dimensions
Updates as you typeSide length
Side (s) ?
—
cm
Formula
A
=
s
2
P
=
4s
d
=
s
√2
- A
- Area — surface enclosed by the square
- P
- Perimeter — total length around the square
- d
- Diagonal — straight line between opposite corners
- s
- Side — length of one edge (all four are equal)
- √2
- Square root of 2 — approximately 1.41421356…
Worked example — your numbers
- Enter a side length to see each step.
- —
- —
- Result: —
Every measurement of a square comes from the side length. Once you know the side, the area, perimeter and diagonal follow directly — and any one of those values can be inverted to recover the side.