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 is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
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