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
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
Area Calculator
Calculate the area of common 2D shapes including rectangles, triangles, circles, and more.
Triangle Calculator
Solve triangles with angles, sides, area, and perimeter from any combination of inputs.
Circle Calculator
Find radius, diameter, circumference, and area of circles from any known value.
Square Footage Calculator
Calculate square footage for rooms and spaces with unit conversion support.
Percentage Calculator
Calculate percentages with five operation modes for any math problem.
Unit Converter
Convert between length, area, volume, and other measurement units.
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:
- Identify the formula: P = 2 × (length + width)
- Add the dimensions: 15.5 + 8.3 = 23.8
- 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
- Math is Fun — Perimeter: mathsisfun.com
- Khan Academy — Area and Perimeter: khanacademy.org
- National Institute of Standards and Technology (NIST) — SI Units: nist.gov
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026