Free to Use

Perimeter Calculator

Find perimeter and circumference of various geometric shapes including rectangles, squares, triangles, circles, and sectors. Get step-by-step solutions for all your perimeter calculations.

🔺
🥧

Real-World Perimeter Examples

🏡 Fencing a Rectangular Garden

You have a rectangular garden that is 12 meters long and 8 meters wide. How much fencing do you need to enclose it?

Formula: P = 2(l + w) = 2(12 + 8)

Solution: P = 2 × 20 = 40 meters of fencing

Don't forget to account for a gate if needed — subtract the gate width from the total.

🏏 Running Around a Square Field

A square field has sides of 75 meters. An athlete runs 3 laps around the field.

Perimeter of field: P = 4s = 4 × 75 = 300 meters

Total distance for 3 laps: 3 × 300 = 900 meters

This is equivalent to 0.9 km — a great warm-up distance!

🔺 Triangular Park Path

A triangular park has sides measuring 30 m, 40 m, and 50 m. What distance does a jogger cover in one lap around the park?

Formula: P = a + b + c = 30 + 40 + 50

Solution: P = 120 meters

This is a 3-4-5 triangle scaled by 10 — a right triangle! The jogger covers 120 m per lap.

🚲 Bicycle Wheel Circumference

A bicycle wheel has a radius of 35 cm. How far does the bike travel in one full rotation of the wheel?

Formula: C = 2πr = 2 × π × 35

Solution: C = 219.91 cm ≈ 2.2 m

In 100 rotations, the bike travels about 220 meters. Wheel circumference is critical for speedometer calibration!

🥧 Pizza Slice (Sector) Crust Length

A 12-inch pizza (radius 6 inches) is cut into 8 equal slices. What is the crust length (arc) of one slice?

Formula: Arc = (θ/360) × 2πr = (45/360) × 2π × 6

Solution: Arc = 4.71 inches of crust per slice

The total perimeter of the slice includes 2 radii (12 inches) plus the arc, totaling 16.71 inches of edge.

Perimeter & Circumference Formulas

The perimeter is the total distance around the outside of a two-dimensional shape. For circles, the perimeter is called the circumference. Below are the formulas for the most common shapes.

Rectangle: P = 2(l + w)
Where l = length and w = width. Add all four sides: two lengths + two widths.
Square: P = 4s
Where s = side length. All four sides are equal, so multiply the side by 4.
Triangle: P = a + b + c
Where a, b, c are the three side lengths. Simply add all three sides.
Circle (Circumference): C = 2πr
Where r = radius and π ≈ 3.14159. Alternatively, C = πd where d = diameter.
Circle Sector: P = 2r + (θ/360) × 2πr
Where r = radius and θ = central angle in degrees. The perimeter includes two radii plus the arc length.

How to Calculate Perimeter Step by Step

1
Identify the shape: Determine what geometric shape you're working with (rectangle, square, triangle, circle, etc.)
2
Choose the formula: Select the appropriate perimeter formula for that shape
3
Measure or identify the dimensions: Find the required measurements (side lengths, radius, etc.)
4
Plug into formula: Substitute the values into the formula and perform the calculation
5
Add the unit: The result should be in the same unit of length as your input measurements

Quick Tips for Perimeter Calculations

📏 Use Consistent Units

Always ensure all measurements are in the same unit before calculating. Convert if necessary — our calculator handles this automatically.

🔢 Check for π Precision

For circle calculations, π is approximately 3.14159. Our calculator uses high precision for accurate results.

🔄 Perimeter vs Area

Perimeter measures the distance around a shape, while area measures the space inside. Don't confuse the two!

🧮 Cross-Check Your Results

For rectangles and squares, you can verify by adding all sides individually. For circles, check with C = πd as an alternative formula.

📐
Multiple Shapes
Calculate perimeter for rectangles, squares, triangles, circles, and circle sectors — all in one tool.
📝
Step-by-Step Solutions
See the full working process explained clearly for every calculation, including formulas and numerical steps.
🎯
High Precision
Get accurate calculations with high decimal precision — perfect for engineering, design, and academic work.
📏
Multiple Units
Choose from cm, m, in, ft, and mm. Results are clearly labeled with the selected unit.

What Is Perimeter?

The perimeter is the total distance around the boundary of a two-dimensional shape. It is a linear measurement — meaning it measures length, not area. For polygons (shapes with straight sides), the perimeter is found by adding up the lengths of all sides. For circles, the perimeter is called the circumference, calculated using π (pi).

Perimeter is one of the most fundamental concepts in geometry and has countless practical applications. Whether you're installing a fence around your yard, framing a picture, or calculating how much trim you need for a room, you're working with perimeter.

Unlike area (which measures the space inside a shape) or volume (which measures the space inside a 3D object), perimeter simply measures the boundary length. This makes it an essential first step in many construction, design, and measurement tasks.

