Perimeter Calculator

Perimeter Calculator

Calculate the perimeter of polygons or circumference of circles quickly and accurately.

Last updated: April 2026 | By Patchworkr Team

Measurements

Enter measurements and click Calculate

What is Perimeter?

Perimeter is the total distance around the edge of a two-dimensional shape. For polygons, it’s the sum of all side lengths. For circles, the perimeter is called circumference and equals 2πr or πd. Understanding perimeter is fundamental in geometry and practical applications: fencing a yard, running a track, or calculating the border of a plot of land all require perimeter calculations. The concept is straightforward but essential, appearing in countless real-world scenarios from construction to sports to land surveying.

Perimeter differs from area: area measures the space inside a shape (square units), while perimeter measures the distance around it (linear units). A shape can have the same perimeter as another but different area, and vice versa. This distinction is crucial in practical problems. For example, a farmer with a fixed amount of fencing (perimeter) wants to maximize the enclosed area—a classic optimization problem. Understanding perimeter alongside area provides complete information about a shape’s size and boundaries.

How to Calculate Perimeter

1

Identify the Shape Type

Determine whether the shape is a polygon or circle, as calculation methods differ.

Why: Different shapes have completely different perimeter formulas. Polygons use addition; circles require πr.

2

Measure All Sides (Polygons)

For irregular polygons, record every side length. For circles, measure the radius.

Why: Irregular polygons have unique side lengths; omitting any creates incorrect totals. Regular shapes only need one measurement.

3

Add Polygon Sides or Apply Circle Formula

Polygons: P = s₁ + s₂ + ... + sₙ. Circles: C = 2πr or C = πd

Why: These formulas encode geometry fundamentals. The π factor for circles reflects the curved vs. straight nature of boundaries.

4

Ensure Consistent Units

All measurements must use the same unit (cm, m, inches, etc.).

Why: Mixing units produces meaningless results. Perimeter is always linear (1D); unit consistency is non-negotiable.

5

Verify Your Calculation

Double-check sums or formula application, especially for circles using π approximations.

Why: Arithmetic errors compound quickly with multiple sides. Independent verification catches mistakes before applying results to real-world tasks.

Real-World Example

Fencing a Garden

Scenario:
Rectangular garden with sides 4m, 6m, 4m, 6m needs fencing around its perimeter.
Step 1:
Identify shape: Rectangle (polygon with 4 sides).
Step 2:
Record all sides: 4 m, 6 m, 4 m, 6 m (opposite sides equal).
Step 3:
Apply formula: P = 4 + 6 + 4 + 6 = 20 meters.
Step 4:
Verify units: All measurements in meters, perimeter result in meters ✓.
Step 5:
Double-check: 4+6 = 10, 10+4 = 14, 14+6 = 20 ✓.
Verification:
Using P = 2(l+w) = 2(6+4) = 2(10) = 20 ✓ (alternative formula confirms).
Result:
20 meters of fencing material needed
Interpretation:
The gardener must purchase 20 meters of fencing. If fencing costs $15/meter, total cost = $300. This encloses 24 m² of growing space.

Frequently Asked Questions

What is the difference between perimeter and circumference?

Perimeter is for polygons; circumference is for circles. Both measure distance around a shape.

Can two shapes have equal perimeter but different area?

Yes. For example, a 2×8 rectangle and a 3×6 rectangle both have perimeter 20 but different areas.

What is the formula for circle circumference?

C = 2πr = πd, where r is radius and d is diameter.

Do I need to measure all sides?

For irregular polygons, yes. For regular shapes, measure one side and multiply by the number of sides.

What is the perimeter of a square?

P = 4s, where s is the side length.

What is the perimeter of a rectangle?

P = 2(l + w), where l is length and w is width.

Are perimeter and area related?

Not directly—different shapes can share the same perimeter but have different areas.

Why is circumference important?

It calculates track lengths, wheel rotations, pipe lengths, and countless engineering applications.

Related Tools

Related Tools