Area of a Square Calculator

Enter the side length of a square to instantly calculate its area, perimeter and diagonal. Works in any unit: centimetres, metres, millimetres, inches, feet or any other linear unit.

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
Standard formula  Area = s², Perimeter = 4s, Diagonal = s√2. Standard Euclidean geometry.

1. Square Dimensions

units
Please enter a positive number.

2. Worked Example

For a square with side length 5 m:

Area = s²5 × 5 = 25 m²
Perimeter = 4s4 × 5 = 20 m
Diagonal = s√25 × 1.41421 = 7.071 m

The worked example updates with your inputs.

Results

Area
25
Perimeter
20
m
Diagonal
7.071
m

Full Breakdown

Side length (s)5 m
s² (area)25 m²
4 × s (perimeter)20 m
s × √2 (diagonal)7.0711 m
Diagonal / side ratio√2 ≈ 1.41421

Formulas Used

AreaA = s²
PerimeterP = 4s
Diagonald = s√2
Side from areas = √A
Side from perimeters = P ÷ 4
Side from diagonals = d ÷ √2
Summary: A square with side 5 m has an area of 25 m², a perimeter of 20 m and a diagonal of approximately 7.071 m.

How to Calculate the Area of a Square

A square is a regular quadrilateral: it has four equal sides and four right angles (each 90 degrees). Because all four sides are the same length, only one measurement is needed to fully describe a square.

The three key measurements of a square all follow from the single side length s:

Area Formula Explained

Area measures the amount of two-dimensional space enclosed by a shape. For a square with side length s, the area equals s multiplied by s, because length times width gives area for any rectangle, and a square is a rectangle where length and width are equal.

The result is expressed in square units. If the side is in metres, the area is in square metres (m²). If the side is in centimetres, the area is in square centimetres (cm²), and so on.

Diagonal Formula Explained

The diagonal of a square connects two opposite corners, cutting the square into two right-angled triangles. Each triangle has two shorter sides equal to the side length s and a hypotenuse equal to the diagonal d. Applying Pythagoras' theorem:

d² = s² + s² = 2s²

Therefore d = s√2. The constant √2 is approximately 1.41421. So a 5 m square has a diagonal of 5 x 1.41421 = 7.071 m.

Worked Example: Side of 5 m

MeasurementFormulaCalculationResult
AreaA = s²5 x 525 m²
PerimeterP = 4s4 x 520 m
Diagonald = s√25 x 1.414217.071 m

Common Side Lengths and Their Areas

Side lengthAreaPerimeterDiagonal
1 m1 m²4 m1.414 m
2 m4 m²8 m2.828 m
3 m9 m²12 m4.243 m
5 m25 m²20 m7.071 m
10 m100 m²40 m14.142 m
100 m10,000 m²400 m141.421 m

Related Calculators

Method: Standard Euclidean geometry. Area = s²; Perimeter = 4s; Diagonal = s√2, derived from Pythagoras' theorem (a² + b² = c² with a = b = s). All results are exact in rational arithmetic for integer inputs; the diagonal involves the irrational constant √2.

Results are mathematically exact for the inputs provided. Rounding in the displayed values is for readability only. When applying these results to physical measurements, allow for the precision of your original measurement.

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.