Calculating perimeter is fundamental in geometry, construction, and design. The perimeter is the total distance around the outside of a shape, and the formula depends on which shape you're measuring. Understanding perimeter calculations helps in fencing, landscaping, decorating, and many practical applications.

What Is Perimeter?

Perimeter is the sum of all the outer edges of a two-dimensional shape. It's measured in linear units: inches, feet, meters, centimeters, and so on.

Perimeter = sum of all side lengths

Rectangle

Rectangles have two pairs of equal sides: length and width.

Perimeter = 2 ร— Length + 2 ร— Width
P = 2(l + w)

Example: A rectangle 10 feet long and 6 feet wide

P = 2(10 + 6) = 2(16) = 32 feet

Square

Squares have four equal sides.

Perimeter = 4 ร— Side Length
P = 4s

Example: A square with sides of 7 inches

P = 4 ร— 7 = 28 inches

Triangle

Triangles have three sides of any length.

Perimeter = Side 1 + Side 2 + Side 3
P = a + b + c

Example: A triangle with sides 5 cm, 7 cm, and 9 cm

P = 5 + 7 + 9 = 21 centimeters

Circle (Circumference)

For circles, the perimeter is called circumference.

Circumference = 2 ร— ฯ€ ร— radius
C = 2ฯ€r
Or: C = ฯ€ ร— diameter

Example: A circle with radius 5 meters

C = 2 ร— ฯ€ ร— 5 = 10ฯ€ โ‰ˆ 31.4 meters

Perimeter Formulas Reference Table

ShapeFormulaVariables
RectangleP = 2(l + w)length, width
SquareP = 4sside
TriangleP = a + b + csides
CircleC = 2ฯ€rradius
Regular PentagonP = 5sside
Regular HexagonP = 6sside
TrapezoidP = a + b + c + dall sides
EllipseP โ‰ˆ ฯ€(a + b)semi-major, semi-minor

Regular Polygons

For regular polygons (all sides equal), multiply the side length by the number of sides.

Perimeter = Number of Sides ร— Side Length

Examples:

  • Pentagon (5 sides): P = 5s
  • Hexagon (6 sides): P = 6s
  • Octagon (8 sides): P = 8s

Practical Worked Examples

Example 1: Fencing a garden (rectangular)

Length: 20 meters
Width: 15 meters
P = 2(20 + 15) = 2(35) = 70 meters of fencing needed

Example 2: Decorative trim around a circular room

Radius: 8 feet
C = 2 ร— ฯ€ ร— 8 = 16ฯ€ โ‰ˆ 50.3 feet of trim needed

Example 3: Border of a triangular flag

Sides: 3 feet, 4 feet, 5 feet
P = 3 + 4 + 5 = 12 feet of border material

Real-World Applications

Perimeter calculations are essential for:

  • Fencing: Determining fence length needed for property boundaries
  • Landscaping: Calculating border lengths for gardens and flower beds
  • Construction: Material estimating for baseboards, trim, and edging
  • Sports: Running track measurements and field dimensions
  • Art and Design: Border and frame calculations
  • Home Improvement: Tape needed for weatherstripping or caulk

Common Perimeter Problems

ScenarioShapeVariables
Fence around propertyRectangleLength ร— Width
Trim around mirrorCircleRadius
Border around flagTriangleThree sides
Running trackOval/ellipseLong and short radius
Parking lot edgeComplex polygonAll individual sides

Tips for Perimeter Calculations

When calculating perimeters:

  1. Identify the shape correctly
  2. Measure all sides in the same units
  3. For compound shapes, break them into simpler components
  4. For rounded shapes, use the appropriate radius or diameter
  5. Add or subtract partial shapes as needed

Perimeter vs Area

Don't confuse perimeter with area. Perimeter measures distance around a shape, while area measures the space inside. Two shapes can have the same perimeter but different areas, or vice versa.

Perimeter = distance around (linear units)
Area = space inside (square units)

Use our Perimeter Calculator to instantly calculate the perimeter of any shape.