Geometry
Perimeter
Perimeter formulas for common 2D shapes: squares, rectangles, parallelograms, circles, triangles, and regular polygons.
Perimeter is the total length of a planar shape’s boundary, measured in linear units (metres, inches, and so on). For polygons it is the sum of side lengths. For a circle the analogous quantity is the circumference, 2πr. The formulas below cover squares, rectangles, parallelograms, circles, triangles, and regular polygons.
Square
Four equal sides of length a. Perimeter is four times the side:
Rectangle
Sides a and b. Opposite sides are equal, so the perimeter is twice the sum of one of each:
Parallelgram
Adjacent sides a and b. Opposite sides are equal, so the perimeter takes the same form as a rectangle. The slant angle does not enter:
Circle
Radius r. The circumference is 2π times the radius, the limiting case of a regular polygon as the number of sides grows without bound:
Triangle
Sides a, b, and c. Perimeter is their sum. No angle information is required:
Any Regular Pilygon
n equal sides of length s give a perimeter of ns, the sum of all sides. The general statement below covers irregular polygons as well: