Skip to content
Embed

Paste this on your site. The attribution link is required and is what makes embedding free.

Perimeter Calculator — Free Online Perimeter Tool

Calculate the perimeter of any common shape including rectangles, triangles, circles, and regular polygons with instant results and step-by-step formulas.

Perimeter

32.0000units

Formula Used

P = 2 × (10 + 6)

The perimeter of the rectangle is 32.0000 units.

Perimeter Reference Table

Shape Dimensions Formula Perimeter
Rectangle 10 × 5 2(10+5) 30
Rectangle 20 × 12 2(20+12) 64
Square 8 × 8 4 × 8 32
Triangle 3, 4, 5 3+4+5 12
Triangle (equilateral) s = 6 3 × 6 18
Circle r = 5 2π(5) 31.42
Circle r = 10 2π(10) 62.83
Pentagon s = 4 5 × 4 20
Hexagon s = 6 6 × 6 36
Octagon s = 3 8 × 3 24

Related Calculators

About this calculator

Perimeter Formulas

Rectangle

P = 2 × (length + width)

Triangle

P = a + b + c

Circle (Circumference)

C = 2 × π × r

Regular Polygon

P = n × s

Variables Explained

  • P (Perimeter): The total distance around the outside of the shape, measured in linear units. For a circle, this is called the circumference (C).
  • length, width: The two dimensions of a rectangle. Length is typically the longer side, and width is the shorter side, though mathematically the labels are interchangeable.
  • a, b, c: The three individual side lengths of a triangle. These must satisfy the triangle inequality: the sum of any two sides must be greater than the third side.
  • r (radius): The distance from the center of a circle to any point on its edge. The diameter equals 2r.
  • π (pi): A mathematical constant approximately equal to 3.14159265. It represents the ratio of any circle's circumference to its diameter.
  • n (number of sides): The number of equal-length sides in a regular polygon. Must be at least 3.
  • s (side length): The length of each individual side in a regular polygon where all sides are equal.

Step-by-Step Example

Calculate the perimeter of a rectangle with length 15.5 meters and width 8.3 meters:

  1. Identify the formula: P = 2 × (length + width)
  2. Add the dimensions: 15.5 + 8.3 = 23.8
  3. Multiply by 2: 2 × 23.8 = 47.6 meters

The perimeter of the rectangle is 47.6 meters. This means you would need 47.6 meters of fencing, edging, or trim to go completely around this rectangle.

Sources

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.

Last updated: November 3, 2026