Home · Everyday · Geometry & Coordinates · Square Calc: find A, P, d

Square Calc: find A, P, d

Area, perimeter and diagonal of a square from its side length — the three quantities almost every square problem asks for.

Your figures

Example result — edit the figures to make it yours

25

Area A

Computed from the inputs on this page with the formula below — change any figure and every result updates.

Perimeter P20.0000
Diagonal d7.0711

What this calculator does

Area, perimeter and diagonal of a square from its side length — the three quantities almost every square problem asks for. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

A = s², P = 4s, d = s√2

A square has four equal sides, so its perimeter is 4s and its area is s·s = s². The diagonal splits it into two right isosceles triangles, and Pythagoras gives d = √(s² + s²) = s√2 ≈ 1.41421·s.

If you know the diagonal instead, the side is d/√2 — enter that as s. Keep an eye on units: area grows with the square of the side, so a side measured in metres gives an area in m² directly.

Worked example

With the example inputs this page opens with (side length s 5), the result is 25.0000 — area a. Computed from the inputs on this page with the formula below — change any figure and every result updates.

Quick reference

Quick reference — varying Side length s
Side length sArea APerimeter PDiagonal d
1141.414214
2482.828427
39124.242641
525207.071068
8643211.313708
101004014.142136
121444816.970563

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Square Calc: find A, P, d work?

Area, perimeter and diagonal of a square from its side length — the three quantities almost every square problem asks for. Side length s → Area. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Square Calc: find A, P, d need?

Side length s → Area. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Square Calc: find A, P, d free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.