Geometry
How To Calculate The Area Of A Square
This calculation turns one measurement — the length of a side — into the amount of flat space a square covers. Because every side is equal, the whole shape is described by a single number, and the area, perimeter, diagonal and half-area all follow from it. It is the quickest piece of geometry most people ever use, from working out how many tiles to buy to estimating a plot of land.
Last updated
Quick Answer
A = s²
- s
- Length of one side of the square
- A
- Area enclosed by the square, in square units
- P
- Perimeter, the total distance around the four sides
- d
- Diagonal, the straight line between opposite corners
Square the length of one side to get the area. The same side length gives the perimeter as four times the side, the diagonal as the side times the square root of two, and half the area as the square of the side divided by two. For a side of 5 the area is 25.0, the perimeter 20.0, the diagonal 7.0710678118654755 and half the area 12.5.
What Is The Area Of A Square?
A square is a four-sided figure with all four sides the same length and all four corners right angles. Because the sides are equal, its area needs only one measurement: multiply the side by itself and you have the answer. A square with a side of 5 covers 25 square units, and a square with a side of 9 covers 81. This is the whole idea behind the formula A = s², and it is why the area grows so quickly when the side increases.
The reason squaring works is that area measures how many unit squares fit inside a shape. Draw a grid of one-unit squares across a larger square of side 5 and you get five rows of five cells, twenty-five in total. Each cell is one square unit, so the count is 5 × 5 = 25. The formula is simply that counting process written down algebraically, which is why it needs no other dimension.
This is also where the familiar square numbers come from. One, four, nine, sixteen and twenty-five are the areas of squares with sides one, two, three, four and five, and the word square in arithmetic refers to exactly this operation. Recognising the sequence helps you sanity-check an answer: an area of 25 must belong to a side of 5, never a side of 12 or 50, because those would give 144 and 2500 instead.
The same side length fixes the distance around the shape. Four equal edges give a perimeter of four times the side, so a square of side 5 has a perimeter of 20.0 while its area is 25.0. The two numbers have different meanings and different units, yet they are locked together by the single measurement s. If you know either one, you can recover the side and then compute everything else — divide the perimeter by four, or take the positive square root of the area.
Draw a straight line from one corner to the opposite corner and you split the square into two identical right-angled triangles. Each triangle has two shorter sides of length s, so Pythagoras gives d² = s² + s² = 2s², and therefore d = s√2. For a side of 5 the diagonal is 7.0710678118654755, a little longer than the side itself. The ratio of diagonal to side is always the same number, about 1.414, no matter how big or small the square is.
That diagonal is also a convenient way to halve the square. Each of the two triangles has exactly half the total area, so a square of area 25.0 gives a triangle of area 12.5. This half-area figure turns up whenever a square is cut corner to corner: in roofing triangles, in folded fabric, and in the triangular halves of a courtyard. Since it is just s² divided by 2, it scales with the square of the side in the same way the full area does.
The relationships run both ways, which makes the square a useful little system to know. Because the diagonal satisfies d² = 2s², the area can be recovered from the diagonal alone as A = d²/2; with a diagonal of 7.0710678118654755 you get 50 divided by 2, which is 25.0 again. Likewise the perimeter equals 2√2 times the diagonal, so the four quantities in this article form a closed set: any one of them determines the other three.
Every formula here assumes a genuine square. A rectangle with unequal sides needs length times width instead, and a rhombus with equal sides but no right angles has a smaller area than s² because it is sheared over. Measuring a real plot of land introduces further wrinkles: boundaries are rarely perfectly straight, and a nominal side is usually an average of several measurements. The calculation is exact for the ideal shape and a good approximation for anything close to it.
In practice the side is measured in metres, centimetres, feet or any other unit of length, and the area comes out in the corresponding square unit — square metres, square centimetres or square feet. A floor of side 3 metres covers 9 square metres, while the same number in feet covers 9 square feet, a very different physical size. Always convert everything to one unit before squaring, and remember that doubling the side quadruples the area but only doubles the perimeter and the diagonal.
Formula
A = s × s = s²
Formula page →Multiply the side length by itself. The result is counted in square units because two lengths are being multiplied together.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| s | Side length | length | The common length of all four equal sides, in a single unit of length. |
| A | Area | length² | The flat space enclosed by the square, measured in square units. |
P = 4s and d = s × √2
Formula page →Four equal edges give a perimeter of four times the side; Pythagoras on the half-square gives a diagonal of the side times the square root of two.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| s | Side length | length | The same side length used for the area. |
| P | Perimeter | length | The sum of the four equal edges, four times the side. |
| d | Diagonal | length | The corner-to-corner distance, about 1.414 times the side. |
A/2 = s²/2 and A = d²/2
Formula page →One diagonal cuts the square into two equal triangles, each of half the area. Rearranging d² = 2s² also recovers the full area from the diagonal.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| A | Area | length² | The full area of the square; halve it for one triangular half. |
| s | Side length | length | Used to express half the area as s²/2. |
| d | Diagonal | length | Used to recover the area as d²/2. |
How To Calculate The Area Of A Square
- 1
Check that the shape is really a square
Before doing any arithmetic, confirm that all four sides are equal and all four corners are right angles. A rectangle of length 6 and width 4 may look close, but its area is 24 rather than the 16 or 36 you would get by squaring one of its sides. The single-side shortcut is only valid for a true square, so a quick visual check saves a completely wrong answer later.
- 2
Measure one side and note its unit
Take the length of any one side, since they are all identical, and write down the unit it was measured in. Whether it is 5 centimetres, 5 metres or 5 feet, the number is the same in the formula; only the final unit changes. Mixed units are a common source of error, so convert inches to feet or centimetres to metres before you square anything rather than trying to fix it afterwards.
- 3
Square the side to get the area
Multiply the side by itself: A = s × s. With s = 5 this is 5 × 5 = 25.0 square units. Squaring is not the same as doubling — doubling 5 gives 10, while squaring gives 25 — so take care to multiply the number by itself exactly once. This single product is the primary answer the calculator reports.
- 4
Derive the perimeter, diagonal and half-area from the same side
Use the same value of s for the related quantities. The perimeter is four times the side, so s = 5 gives 20.0. The diagonal is the side times the square root of two, giving 7.0710678118654755. Half the area is s² divided by 2, giving 12.5. Each of these shares the side length as its only input, which is why one measurement unlocks the whole shape.
- 5
State the answer in square units and sanity-check
Write the area with a square unit, such as 25 square metres, and keep the perimeter and diagonal in ordinary length units. Then cross-check the scale: a side of 5 should give an area near 25 and a perimeter near 20, so an answer in the hundreds or a diagonal shorter than the side means something has gone wrong. If you halved the side by mistake, the area should fall to a quarter, not a half — another useful mental test.
Examples
Example 1: Default case — a square of side 5
- side
- 5
| Step | Calculation | Result |
|---|---|---|
| Side length | s | 5 |
| Perimeter (4 × side) | 4 × 5 | 20.0 |
| Diagonal (side × √2) | √2 × 5 | 7.0710678118654755 |
| Half the area (s² ÷ 2) | 25 ÷ 2 | 12.5 |
| Area (side × side) | 5 × 5 | 25.0 |
Result: For a side of 5 the area is 25.0 square units, the perimeter is 20.0, the diagonal is 7.0710678118654755 and half the area is 12.5.
Example 2: A square patio paved with tiles, side 3 metres
- side
- 3
| Step | Calculation | Result |
|---|---|---|
| Side length in metres | s | 3 |
| Perimeter (4 × 3) | 4 × 3 | 12.0 |
| Diagonal (3 × √2) | √2 × 3 | 4.242640687119286 |
| Half the area (9 ÷ 2) | 9 ÷ 2 | 4.5 |
| Area (3 × 3) | 3 × 3 | 9.0 |
Result: A square patio of side 3 metres covers 9.0 square metres; its edging is 12.0 metres, its diagonal is 4.242640687119286 metres and half the paved area is 4.5 square metres.
Example 3: A larger square plot, side 12 metres
- side
- 12
| Step | Calculation | Result |
|---|---|---|
| Side length in metres | s | 12 |
| Perimeter (4 × 12) | 4 × 12 | 48.0 |
| Diagonal (12 × √2) | √2 × 12 | 16.970562748477143 |
| Half the area (144 ÷ 2) | 144 ÷ 2 | 72.0 |
| Area (12 × 12) | 12 × 12 | 144.0 |
Result: A square plot of side 12 metres has an area of 144.0 square metres, a perimeter of 48.0 metres, a diagonal of 16.970562748477143 metres and a half-area of 72.0 square metres.
Calculator
Area
25
- Perimeter
- 20
- Diagonal
- 7.0710678118654755
- Half the area
- 12.5
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the The Area Of A Square calculator page.
Common Mistakes
Doubling the side instead of squaring it
For a side of 5, doubling gives 10 while squaring gives 25.0. The area needs the side multiplied by itself once, not added to itself. This slip is surprisingly common because the perimeter really does use four times the side, so learners sometimes assume the area uses a simple multiple too.
Confusing area units with length units
A side measured in metres produces an area in square metres, while the perimeter and diagonal stay in metres. Writing 25 metres instead of 25 square metres makes the answer physically meaningless and usually signals that the quantity has been misunderstood. Always attach a squared unit to an area.
Using the diagonal as if it were the side
If a problem gives the corner-to-corner distance rather than the edge, squaring it directly overstates the area by a factor of two. The correct conversion is A = d²/2, because d² = 2s². A diagonal of 7.0710678118654755 belongs to area 25.0, not to an area near 50.
Assuming equal sides alone make a square
A rhombus has four equal sides but no right angles, so its area is smaller than s² and depends on the angle between adjacent sides. Before applying A = s², confirm the corners are right angles or that the shape is stated to be a square. Equal sides by themselves are not enough.
Rounding the diagonal too early
Replacing the square root of two with 1.41 is fine for a rough sketch but introduces error into every downstream calculation, especially when the diagonal is later squared. Keep the full value such as 7.0710678118654755 during working and round only the final displayed answer, and only to the precision the situation actually needs.
Halving the side when you want half the area
Half the area of a square of side 5 is 12.5, obtained by dividing s² by two. Cutting the side in half instead gives 2.5 and a quarter of the original area, 6.25, because area scales with the square of the side. The distinction matters whenever a square is divided diagonally into triangular halves.
FAQ
What is the area of a square?
It is the amount of flat space inside the square, found by multiplying the side length by itself: A = s². A square of side 5 has an area of 25.0 square units. Because two lengths are multiplied, the unit is always squared, such as square metres or square feet.
Why do you square the side rather than multiply by four?
Multiplying by four gives the perimeter, the distance around the edge. Area counts the unit squares that tile the interior, and a square of side s contains s rows of s cells, which is s × s. The two operations answer different questions even though both use the same side length.
How are the area and perimeter related?
Both come from the side: A = s² and P = 4s. Knowing either one determines the side and hence the other — divide the perimeter by four, or take the positive square root of the area. They do not scale alike, though: doubling the side quadruples the area but only doubles the perimeter.
How do I find the diagonal from the side?
Use Pythagoras on the right-angled triangle formed by two sides and the diagonal: d² = s² + s², so d = s√2. For a side of 5 the diagonal is 7.0710678118654755. The same relation runs backwards, letting you recover the area from a known diagonal as A = d²/2.
What is half the area of a square used for?
Drawing one diagonal splits the square into two equal right-angled triangles, each with area s²/2. A square of area 25.0 therefore has a triangular half of 12.5. This is useful for gables, folded materials and any situation where a square region is divided corner to corner.
Does this formula work for a rectangle or a rhombus?
No. A rectangle uses length times width, which only reduces to s² when the two sides happen to be equal. A rhombus has four equal sides but slanted corners, giving an area of s² times the sine of an interior angle. The simple square formula assumes equal sides and right angles.
References
- [1]Wikipedia, Square (geometry) — https://en.wikipedia.org/wiki/Square_(geometry)
- [2]Wikipedia, Area — https://en.wikipedia.org/wiki/Area
- [3]Wikipedia, Pythagorean theorem — https://en.wikipedia.org/wiki/Pythagorean_theorem
