Perimeter of a Square
Definition: The total distance around the outside of a square
Try this Drag any orange dot to resize the square. The perimeter is calculated as you drag.

How to find the perimeter of a square

Like any polygon, the perimeter is the total distance around the outside, which can be found by adding together the length of each side. I the case of a square, all four sides are the same length, so the perimeter is four times the length of a side. Or as a formula: where:
S is the length of any one side

In the figure above, drag any orange dot to resize the square. From the side length shown, calculate the perimeter and verify your result matches the formula at the top of the diagram.


Side clear
Perimeter clear
Area clear
Diagonal clear

Use the calculator on the right to calculate the properties of a square.

Enter any one value and the other three will be calculated. For example, enter the side length and the perimeter will be calculated.

Similarly, if you enter the area, the side length needed to get that area will be calculated.

Coordinate Geometry

If you know the coordinates of the vertices of a square, you can calculate all the other properties, including the perimeter. For more on this, see Area and Perimeter of a square (Coordinate geometry)
While you are here..

... I have a small favor to ask. Over the years we have used advertising to support the site so it can remain free for everyone. However, advertising revenue is falling and I have always hated the ads. So, would you go to Patreon and become a patron of the site? When we reach the goal I will remove all advertising from the site.

It only takes a minute and any amount would be greatly appreciated. Thank you for considering it!   – John Page

Become a patron of the site at

Other polygon topics


Types of polygon

Area of various polygon types

Perimeter of various polygon types

Angles associated with polygons

Named polygons