What is the difference between a square and a rectangle?
A square has four equal sides; a rectangle has two pairs of equal opposite sides but adjacent sides of different lengths. That is the whole difference in one line, and every other contrast below traces back to it.
Both shapes are quadrilaterals, both have four right angles, and both have opposite sides parallel. The square simply adds one extra rule: all sides equal, not just opposite ones. That is why a square is best understood as a special rectangle: a rectangle that happens to have equal length and width.
Properties of A Square
A square is a quadrilateral with four equal sides and four right angles. From that, its properties are:
All four sides are equal and opposite sides are parallel.
All four angles are 90°.
The diagonals are equal in length, bisect each other, and cross at 90°.
Each diagonal bisects the corner angles into two 45° halves.
The side length $s$ is the only measurement a square needs: area, perimeter, and diagonal all follow from it.
Properties of a Rectangle
A rectangle is a quadrilateral with opposite sides equal and four right angles. Its properties:
Opposite sides are equal and parallel; adjacent sides are generally different (length $l$, width $w$).
All four angles are 90°.
The diagonals are equal in length and bisect each other, but they do not cross at 90° (they meet at an oblique angle unless the rectangle is a square).
A rectangle needs two measurements, length and width, to be fully described.
You can read each shape on its own in the properties of a rectangle and the square in geometry.
Square vs Rectangle: The Comparison Table
Property | Square | Rectangle |
|---|---|---|
Sides | All four equal | Opposite sides equal |
Angles | All 90° | All 90° |
Measurements needed | One (side $s$) | Two (length $l$, width $w$) |
Diagonals (length) | Equal | Equal |
Diagonals (crossing angle) | 90° | Not 90° (oblique) |
Area | $s^2$ | $l \times w$ |
Perimeter | $4s$ | $2(l + w)$ |
Diagonal length | $s\sqrt{2}$ | $\sqrt{l^2 + w^2}$ |
Lines of symmetry | 4 | 2 |
The symmetry row is the quiet giveaway: a square has four lines of symmetry (two through opposite sides, two through the diagonals), while a rectangle has only two (through the midpoints of opposite sides). A rectangle's diagonals are not lines of symmetry: fold a non-square rectangle along a diagonal and the halves don't match.
Formulas For A Square And A Rectangle
Here is each formula with what its symbols mean. For a square, $s$ is the side. For a rectangle, $l$ is the length and $w$ is the width.
Area: $$\text{Square: } A = s^2 \qquad \text{Rectangle: } A = l \times w$$
A square's area formula $s^2$ is just the rectangle's $l \times w$ with $l = w = s$, more evidence the square is a rectangle with equal sides.
Perimeter: $$\text{Square: } P = 4s \qquad \text{Rectangle: } P = 2(l + w)$$
Diagonal length (from the Pythagorean theorem, since a diagonal splits each shape into two right triangles): $$\text{Square: } d = s\sqrt{2} \qquad \text{Rectangle: } d = \sqrt{l^2 + w^2}$$
For the square, both legs of that right triangle are $s$, so $d = \sqrt{s^2 + s^2} = s\sqrt{2}$. For the rectangle, the legs are $l$ and $w$, giving $d = \sqrt{l^2 + w^2}$.
Why is a square called a rectangle?
A rectangle is defined as a quadrilateral with four right angles and opposite sides equal. A square meets that definition exactly: it has four right angles and opposite sides equal (its opposite sides are equal because all its sides are). So a square satisfies every condition for being a rectangle, plus the extra condition that adjacent sides are also equal.
The relationship runs one way only: every square is a rectangle, but not every rectangle is a square. A rectangle becomes a square the moment its length equals its width. This is the same hierarchy that runs through the whole quadrilaterals family.
Examples of Difference Between a Square and a Rectangle
Example 1
Find the area and perimeter of a square with side 6 cm, and of a rectangle with length 8 cm and width 3 cm.
Square: $$A = s^2 = 6^2 = 36 \text{ cm}^2 \qquad P = 4s = 4 \times 6 = 24 \text{ cm}$$
Rectangle: $$A = l \times w = 8 \times 3 = 24 \text{ cm}^2 \qquad P = 2(l + w) = 2(8 + 3) = 22 \text{ cm}$$
Final answer: Square: 36 cm², 24 cm. Rectangle: 24 cm², 22 cm.
Example 2
A shape has four right angles, and its opposite sides are equal. A student concludes it must be a square. Is that right?
First instinct: four right angles plus equal opposite sides sounds like the full description of a square, so the conclusion feels safe. Let us test it against a 10 cm by 4 cm shape. That shape has four right angles and equal opposite sides, yet its sides are 10 and 4, not all equal. It is a rectangle, not a square.
The error is mistaking the rectangle's conditions for the square's. "Opposite sides equal" is weaker than "all sides equal." A square needs all four sides equal; the conditions given only force opposite sides to match.
Final answer: No. Those conditions describe a rectangle; it is a square only if all four sides are also equal.
Example 3
Find the diagonal of a square with side 5 cm.
$$d = s\sqrt{2}$$ $$d = 5\sqrt{2}$$ $$d \approx 7.07 \text{ cm}$$
Final answer: $5\sqrt{2}$ cm, about 7.07 cm.
Example 4
Find the diagonal of a rectangle with length 12 cm and width 5 cm.
$$d = \sqrt{l^2 + w^2}$$ $$d = \sqrt{12^2 + 5^2}$$ $$d = \sqrt{144 + 25}$$ $$d = \sqrt{169}$$ $$d = 13 \text{ cm}$$
Final answer: 13 cm.
Example 5
A square and a rectangle have the same perimeter of 40 cm. The rectangle is 12 cm long. Which has the larger area?
Square side: $$s = \frac{40}{4} = 10 \text{ cm}, \qquad A = 10^2 = 100 \text{ cm}^2$$
Rectangle width (from $2(l + w) = 40$): $$12 + w = 20 ;\Rightarrow; w = 8 \text{ cm}, \qquad A = 12 \times 8 = 96 \text{ cm}^2$$
Final answer: The square has the larger area (100 cm² vs 96 cm²). For a fixed perimeter, the square always encloses the most area among rectangles.
Example 6
A rectangle has area 48 cm² and length 8 cm. Find its width, then state the condition under which it would be a square.
$$w = \frac{A}{l} = \frac{48}{8} = 6 \text{ cm}$$
The rectangle is 8 cm by 6 cm. It would be a square only if its length equalled its width; here $8 \neq 6$, so it is a genuine rectangle.
Final answer: Width = 6 cm; it would be a square only if length equalled width.
Where The Square-Versus-Rectangle Distinction Matters
The "for a fixed perimeter, the square holds the most area" result from Example 5 is not a classroom toy. It is why animal pens, storage tanks, and shipping crates trend toward square cross-sections when material (the perimeter) is the cost and capacity (the area) is the goal. The same reasoning, extended to three dimensions, is why a cube is the most material-efficient box.
The diagonal difference matters in construction. A builder squaring up a foundation marks out the length and width, then measures both diagonals: equal diagonals confirm true right angles, turning a leaning parallelogram into a real rectangle. But equal diagonals alone never prove a square; for that, the sides must be checked equal too. This is exactly the gap students fall into, and it has a costly real-world cousin: the Mars Climate Orbiter was lost in 1999 because two teams assumed their measurements meant the same thing when they did not, a reminder that "looks like it fits the rule" is not the same as "satisfies the rule."
The deeper point is the one that recurs across geometry: a more specific shape inherits every property of the general one and adds constraints. Knowing a square is a rectangle means every rectangle theorem is already proved for squares.
Tripping Points To Avoid
Mistake 1: Treating square and rectangle as mutually exclusive
Where it slips in: "Is this a square or a rectangle?" questions, and any true/false item about the hierarchy.
Don't do this: Answering "it's a rectangle, so it can't be a square" (or the reverse). The two are not rivals; one is a special case of the other.
The correct way: Every square is a rectangle; only some rectangles are squares. When a shape has all four sides equal, it is both, and "square" is the more specific, more informative name.
Mistake 2: Confusing the diagonal rules
Where it slips in: Problems about diagonals, especially the angle at which they cross.
Don't do this: Saying "the diagonals are equal, so they must meet at 90°," or assuming a rectangle's diagonals cross at right angles.
The correct way: Both shapes have equal diagonals that bisect each other. Only the square's diagonals cross at 90°. The second-guesser who knows "equal diagonals" often over-extends it to "perpendicular diagonals," but perpendicular crossing is the square's extra property, tied to its equal sides.
Mistake 3: Using the wrong area formula
Where it slips in: Mixed problem sets where square and rectangle questions sit side by side.
Don't do this: Reaching for $l \times w$ on a square when only one number is given, then hunting for a second measurement that does not exist.
The correct way: A square needs only its side: $A = s^2$. A rectangle needs both length and width: $A = l \times w$. If only one length is given and the shape is a square, that one number is all you need.
Conclusion
The difference between a square and a rectangle is the sides: a square has all four equal, a rectangle only its opposite sides.
Both have four right angles, parallel opposite sides, and equal diagonals.
Only a square's diagonals cross at 90°; a rectangle's cross obliquely.
Every square is a rectangle, but not every rectangle is a square.
A square uses $A = s^2$ and a rectangle uses $A = l \times w$; they match when length equals width.
A Practical Next Step
Practice these problems to solidify your understanding, watching which shape's rule each one needs.
Find the area and diagonal of a square with side 9 cm. (Answer to Question 1: area 81 cm²; diagonal $9\sqrt{2} \approx 12.73$ cm)
Find the diagonal of a rectangle 9 cm by 40 cm. (Answer to Question 2: 41 cm)
A rectangle has perimeter 30 cm and length 9 cm; find its width and area. (Answer to Question 3: width 6 cm, area 54 cm²)
If you get stuck on the diagonals, return to the formulas section and recall that each diagonal makes a right triangle. To go further, read is a square a rectangle, the difference between square and rhombus, and the difference between rhombus and rectangle.
Want a live Bhanzu trainer to clear up the square-versus-rectangle confusion with worked problems? Book a free demo class.
Was this article helpful?
Your feedback helps us write better content