Because the length and width are the same number for a square.
Work Step by Step
The area of a rectangle is found by multiplying its length times its width. A square is a special type of rectangle where the length is equal to the width. For a square, $l\times w=w\times w=w^2$.