🔲 Perimeter Calculator
Find perimeter of rectangles, triangles, circles, and polygons from side lengths and radius.
Boundary Length — Fence, Frame, and Trim
BrainyCalculators editorial insight — unique to this tool
Rectangle perimeter 2(l + w) — a 12×15 ft room needs 54 ft of baseboard before waste factor. Circular perimeter is circumference 2πr. Land survey perimeter differs from area when pricing fencing vs sod.
When to use this calculator
Use when you need outer boundary length of 2D shapes. For enclosed space measure, use Area or Area Converter.
Finding interior area or 3D volume?
This page sums boundary length. For surface area inside a shape, use the Area Calculator →
Diameter = 2r will also be shown.
What is Perimeter?
Perimeter is the total distance around a 2D shape boundary. This calculator sums sides for polygons and uses 2πr for circles.
Use this page for fencing, framing, and homework boundary length. Area measures interior surface; volume measures 3D space.
Triangle calculator can solve sides and angles when not all edges are known upfront.
Perimeter Formulas
Example — Rectangle 10 × 6
How the Perimeter Calculator Works
Formula, assumptions, and calculation steps for this math tool.
Methodology
Math calculators apply the relevant arithmetic, algebraic, geometric, or numeric rule to the values entered and simplify the result where possible.
Calculation Steps
- Read the values and operation selected.
- Normalize signs, decimals, fractions, or units if needed.
- Apply the mathematical rule or formula.
- Format the answer and any intermediate values for checking.
Assumptions and Limits
- Inputs must be within the supported domain of the operation.
- Decimal answers may be rounded for readability.
- Symbolic simplification is limited to the calculator scope.
Frequently Asked Questions
Perimeter is the total length of the boundary around a 2D shape. It is measured in linear units (m, cm, ft, etc.). Think of it as the distance you would walk if you traced the outline of the shape.
Perimeter measures the boundary length of a shape (linear units), while area measures the surface it encloses (square units). A shape with a large perimeter does not necessarily have a large area.
The circumference is the perimeter of a circle. It equals 2πr (using the radius) or πd (using the diameter). For a circle with radius 7: C = 2 × π × 7 ≈ 43.98 units.
Pi (π ≈ 3.14159) is the constant ratio of any circle's circumference to its diameter. This is true for every circle regardless of size. It appears in all circle formulas because of this fundamental relationship.
For an irregular polygon, add the lengths of all sides. If you have coordinates of vertices, you can calculate the distance between consecutive points using the distance formula: d = √((x₂−x₁)² + (y₂−y₁)²), then sum all distances.
Real-World Applications
Common Mistakes
Perimeter Formulas Quick Reference
| Shape | Formula | Variables |
|---|---|---|
| Rectangle | P = 2(l + w) | l = length, w = width |
| Square | P = 4s | s = side length |
| Triangle | P = a + b + c | a, b, c = side lengths |
| Circle (circumference) | C = 2πr = πd | r = radius, d = diameter |
| Regular polygon | P = n × s | n = sides, s = side length |
| Ellipse (approx.) | P ≈ π[3(a+b) − √((3a+b)(a+3b))] | a, b = semi-major/minor axes |
References
- Weisstein, Eric W. "Perimeter." MathWorld — A Wolfram Web Resource. mathworld.wolfram.com, 2024.
- Ramanujan, S. "Modular Equations and Approximations to π." Quarterly Journal of Mathematics, 1914.
- Coxeter, H.S.M. Introduction to Geometry. Wiley, 1969.
- NCTM. Principles and Standards for School Mathematics. National Council of Teachers of Mathematics, 2000.
- Stewart, J. Calculus: Early Transcendentals. Cengage, 2015.
Related Calculators
Browse all Math calculators →Area Calculator
Calculate the area of any shape — circle, triangle, rectangle, trapezoid, and more.
Geometry Calculator
Calculate area, perimeter, volume and other properties of geometric shapes.
Circle Calculator
Calculate the area, circumference, diameter, and radius of any circle.