How to Find Perimeter

Find perimeter by adding the sides, working out missing side lengths, counting on a grid, and handling curved edges. Examples for school and DIY.

How to Find Perimeter of Any Shape

You stand at the corner of a new garden bed, tape measure in hand, and you need to know how many feet of edging to buy. This is the moment that defines perimeter: you will walk the entire boundary, adding every length you measure. To learn how to find perimeter of any shape, you do not need a formula sheet for every polygon. You need one method that works for all of them. Perimeter is the total distance around a closed two-dimensional shape, a linear measurement in the same units as the sides. The most common error newcomers make is confusing this with area, adding up the inside instead of the boundary, or assuming shapes with the same area share the same perimeter, which is almost never true.

Calculate perimeter of a shape

Used for rectangle and L-shape
Used for rectangle and L-shape
Used for square and regular polygon
Triangle side
Triangle side
Triangle side
Circle radius
For regular polygon (≥3)
L-shape inner cut along length
L-shape inner cut along width

Standard geometric perimeter formulas (Euclidean geometry)

The Core Idea: Walk the Outline and Add

To calculate perimeter manually, you measure every side of the shape and add those lengths. That is the entire method. For any polygon, a rectangle, a triangle, an irregular shape with eleven sides, the rule is identical: sum the side lengths. The only complication is when you do not have every side measured and need to find a missing one, or when the shape has curved edges that require a tool other than a ruler.

For a rectangle, the well-known shortcut P = 2 × (length + width) works because opposite sides are equal. For a square, P = 4 × side. But these are conveniences, not separate methods. If you forget the shortcut, you can still add the four sides individually and get the same answer. The Common Core State Standards for Mathematics (3.MD.D.8) expects Grade 3 students to solve problems involving perimeters of polygons, including finding an unknown side length. That standard does not assume a formula, it assumes a student can reason that the perimeter is the sum of the sides.

How to Calculate Perimeter With Missing Sides

The most common place students and DIYers get stuck is a shape with a side length not given. This is called a missing side problem, and it is solved by using the other known sides and the properties of the shape to find what is missing.

Opposite Sides in Rectangles and Parallelograms

In a rectangle, opposite sides are equal. If a rectangle has a length of 12 ft and a width of 5 ft, but the drawing only labels one long side and one short side, you know the unlabelled long side is also 12 ft and the other short side is 5 ft. Add them: 12 + 5 + 12 + 5 = 34 ft. That is the perimeter.

Given the Total Perimeter

Sometimes you are given the total perimeter and all but one side. Subtract the known sides from the total to find the missing length. For example, a triangle has sides of 8 cm and 12 cm, and a perimeter of 30 cm. The third side is 30 − (8 + 12) = 10 cm. This works for any polygon, provided you know enough sides to make the subtraction possible. If the shape is not fully determined, for instance, a quadrilateral with only two sides known and no perimeter given, you cannot find the missing sides. That is a failure mode: assuming all sides are given when they are not. Check that enough information exists before attempting the calculation.

Right Triangles and the Pythagorean Theorem

For right triangles, the longest side (the hypotenuse) is found using a² + b² = c², where c is the hypotenuse. Add all three sides: 3 + 4 + 5 = 12 ft. Common Core 8.G.B.7 applies the Pythagorean Theorem to find unknown side lengths in real-world problems. If you are measuring a diagonal garden path or a sloped fence line, this is the method.

Finding Perimeter on a Grid

Perimeter on a grid is a standard classroom exercise that mimics a real problem: you have a shape drawn on a coordinate grid or a square grid, and you count the unit lengths along the boundary. The key is to count only the edges that form the outer boundary of the shape, not the edges of squares inside it. Mark off each unit segment as you count it.

When the sides are diagonal, for example, a right triangle drawn on a grid with legs of 3 units and 4 units, the diagonal side is not a straight count of grid squares. Use the Pythagorean Theorem to find the diagonal: 3² + 4² = 9 + 16 = 25, so the diagonal is 5 units. Then add the three sides: 3 + 4 + 5 = 12 units. The grid gives you the legs; Common Core 8.G.B.7 connects these ideas directly.

Curved Edges: When You Need π

For circles, the perimeter is called circumference. Measure the diameter or radius with a ruler, multiply by π, and you have the perimeter.

For ellipses, there is no simple closed-form perimeter formula. The simple average approximation π(a + b), where a and b are the semi-major and semi-minor axes, underestimates the real perimeter by 5-15%. A better approximation is the Ramanujan formula: p ≈ π[3(a + b) − √(10(a² + b²) − 3(a − b)²)]. The simple average will give you too little edging material.

Converting Units Before Adding

Before you add any side lengths, convert all measurements to the same unit. Then apply the perimeter formula. Mixing units is one of the most common errors and one that a quick check catches. Every side must be in the same unit before you add.

Worked Examples: Elementary, Middle School, DIY

These four worked examples follow the same process: identify the shape, measure or deduce every side, convert units if needed, sum the sides, and include the correct unit.

Example 1: Rectangle (Elementary, Grade 3)

A rectangle has a length of 8 ft and a width of 3 ft. All sides are given. Opposite sides are equal, so the other long side is 8 ft and the other short side is 3 ft. Add: 8 + 3 + 8 + 3 = 22 ft.

