A perimeter of a square calculator adds up the four equal sides of a square. Perimeter is the total distance around a shape, the length of fence needed to enclose it, or the distance walked around its edge. For a square, that total is especially simple, because all four sides are equal, so perimeter is four times one side.
The simplicity of the formula can hide a distinction that matters in problems. Perimeter is a length, measured in linear units such as centimetres or metres. Area is a surface, measured in square units, and for a square it is side squared. A square with side 9 has perimeter 36 units and area 81 square units. Those two numbers answer different questions, and swapping them is a common error, especially when a problem asks for fencing but the solver computes area instead.
What this calculator does
The formula is perimeter = 4 x side length. If the side is 9 units, perimeter = 4 x 9 = 36 units. The calculator below multiplies the entered side by 4 and also shows area, side squared, for comparison, so the difference between the two measures is visible in one place. That comparison is useful in teaching, but in a problem that asks only for perimeter, only the perimeter value should be reported as the answer.
Perimeter scales linearly with side length, unlike area, which scales with the square. Doubling the side of a square doubles its perimeter, from 36 to 72 for side 18, but quadruples its area, from 81 to 324. That scaling difference is a quick check: if doubling the side quadruples your perimeter, you computed area by mistake.
Formula
Perimeter = 4 x side length, where side length is one side of the square. Result is in linear units.
How to use it
- Confirm the shape is a square, with four equal sides and four right angles. A rectangle needs a different formula.
- Measure or read one side length. Any side will do, because they are equal.
- Multiply the side length by 4.
- Label the result in linear units, not square units.
- Check scaling: doubling the side should double the perimeter.
Try the calculator
Worked example
Find the perimeter of a square with side length 9 units. Perimeter = 4 x 9 = 36 units. For comparison, area = 9 x 9 = 81 square units. The two values, 36 and 81, show why units and labels matter: 36 units is a length around the square, while 81 square units is the surface inside it. If a fence is needed around the square, 36 units of fencing are required, not 81.
A second example: a square with side 5 units has perimeter 4 x 5 = 20 units and area 25 square units. Doubling the side to 10 units gives perimeter 40 units, exactly double, and area 100 square units, exactly quadruple, confirming the scaling rules for perimeter and area.
How to check your answer
Check scaling by doubling the side. Perimeter should double, not quadruple.
Compare perimeter with area only to distinguish them, not to substitute one for the other.
Measure all sides if the shape is claimed to be a square but looks irregular. Equal sides are required for the formula.
Walk the perimeter in your head as four equal steps around the square, counting one side at a time. That slow count catches the common slip of adding only two sides or counting a side twice, and it works even when the numbers themselves look plausible at first glance.
Common mistakes
- Using area, side squared, when the problem asks for perimeter.
- Adding only two sides, or adding side length twice instead of four times.
- Using the diagonal instead of the side length, which gives a larger, wrong perimeter.
- Reporting perimeter in square units, which confuses a length with an area.
Frequently asked questions
What is perimeter?
Perimeter is the total distance around a shape. For a square, it is the sum of its four equal sides, which is 4 times one side.
How is perimeter different from area?
Perimeter is a length in linear units. Area is a surface in square units. For side 9, perimeter is 36 units and area is 81 square units.
Can I use this for a rectangle?
No, not directly. A rectangle has two different side lengths, so its perimeter is 2 x (length + width). The square formula only works when all sides are equal.