Perimeter Calculator
Compute the perimeter of rectangles, squares, triangles, circles and irregular polygons. Choose the shape, enter side lengths and get the total boundary length plus conversions.
Calculator
Results
Perimeter in selected unit, plus automatic conversions.
Perimeter (selected unit)
—
m
Perimeter (meters)
—
Perimeter (centimeters)
—
Perimeter (feet)
—
Common perimeter formulas
| Shape | Formula | Notes |
|---|---|---|
| Square | P = 4a | a = side |
| Rectangle | P = 2(L + W) | L = length, W = width |
| Triangle | P = a + b + c | Any triangle, any sides |
| Circle | C = 2πr = πd | r = radius, d = diameter |
| Regular n-gon | P = n × s | n = number of sides, s = side length |
| Irregular polygon | P = Σ si | Sum all sides |
How this perimeter calculator works
Perimeter is the total distance around a 2D shape. Most shapes have very simple perimeter formulas, so the real challenge is supporting many shapes and many units in a single tool — exactly what this calculator does.
Supported shapes
- Rectangle: \( P = 2(L + W) \)
- Square: \( P = 4a \)
- Triangle: \( P = a + b + c \)
- Circle (circumference): \( C = 2 \pi r \)
- Regular polygon: \( P = n \times s \)
- Irregular polygon: sum of all side lengths
Units and conversions
You can enter your dimensions in mm, cm, m or inches. The calculator converts everything internally to meters so that it can output:
- perimeter in your selected unit (for example “3.5 m”)
- perimeter in meters
- perimeter in centimeters
- perimeter in feet (useful for construction or landscaping)
FAQ
How do I find the perimeter of a room?
Measure each wall and sum the lengths. If the room is rectangular, use 2 × (length + width). If it has odd corners, use the “Irregular polygon” option and list all sides.
What if I only know the area?
Perimeter cannot be uniquely determined from area alone, unless you know the shape (e.g. square). For mixed or unknown shapes you must measure the sides.
Why is circle included in a perimeter calculator?
Because the circumference is the perimeter of a circle, and it is one of the most common perimeter problems.