Example 2: Isosceles Triangle (Middle School)

The triangle is isosceles: two sides of 15 cm and one side of 20 cm. Check: 15 + 20 + 15 = 50 cm.

Example 3: Composite L-Shape (DIY)

One rectangle is 12 ft by 8 ft. The other rectangle is 6 ft by 8 ft, attached along one of the 8 ft sides. Do not add the perimeters of the two rectangles separately; instead, measure all outer edges: start at one corner and walk the boundary. If you had summed the perimeters of the two rectangles (40 ft + 28 ft = 68 ft) and not subtracted the shared wall, you would have overestimated by 28 ft.

Example 4: Circle (Grade 7)

A circular garden has a radius of 5 ft. Multiply the radius by 2 to get the diameter (10 ft), then multiply by π (approximately 3.14) to get the circumference: 10 × 3.14 = 31.4 ft. Either method gives the same result.

Common Mistakes When Finding Perimeter

These are the failures that appear most often, whether in a classroom or on a job site. Each one has a specific cause and a specific fix.

  • Confusing perimeter with area. Adding length times width instead of adding the sides. Fix: ask yourself 'Do I need a fence (perimeter) or paint (area)?'
  • Double-counting corners. Adding the same corner twice when measuring an irregular shape. Fix: mark off each side as you measure it, or walk the boundary without lifting the tape.
  • Forgetting to subtract shared edges. Treating a composite shape as separate shapes and adding their perimeters. They are not part of the outer edge.
  • Mixing units. Adding meters to centimeters without converting. Fix: convert every measurement to the same unit before any arithmetic.
  • Counting grid interior edges. Counting the edges of squares inside the shape instead of only the boundary. Fix: pull the tape taut and read it at eye level.
  • Assuming all sides are given. Trying to solve a missing-side problem when the shape is not fully determined. Fix: check that you have enough information, either the total perimeter or a property of the shape that gives the missing length.

Who This Method Suits and Who Should Skip It

This method, measure every side and add, suits anyone who needs to calculate perimeter manually. Grade 6-8 students solving for missing sides, composite shapes, and irregular figures will need it as the foundation for more complex problems. The single thing that most often goes wrong is not converting units before adding. Make that your last check before you call the perimeter final.

Perimeter Formulas for Common Shapes
ShapeFormulaWhen to Use It
RectangleP = 2(l + w)When length and width are known
ParallelogramP = 2(b + s)When base and side length are known
TrapezoidP = a + b + c + dWhen all four sides are given
Regular PolygonP = n × sWhen number of sides (n) and side length (s) are known

Frequently Asked Questions

Q: When do I use perimeter instead of area? Use perimeter when you need the distance around, such as fencing or edging. If you need paint, you need area.

Q: How do I find a missing side when the shape is not a rectangle? If you know the total perimeter, subtract the known sides. For other shapes, check if opposite sides are equal or if the shape has a known total.

Q: What is the best way to measure perimeter on a grid? Count only the unit edges that form the outer boundary of the shape. Mark each counted segment to avoid overcounting.

Q: Do I need a different formula for every shape? No. The core method is the same for every polygon: sum the side lengths. If you forget a formula, you can still add the sides individually.

Q: How do I measure perimeter of a circle? Measure the diameter (distance across the center) or the radius (distance from center to edge). Multiply the diameter by π (approximately 3.14), or multiply the radius by 2 and then by π.

Q: What is the most common mistake when calculating perimeter? The most common error is mixing units, adding meters to centimeters without converting. Always convert all measurements to the same unit before adding.

Q: How do I find the perimeter of an L-shaped room? Measure all outer edges of the shape. Do not add the perimeters of the individual rectangles that make up the L-shape, because that would double-count the shared wall. Subtract the shared wall length from the total.

More in this guide

Perimeter FormulasGarden-Bed Perimeter Before a Mulch Order.

Common Questions

What is the difference between perimeter and area?

Perimeter is the distance around the outside of a shape, measured in linear units (feet, meters). Area is the space inside the shape, measured in square units. If you need a fence, you need perimeter. If you need paint, you need area.

How do I find a missing side when the shape is not a rectangle?

If you know the total perimeter, subtract the known sides. If the shape is a right triangle, use the Pythagorean theorem (a² + b² = c²). For other shapes, check if opposite sides are equal or if the shape has a known total.

What is the best way to measure perimeter on a grid?

Count only the unit edges that form the outer boundary of the shape. For diagonal sides, use the Pythagorean theorem to find the length. Mark each counted segment to avoid overcounting.

Do I need a different formula for every shape?

No. The core method is the same for every polygon: sum the side lengths. Formulas are shortcuts for shapes with equal sides or known relationships. If you forget a formula, you can still add the sides individually.

How do I measure perimeter of a circle?

Measure the diameter (distance across the center) or the radius (distance from center to edge). Multiply the diameter by π (approximately 3.14), or multiply the radius by 2 and then by π.

What is the most common mistake when calculating perimeter?

The most common error is mixing units, adding meters to centimeters without converting. Always convert all measurements to the same unit before adding.

How do I find the perimeter of an L-shaped room?

Measure all outer edges of the shape. Do not add the perimeters of the individual rectangles that make up the L-shape, because that would double-count the shared wall. Subtract the shared wall length from the total.