The area of a square measures the space inside it. Multiply the side length by itself. If you know the perimeter or diagonal instead, first use the relationship between that measurement and the side.
\[A=s^2\qquad A=\frac{P^2}{16}\qquad A=\frac{d^2}{2}\]
\(s\) is side length, \(P\) is perimeter, and \(d\) is a diagonal. Area uses square units.
Square calculator and playground
Use the same length unit for every input. Enter positive decimals from 0.000001 to 1,000,000. Exact answers are retained when possible; approximations are marked.
When the side is known
A square with side 15 cm
\[A=15\times15=225\text{ cm}^2\]
Each of the four sides is 15 cm. The area can be pictured as 15 rows of 15 one-square-centimeter tiles.

When the perimeter is known
A square has four equal sides, so \(s=P/4\).
Perimeter 88 cm
\[s=88\div4=22\text{ cm}\]
\[A=22^2=484\text{ cm}^2\]
Combining both steps gives \(A=(P/4)^2=P^2/16\).
When the diagonal is known
The diagonal divides a square into two congruent right triangles. Pythagoras gives \(d^2=s^2+s^2=2s^2\), so \(A=s^2=d^2/2\).
Diagonal 16 cm
\[A=\frac{16^2}{2}=\frac{256}{2}=128\text{ cm}^2\]
The side is \(16/\sqrt2=8\sqrt2\) cm, approximately 11.3137 cm. Use the diagonal formula directly to avoid rounding the side before calculating area.

What happens when the side doubles?
The perimeter doubles, but the area becomes four times as large:
\[(2s)^2=4s^2\]
Move the side slider from 5 to 10. Area changes from 25 to 100 square units; perimeter changes from 20 to 40 units.
Write the unit correctly: a side of 4 m gives an area of 16 m², not 16 m. Converting area also squares the length conversion: \(1\text{ m}^2=10000\text{ cm}^2\).
Practice
Find the area when the side is 7 cm, the perimeter is 36 cm, and the diagonal is 10 cm.
Check your answers
49 cm², 81 cm², and 50 cm².
For a shape with four equal sides but no required right angles, see the rhombus lesson.