How this instrument works
A square is the one quadrilateral fixed by a single measurement. Give it a side length s and three separate quantities follow at once: the area A = s² enclosed inside it, the perimeter P = 4s traced around its edges, and the diagonal d = s√2 running corner to corner. A rectangle needs two lengths to pin down the same three quantities; a square needs only one, because its four sides are already forced to match by definition.
The diagonal's factor of √2 is not a figure to memorize on faith — it falls straight out of the Pythagorean theorem. Draw the diagonal and it splits the square into two right isosceles triangles, each with legs of length s and a hypotenuse of length d. That gives d² = s² + s², so d² = 2s² and d = s√2. The identical triangle turns up inside a sheet of A4 paper, in a baseball infield's throw from home to second, and under any corner a carpenter squares off with a framing tool.
There is a genuinely strange consequence hiding inside that √2. The Pythagorean school is credited with discovering that √2 cannot be written as a ratio of two whole numbers — a proof, built from nothing more exotic than a square and its own diagonal, that irrational numbers exist at all. Practically, it means a square built on a tidy whole-number side, say 5 units, ends up with a diagonal whose digits never repeat or terminate: 7.0710678118654755 and onward forever. The edge case at the other end stays tame: a side of 0 collapses area, perimeter, and diagonal to 0 together.
- Type your square's side length into the Side length field — any unit works, and the other three fields update as you go.
- Read Area for the surface enclosed, reported in that unit squared (metres in, square metres out).
- Read Perimeter for the total distance around all four sides, the side length added to itself four times over.
- Read Diagonal for the straight-line corner-to-corner distance, the side length scaled by the fixed ratio √2.
Worked example — a side of 5
A ceramic tile is cut square with each side measuring exactly 5 units. Squaring that side gives the area directly: A = 5² = 25 square units. Adding the side to itself four times, or multiplying by four, gives the perimeter: P = 4 × 5 = 20 units — the trim length needed to edge all four sides of the tile.
The diagonal follows the other multiplier: d = 5 × √2 = 5 × 1.4142135623730951 = 7.0710678118654755 units, produced by two legs of length 5 meeting at a right angle and matching exactly what the Pythagorean theorem predicts for a right isosceles triangle with those legs.
Running the numbers backward from any one figure confirms the same square: an area of 25 gives s = √25 = 5, a perimeter of 20 gives s = 20 ÷ 4 = 5, and a diagonal of 7.0710678118654755 gives s = 7.0710678118654755 ÷ √2 = 5. The same side length comes back three separate ways, which is itself a check that the tile was actually cut square rather than as a slightly uneven rhombus.
Questions
What is the formula for a square's area, perimeter, and diagonal?
Area is A = s², perimeter is P = 4s, and diagonal is d = s√2, where s is the side length. Squaring the side gives area, adding the four equal sides gives perimeter, and the Pythagorean theorem applied to two sides meeting at a right angle gives the diagonal. All three follow from the one measurement you enter.
Why is the diagonal always the side length times the square root of 2?
The diagonal, together with two sides, forms a right isosceles triangle with legs of length s and hypotenuse d. The Pythagorean theorem gives d² = s² + s² = 2s², so d = s√2 ≈ 1.41421356 × s. Because √2 is irrational, a square with a whole-number side never has a whole-number diagonal.
How is this different from a plain square-area calculator?
A standalone area tool answers one question; this sheet answers three at once from the same side length, so a single entry also returns the perimeter and the corner-to-corner distance without re-typing anything. It exists for the common case of needing all three square measurements together, such as cutting a tile and checking its diagonal brace in the same step.
What is a common mistake when finding these three values?
Mixing up which operation belongs to which formula — multiplying the side by four for area instead of squaring it, or squaring it for perimeter. A second frequent slip is dropping the √2 factor entirely and reporting the diagonal as equal to the side, which undercounts it by roughly 41 percent.
Does the side length have to be a whole number?
No — s can be any positive number and the three formulas hold exactly, though the diagonal will almost always come out irrational even from a tidy whole-number side, since it always carries a factor of √2. A side of 0 is the one degenerate case, collapsing area, perimeter, and diagonal all to 0 together.
How do I recover the side length from just one of these values?
Divide backward: s = √A from the area, s = P ÷ 4 from the perimeter, or s = d ÷ √2 from the diagonal. All three routes return the same side length for a genuine square, so measuring any one of the three and solving backward is a fast way to check the other two against it.