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.
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 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
| Side length s | Area A | Perimeter P | Diagonal d |
|---|---|---|---|
| 1 | 1 | 4 | 1.414214 |
| 2 | 4 | 8 | 2.828427 |
| 3 | 9 | 12 | 4.242641 |
| 5 | 25 | 20 | 7.071068 |
| 8 | 64 | 32 | 11.313708 |
| 10 | 100 | 40 | 14.142136 |
| 12 | 144 | 48 | 16.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.