Blog
Perimeter Formula Guide for Every Shape
The correct perimeter formula depends on the shape. This page collects core rules, shows when to use each one, and helps you avoid mixing perimeter with area symbols.

Blog
The correct perimeter formula depends on the shape. This page collects core rules, shows when to use each one, and helps you avoid mixing perimeter with area symbols.

Match the shape to a standard perimeter relationship, then substitute measurements in one consistent unit system.
Formula
After you name the figure, Perimeter Calculator applies the right rule automatically so you can focus on reading the diagram correctly.
Most introductory work uses rectangles, squares, triangles, and circles. Polygons add the pattern P = n × s when every side matches, which saves time on stop signs, hexagonal tiles, and other regular outlines.
Formula selection is a skill separate from arithmetic. A student can multiply correctly yet still choose A = l × w when the question asked for boundary length.
If the word perimeter is new to you, read what is perimeter first so the symbols below have a clear meaning.
Regular pentagons, hexagons, and octagons share one structure; our perimeter of polygons article explains when to add sides versus using n × s.
A perimeter formula is a shortcut that turns known side lengths into total boundary distance. It saves repeated addition when opposite sides are equal or when every side matches.
The core rectangle rule P = 2(l + w) appears constantly in construction layouts, sports fields, and standardized tests because so many real objects look like rectangles on a plan view.
Composite figures use several formulas on pieces of the same sketch. Split an L-shaped room into two rectangles, find each perimeter only if the question needs the outer boundary of the whole outline, not each piece separately.
Semicircles and sectors blend straight segments with curved parts. Always list every piece of the boundary before you substitute.
When the drawing is a regular pentagon, hexagon, or octagon, multiply the number of sides by side length. The home tool includes preset shapes for common counts.
Trapezoids and irregular quadrilaterals usually need four labeled sides with no single shortcut unless symmetry gives you equal pairs.
If you are unsure whether to add or multiply, trace the outline once with your finger. Every edge you touch must appear in the formula or sum.
Rectangle: l = 9 ft, w = 11 ft → P = 2(9 + 11) = 40 ft. You could also add 9 + 11 + 9 + 11.
Triangle: sides 7 cm, 8 cm, 9 cm → P = 24 cm with no further simplification.
Circle: r = 5 m → P ≈ 31.42 m when π ≈ 3.14159. Diameter 10 m gives the same result through P = πd.
Regular hexagon: side 4 in → P = 6 × 4 = 24 in because six equal sides wrap the outline.
Pick the shape, apply the matching rule, and keep units consistent from the first measurement to the final sentence.
Verify on the home calculator when speed matters or when the diagram mixes several figures.