PLANE GEOMETRY · SQUARE

Square Calculator

Calculate a square’s area, perimeter, and diagonal from any one known measurement. Choose a side, area, perimeter, or diagonal and follow the formula steps.

CALCULATOR

What do you know?

Enter a positive measurement. The calculator converts it to a side length, then finds the other square measurements.

Press Enter to calculate

YOUR ANSWER

Square measurements

Area25 cm²
Side length5 cm
Perimeter20 cm
Diagonal7.071067812 cm
Square with side, area, and diagonalA square with equal sides labeled s, diagonal d, and area A.A = s²s = 5 cmd = s√2
FORMULAS
A=s2,qquadP=4s,qquadd=ssqrt2A=s^2,qquad P=4s,qquad d=ssqrt{2}
Step-by-step calculation
  1. Start with the known side: 5.
  2. The side is s = 5.
  3. Area: A = s² = 5² = 25.
  4. Perimeter: P = 4s = 4 × 5 = 20.
  5. Diagonal: d = s√2 = 5 × √2 ≈ 7.071067812.

Square measurements at a glance

A

Area

Find the surface inside the four equal sides in square units.

P

Perimeter

Add all four equal sides to find the full boundary length.

d

Diagonal

Use the Pythagorean theorem to find the straight distance across the square.

↔

Four starting points

Start from side length, area, perimeter, or diagonal—whichever value you already have.

What is a square?

A square is a quadrilateral with four equal sides and four right angles. Its opposite sides are parallel, and its two diagonals have equal length. Each diagonal bisects the other at a right angle and splits the square into two congruent right triangles. These properties connect the side length to the square’s area, perimeter, and diagonal.

Square formulas

Let s represent the side length, A the area, P the perimeter, and d the diagonal. The calculator uses these relationships:

AreaA = s²square units
PerimeterP = 4slength units
Diagonald = s√2length units
Side from areas = √Alength units
Side from perimeters = P ÷ 4length units
Side from diagonals = d ÷ √2length units

How the square calculator works

Select the measurement you know, enter its positive value, and choose the matching length unit. If you enter area, the calculator takes its square root to recover the side. If you enter perimeter, it divides by four. If you enter a diagonal, it divides by √2. It then calculates the remaining quantities from the side length and shows each formula substitution.

Area uses squared units: a side measured in centimeters gives area in square centimeters (cm²). Perimeter and diagonal are lengths, so they remain in centimeters. When area is your starting value, enter it in the square of the selected unit. For example, choose centimeters and enter 36 for an area of 36 cm².

Worked examples

Given a side of 5 cm

Area: 5² = 25 cm². Perimeter: 4 × 5 = 20 cm. Diagonal: 5√2 ≈ 7.071 cm.

Given an area of 64 m²

Side: √64 = 8 m. Perimeter: 4 × 8 = 32 m. Diagonal: 8√2 ≈ 11.314 m.

Given a perimeter of 48 in

Side: 48 ÷ 4 = 12 in. Area: 12² = 144 in². Diagonal: 12√2 ≈ 16.971 in.

Given a diagonal of 10 cm

Side: 10 ÷ √2 = 5√2 ≈ 7.071 cm. Area: 50 cm². Perimeter: 20√2 ≈ 28.284 cm.

Square calculator FAQs

How do I find the area of a square?

Multiply the side length by itself: A = s². A square with a 6 cm side has an area of 36 cm².

How do I find the perimeter?

Multiply one side by four: P = 4s. The result is a length, not an area.

How do I calculate a square’s diagonal?

Apply the Pythagorean theorem to two perpendicular sides: d² = s² + s² = 2s², so d = s√2.

Can I calculate the side from the area?

Yes. Take the principal, nonnegative square root: s = √A. A square’s side length cannot be negative.

Can I use the diagonal or perimeter as the input?

Yes. The side is d/√2 from the diagonal or P/4 from the perimeter. Choose the corresponding input mode above the value field.

Why is area shown in square units?

Area is two-dimensional. If each side is measured in cm, multiplying two lengths gives cm × cm = cm².

Is this the same as a number-squaring calculator?

No. This tool calculates geometric measurements of a square. A number-squaring calculator evaluates a number raised to the second power.

Related geometry calculators