Perimeter vs. Circumference

How to Calculate Perimeter

Calculating perimeter depends on the shape you're working with. Here's a breakdown of the most common formulas and when to use each one:

Rectangle: P = 2(l + w). A rectangle has two pairs of equal sides. Add the length and width, then multiply by 2. For a rectangle with length 10 m and width 6 m: P = 2(10 + 6) = 2 × 16 = 32 m.

Square: P = 4s. All four sides of a square are equal. Simply multiply the side length by 4. For a square with side 7 cm: P = 4 × 7 = 28 cm.

Triangle: P = a + b + c. Add all three side lengths together. For a triangle with sides 5, 6, and 7 cm: P = 5 + 6 + 7 = 18 cm. If two sides are equal, it's an isosceles triangle. If all three are equal, it's equilateral.

Circle (Circumference): C = 2πr. Use π ≈ 3.14159. For a circle with radius 5 cm: C = 2 × 3.14159 × 5 = 31.42 cm. Alternatively, use the diameter: C = πd.

Circle Sector: P = 2r + (θ/360) × 2πr. First find the arc length (the curved part of the sector), then add two radii. For a sector with radius 10 cm and angle 60°: Arc = (60/360) × 2π × 10 = 10.47 cm, then P = 2 × 10 + 10.47 = 30.47 cm.

Triangle Classification by Sides

🔺 Equilateral

All three sides are equal. Perimeter = 3 × side. Example: side = 6 cm → P = 18 cm.

🔻 Isosceles

Two sides are equal. Perimeter = 2a + b where a = equal sides, b = base.

📐 Scalene

All three sides are different. Perimeter = a + b + c (sum of all sides).

📏 Right Triangle

Has one 90° angle. The longest side (hypotenuse) can be found using the Pythagorean theorem if needed.

Applications of Perimeter in Daily Life

Understanding perimeter is essential in many everyday situations. Here are some practical applications:

🏠 Home Renovation

Calculate how much baseboard, crown molding, or wallpaper border you need for a room. Measure the perimeter of the room and subtract door openings.

🌳 Landscaping

Determine how much fencing, edging, or decorative trim is needed for gardens, patios, and lawns. Perimeter calculations help estimate material costs.

🏃 Sports & Fitness

Track running distances around tracks, fields, and courts. A standard 400-meter track has an oval shape with specific dimensions.

🖼️ Framing & Art

Calculate the total length of frame material needed for pictures, mirrors, and artwork. The frame length equals the perimeter of the artwork.

Frequently Asked Questions

What is the difference between perimeter and area?
Perimeter measures the distance around a shape — it's a linear measurement (e.g., meters, feet). Area measures the space inside a shape — it's a square measurement (e.g., square meters, square feet). For example, a rectangle 10 m × 5 m has a perimeter of 30 m (the distance around it) and an area of 50 m² (the space inside it).
What is the formula for the perimeter of a circle?
The perimeter of a circle is called the circumference. The formula is C = 2πr, where r is the radius of the circle. Alternatively, C = πd, where d is the diameter (d = 2r). The value of π (pi) is approximately 3.14159. For a circle with radius 10 cm, the circumference is 2 × π × 10 = 62.83 cm.
How do I find the perimeter of a triangle when only two sides are known?
If only two sides are known, you need additional information. For a right triangle, use the Pythagorean theorem (a² + b² = c²) to find the third side. For other triangles, you'd need the included angle between the known sides and use the law of cosines. In many practical cases, simply measuring the third side is the most straightforward approach.
What units are used for perimeter?
Perimeter is a linear measurement and uses the same units as the side lengths. Common units include millimeters (mm), centimeters (cm), meters (m), kilometers (km), inches (in), feet (ft), yards (yd), and miles (mi). Always ensure all measurements are in the same unit before calculating.
What is the perimeter of a circle sector?
The perimeter of a circle sector includes two radii (the straight sides from the center to the arc ends) plus the arc length (the curved part). The formula is P = 2r + (θ/360) × 2πr, where θ is the central angle in degrees. For a 60° sector with radius 10 cm: P = 2(10) + (60/360) × 2π(10) = 20 + 10.47 = 30.47 cm.
How do I calculate the perimeter of an irregular shape?
For an irregular shape, the perimeter is found by measuring and adding up all side lengths. If the shape has curved edges, you may need to measure the curve length or approximate it with a string. For shapes on a grid or graph, count the number of unit lengths along the boundary. Our calculator focuses on standard geometric shapes, but the principle of adding all boundary lengths applies universally.

⚠️ Important Note: This Perimeter Calculator is for educational and informational purposes only. While every effort has been made to ensure accuracy, results should be verified independently for critical applications such as construction, engineering, manufacturing, or any project where precise measurements are required. Always double-check your measurements and calculations for high-stakes applications.