Perimeter Calculator | Calculate Perimeter of Any Shape

Calculate perimeter instantly. Rectangle, square, triangle, pentagon, hexagon, circle. Fast and accurate geometry calculations.

Perimeter Calculator β€” Overview

Perimeter is the total distance around the outside of a shape. It's the sum of all side lengths. Unlike area (which measures interior space), perimeter measures the outline or boundary.

Key Concepts:**
Perimeter measures distance AROUND a shape
Measured in linear units (m, ft, cm, in)
Sum of all exterior sides
Different from area (which is squared)
Same perimeter β‰  same area (shapes vary)

Common Applications:**
Fencing (yards, gardens, properties), framing (pictures, structures), baseboard trim (rooms), rope length, border materials, track design, boundary measurement.

Perimeter Calculator Tool

Perimeter
18
units
Area
20
sq units

Perimeter Formulas for All Shapes

πŸ“ Common Perimeter Formulas
Rectangle
P = 2(l + w)
Square
P = 4s
Triangle
P = a + b + c
Pentagon
P = 5s (regular)
Hexagon
P = 6s (regular)
Circle
P = 2Ο€r (circumference)

Formula Explanations

Rectangle: P = 2(l + w). Two lengths plus two widths. Or: P = 2l + 2w.

Square: P = 4s. All four sides equal. Single side Γ— 4.

Triangle: P = a + b + c. Sum of all three sides. No formula needed.

Pentagon: P = 5s (regular pentagon). All sides equal. For irregular, sum all 5 sides.

Hexagon: P = 6s (regular hexagon). All sides equal. For irregular, sum all 6 sides.

Circle: P (circumference) = 2Ο€r or Ο€d. Special case using Ο€.

Real-World Perimeter Calculation Examples

Fence a Rectangular Yard
Length: 50 ft, Width: 30 ft
Perimeter: 160 ft (fencing needed)
Frame a Square Picture
Side: 12 inches
Perimeter: 48 inches (frame length)
Trim a Triangular Sail
Sides: 10m, 10m, 8m
Perimeter: 28 m (trim needed)
Baseboard a Pentagonal Room
Each side: 15 ft
Perimeter: 75 ft (baseboard)
Border a Hexagonal Garden
Each side: 5 meters
Perimeter: 30 m (edging)
Track a Circular Path
Radius: 50 meters
Perimeter: 314.16 m (walking path)

Perimeter vs Area β€” Understanding the Difference

Aspect Perimeter Area
Measures Distance AROUND shape Space INSIDE shape
Dimensions One-dimensional (length) Two-dimensional (length Γ— width)
Units Linear (m, ft, cm, in) Squared (mΒ², ftΒ², cmΒ², inΒ²)
Formula Sum of sides Base Γ— Height (varies by shape)
Example Use Fencing, framing, trim Flooring, painting, seeding
Same Perimeter? YES β€” Different shapes can have same perimeter but different areas!

Example: A 3Γ—7 rectangle and a 4Γ—6 rectangle both have perimeter 20. But their areas differ: 21 sq units vs 24 sq units. Same perimeter, different areas!

Comparing Shapes with Same Perimeter

This demonstrates why perimeter alone doesn't determine area. Three shapes, all with perimeter = 20 units:

Shape Dimensions Perimeter Area Notes
Rectangle 2 Γ— 8 20 16 sq units Long and narrow
Rectangle 4 Γ— 6 20 24 sq units More balanced
Square 5 Γ— 5 20 25 sq units Most efficient!
Circle r β‰ˆ 3.18 20 31.83 sq units Most area of all

Key Insight: Circles enclose the most area for a given perimeter. Squares are more efficient than rectangles. Long, narrow shapes waste area.

Calculating Perimeter of Irregular Shapes

Irregular shapes don't fit standard formulas.** To find their perimeter, simply add all side lengths together.

Steps:**
1. Measure (or identify) all exterior sides
2. Add them together
3. Result is the perimeter
Example: Sides = 5, 7, 3, 8, 6 β†’ Perimeter = 29 units

For Complex Irregular Shapes:**
Divide into simpler shapes (triangles, rectangles). Calculate perimeter of each outer edge. Sum the outer edges. (Don't count interior dividing lines!)

Using Coordinates:**
If you have vertices (x, y coordinates), use distance formula to find each side length, then sum.
Distance = √[(xβ‚‚-x₁)Β² + (yβ‚‚-y₁)Β²]

Perimeter Unit Conversions

Metric (Linear):**
1 km = 1,000 m
1 m = 100 cm
1 cm = 10 mm

Imperial (Linear):**
1 mile = 5,280 feet
1 yard = 3 feet
1 foot = 12 inches

Metric ↔ Imperial:**
1 meter β‰ˆ 3.28 feet
1 inch β‰ˆ 2.54 cm
1 kilometer β‰ˆ 0.621 miles

Conversion Example:**
Rectangle: 5 m Γ— 3 m
Perimeter: 2(5 + 3) = 16 m
In feet: 16 m Γ— 3.28 ft/m β‰ˆ 52.5 feet
In inches: 52.5 ft Γ— 12 in/ft = 630 inches

Perimeter Calculation Tips & Best Practices

βœ“ Regular vs Irregular** Regular shapes: all sides equal. Formula works directly. Irregular: add each side individually. Don't assume all sides are equal!
βœ“ Measure Carefully** Perimeter depends on accurate side lengths. Even small errors add up. 1-unit error Γ— 4 sides = 4-unit error in perimeter.
βœ“ Units Must Match** All measurements must use same units (all meters or all feet). Mixing units causes errors. Convert first, then calculate.
βœ“ Perimeter β‰  Area** Don't confuse them. Perimeter is around. Area is inside. Linear vs squared units. Completely different measurements.
βœ“ Circle Exception** Circle perimeter = circumference = 2Ο€r. Uses Ο€ like area does. Different formula from polygon sides.
βœ“ Practical Estimation** For fencing/framing, overestimate slightly for waste. For trim, add 10% buffer. Better too much than too little!

Frequently Asked Questions

Q: Can two different shapes have the same perimeter?

Absolutely! A 2Γ—8 rectangle and 4Γ—6 rectangle both have perimeter 20. A 5Γ—5 square also has perimeter 20. Same perimeter, different areas. This is why perimeter and area are independent.

Q: Is circumference the same as perimeter?

Yes, for circles! Circumference is the perimeter of a circle. They're synonymous terms. Perimeter is the general term for distance around any shape. Circumference specifically refers to circles.

Q: How do I find perimeter of an irregular pentagon?

If all sides aren't equal, measure (or identify) all 5 side lengths. Add them: P = a + b + c + d + e. No formula needed β€” just sum the sides. Same applies to irregular hexagons, octagons, etc.

Q: What shape has the most area for a given perimeter?

Circles! For any fixed perimeter, circles enclose more area than any polygon. Squares are next (more efficient than rectangles). Long, narrow rectangles are least efficient.

Q: Does perimeter depend on area?

No. They're independent measurements. A large rectangle can have small perimeter if thin. A square is efficient β€” max area for min perimeter. But there's no formula relating them.

Q: How do I measure perimeter of a curved, non-circular shape?

Use a flexible measuring tape or string. Wrap it around the shape. Mark where it meets. Measure the string length. For mathematical curves, calculus (arc length) is needed.