Square Calculator

Square Calculator

Calculate the area, perimeter, and diagonal of a square from one side length.

Last updated: June 2026 | By Patchworkr Team

Square Geometry Solver

Side length is required.

A square has four equal sides and four right angles, so one side length determines every main measurement.
Live Results
Area
-
Perimeter
-
Diagonal
-

Formulas

Area: A = s^2

Perimeter: P = 4s

Diagonal: d = s * sqrt(2)

These follow directly from the square's equal sides and the Pythagorean theorem applied to a 45-45-90 triangle.

Worked Example

Example: side length 6

Input: s = 6
Area: 6^2 = 36
Perimeter: 4 x 6 = 24
Diagonal: 6 x sqrt(2) = 8.485281... approx 8.49
Check: sqrt(6^2 + 6^2) = sqrt(72) = 6 sqrt(2)
The calculator will display area 36, perimeter 24, and diagonal about 8.49 for this input.

Related Tools