📏 Enter known values

📐 Accepted units: mm, cm, dm, m, dam, hm, km, in, ft, yd, mi

Formula Reference

render

Worked example

Data
Side
\(b = {\color{#6c5ce7}{5\,\text{cm}}}\)
Perimeter
\(a = \,?\)
Formula
\[a = 4\cdot{b}\]
Steps
1Substitute the values
\[a = 4\cdot{\color{#6c5ce7}{5\,\text{cm}}}\]
Each letter is replaced by its value.
2Multiply
\[a = 4\cdot{\color{#6c5ce7}{5\,\text{cm}}} = 20\,\text{cm}\]
\(4\cdot5 = 20\)
Perimeter: 20 cm
Check

If we use the result to calculate Side, we should get the value you entered:

\[b = \frac{{a}}{4}\]
\[b = \frac{20\,\text{cm}}{4} = 5\,\text{cm}\]
It gives 5 cm, the same as the value entered.
Calculate the Perimeter
Please fill in the fields:
Side
And leave empty
Perimeter
Calculate the Side
Please fill in the fields:
Perimeter
And leave empty
Side

How to calculate the perimeter of a square

A square has four equal sides, so its perimeter is four times the side:

\[ P = 4 \times \text{Side} \]

And the side is the perimeter divided by four:

\[ \text{Side} = \frac{P}{4} \]

How to use the calculator

  1. Enter the side to get the perimeter, or the perimeter to get the side.
  2. Leave the other field empty.
  3. Press Calculate. The perimeter is in the same unit as the side.

Worked examples

1. Square with a side of 7 cm

\[ P = 4 \times 7 = 28\ \text{cm} \]

2. Side of a square with a perimeter of 50 m

\[ \text{Side} = \frac{50}{4} = 12.5\ \text{m} \]

3. Perimeter from the area

A square room has an area of 16 m². Its side is \( \sqrt{16} = 4 \) m, so its perimeter is \( 4 \times 4 = 16 \) m.

4. Perimeter from the diagonal

The diagonal of a square is \( \text{Side} \times \sqrt{2} \). If a square tile has a diagonal of 42.4 cm, its side is \( 42.4 \div 1.414 \approx 30 \) cm and its perimeter is about 120 cm.

Perimeter, area and diagonal of a square

SidePerimeterAreaDiagonal
1411.41
2842.83
31294.24
416165.66
520257.07
624368.49
728499.9
8326411.31
9368112.73
104010014.14

When the side doubles, the perimeter doubles too, but the area is multiplied by four.

When Do You Need to Calculate the Perimeter of a Square?

🌱 Square Garden Beds

Raised beds and planters are often square. The perimeter tells you how many boards or edging pieces you need to frame them.

Quick material count for a garden project
🖼️ Frames and Borders

Square photos, canvases and mirrors need a frame along all four sides. The perimeter gives the molding length before adding the corners.

Cut frames to size
🧶 Crafts and Quilting

Square quilt blocks, coasters and napkins get binding or trim around the edge. The perimeter sets how much ribbon or bias tape to buy.

Buy the right amount of trim
🥊 Rings, Courts and Plots

Square plots, boxing rings and some play areas are fenced or roped along their perimeter.

Plan rope, fencing or marking tape
🏃 Walking Around a Block

In cities with square blocks, one lap around the block is its perimeter. Knowing it helps you plan a walk or a run of a given distance.

Plan training distances
📚 Math Exercises

The perimeter of a square is one of the first formulas students learn. Exercises often combine it with the area to find the side.

Practice with multiplication and square roots

Common Mistakes

⚠️ Confusing Perimeter and Area
Common Error: Using side² instead of 4 × side. For a side of 4 both give 16, which hides the error; for any other side they are different.
⚠️ Square Units
Common Error: Writing the perimeter in cm². The perimeter is a length.
⚠️ Using the Diagonal as the Side
Common Error: The diagonal is about 1.414 times the side. Using it gives a perimeter about 41% too large.
⚠️ Dividing by 2 Instead of 4
Common Error: To find the side, dividing the perimeter by 2, as if it were a rectangle.
⚠️ Not Checking It Is a Square
Common Error: Using 4 × side on a shape whose sides are only almost equal.
⚠️ Mixed Units
Common Error: Measuring one side in centimeters and another in inches.

Applications by Industry

Construction
  • Columns: Formwork around square columns
  • Tiling: Edge trim for square tiled areas
  • Fencing: Fences around square lots
Gardening
  • Raised beds: Boards to frame square beds
  • Lawns: Edging around square lawns
  • Greenhouses: Base frame of square greenhouses
Crafts & Textiles
  • Quilts: Binding around square blocks
  • Napkins: Hem length for square napkins and scarves
  • Frames: Molding for square canvases
Manufacturing
  • Tubing: Perimeter of square tubes to work out the surface to paint
  • Seals: Gaskets for square lids and hatches
  • Packaging: Tape needed to seal square boxes
Electronics
  • Chips: Perimeter of square chips to fit the pins along the edge
  • Boards: Edge length of square circuit boards
  • Enclosures: Sealing strips for square cases
Education
  • Primary school: First perimeter formulas
  • Algebra: Solving for the side from the perimeter
  • Comparisons: How the area grows faster than the perimeter
Share this page with more people