⊡ Perimeter Calculator – All Shapes

Perimeter

What is Perimeter?

The perimeter is the total distance around the outside boundary of a 2D shape. The word comes from the Greek perimetros meaning "around measure." Perimeter is always measured in linear units (cm, m, inches, feet) — not square units.

Think of perimeter as the length of fence needed to enclose a garden, or the length of ribbon needed to go around a picture frame.

Perimeter Formulas for All Common Shapes

ShapeFormulaVariables
SquareP = 4ss = side length
RectangleP = 2(l + w)l = length, w = width
TriangleP = a + b + ca, b, c = all three sides
CircleC = 2πr = πdr = radius, d = diameter
TrapezoidP = a + b + c + dall four sides
Regular polygon (n sides)P = n × sn = sides, s = side length
Equilateral triangleP = 3ss = side length
RhombusP = 4ss = side length

Worked Examples

Example 1 – Garden Fencing

A rectangular garden is 15 m × 8 m. How much fencing is needed?

P = 2(15 + 8) = 2 × 23 = 46 m of fencing

Example 2 – Running Track

A circular running track has diameter 80 m. What is one lap distance?

C = π × 80 = 80π ≈ 251.33 m per lap

Example 3 – Picture Frame

A photo is 20 cm × 15 cm. How much ribbon is needed to border it?

P = 2(20 + 15) = 2 × 35 = 70 cm of ribbon

Example 4 – Equilateral Triangle Sign

A triangular road sign has all sides 60 cm. Find the perimeter.

P = 3 × 60 = 180 cm = 1.8 m

Perimeter vs Area — Key Distinction

These two measurements are commonly confused:

  • Perimeter = boundary length (linear: cm, m) — how much fencing, edging, or border you need
  • Area = enclosed surface (square: cm², m²) — how much paint, carpet, or turf you need

Important: Shapes with the same perimeter can have very different areas. A 5×5 square and a 1×9 rectangle both have perimeter 20, but areas of 25 and 9 respectively!

Real-World Applications

  • Fencing: Calculate total fence length for gardens, sports fields, and properties
  • Framing: Picture frames, door/window trim, baseboard length
  • Track sports: Determining lap distances for running, cycling, horse racing
  • Knitting & sewing: Calculating fabric borders, hemlines, binding
  • Landscaping: Edging for garden beds, driveways, and pathways

Frequently Asked Questions – Perimeter Calculator – All Shapes

What is the perimeter of a rectangle 12m × 5m?
P = 2(12 + 5) = 2 × 17 = 34 m.
What is the perimeter of an equilateral triangle with side 9?
P = 3 × 9 = 27 units. All three sides are equal in an equilateral triangle.
What is the perimeter of a circle called?
The perimeter of a circle is called its circumference. Formula: C = 2πr = πd. For r=7: C ≈ 43.98 units.
What shape has the smallest perimeter for a given area?
A circle! Among all closed curves, the circle encloses the maximum area for a given perimeter length. This is the isoperimetric inequality — a fundamental result in geometry.

Related Calculators

All Tools →