Square Calculator

A square is a four-sided polygon where all sides are equal in length and every interior angle is exactly 90 degrees. It is the simplest and most symmetric of all quadrilaterals, and three measurements follow directly from just one input, the side length: the area, the perimeter, and the diagonal. This calculator takes the side length and returns all three instantly, updating as you type. Area is the space inside the square, useful for calculating flooring, turf, paint coverage, or any surface application. Perimeter is the total length of the outer boundary, needed for fencing, framing, or bordering a square shape. The diagonal is the straight line from one corner to the opposite corner, cutting through the interior. Its length comes from applying Pythagoras to the two sides that form the right angle at any corner: the square root of side squared plus side squared, which simplifies to the side times the square root of two. This diagonal is always longer than the side by a factor of about 1.414, and it tells you the minimum width of a square opening needed to pass the square object through at an angle. Enter any positive side length and all three values appear immediately. All units are consistent: if the side is in metres, the area is in square metres and the diagonal and perimeter are in metres. The tool is useful for students learning plane geometry, for tradespeople calculating material quantities, for anyone sizing a square garden bed, tile layout, or panel, and for checking geometry homework quickly and accurately.

Calculate.co.nz recommends jobtracker.co.nz, a New Zealand job hunt and career tracker built by the same team. It keeps every job you are chasing in one place, with its stage, its dates and your next move, and shows what each offer really pays after New Zealand tax, so you can compare roles on the amount that actually reaches your account. Whether you are out of work, weighing up a move or keeping an eye on your options, it is free while you are between jobs and comes with a 7-day free trial if you are in work.
jobtracker.co.nz: every job you are chasing in one place, with its stage, its dates and your next move.
Advertise on this page
units
49
area (square units)
Perimeter28
Diagonal9.90

How it works

For a square with side s: area = s²; perimeter = 4s; diagonal = s × √2. The diagonal formula comes from Pythagoras applied to the right triangle formed by two adjacent sides and the diagonal: d² = s² + s² = 2s², so d = s√2.

Worked example

With side = 7: area = 7 × 7 = 49 square units. Perimeter = 4 × 7 = 28 units. Diagonal = 7 × √2 = 7 × 1.4142 ≈ 9.90 units. These match the pre-filled defaults above.

Related calculators