Perimeter Formulas

Every perimeter formula in one chart: square, rectangle, triangle, circle, semicircle, parallelogram, trapezoid, rhombus, kite, polygons and ellipse.

Perimeter Formulas: Find the Formula You Need

You need the perimeter formula for a specific shape and you need it now. Here is the formula, a one-line example, and the one thing that goes wrong with each. All formulas assume you measure every side in the same unit. Mix inches and centimetres and your perimeter will be wrong before you start.

Perimeter is a linear measurement: feet, metres, inches. If your answer comes out in square units you have calculated area, not perimeter. The most common mistake is confusing the two. A fence (perimeter) is not the same as paint (area).

Use the chart below to find your shape. Each entry lists the formula, the variables, and one worked example so you can check your arithmetic.

Calculate perimeter for a shape

Side of square, or radius for circle/semicircle/sector
Length of rectangle
Width of rectangle
First side of triangle
Second side of triangle
Third side of triangle
Number of sides for regular polygon
Central angle of sector
Semi-major axis of ellipse
Semi-minor axis of ellipse

Ramanujan approximation for ellipse perimeter (1914); standard geometric perimeter formulas

Polygons: Sum of Sides and the Regular Shortcut

Every polygon follows the same rule: add the lengths of all its sides. For a triangle, P = a + b + c. For a quadrilateral such as a trapezoid, P = a + b + c + d, where a and b are the parallel bases and c and d are the legs. For an irregular pentagon or hexagon, you still sum each side individually, there is no shortcut.

The exception is a regular polygon. All sides equal, all angles equal. The equation is P = n × s, where n is the number of sides and s is the side length. A regular hexagon (n = 6) with side 4 m has perimeter 24 m. A regular octagon (n = 8) with side 3 ft has perimeter 24 ft.

Common Polygon Equations

  • Rectangle: P = 2(l + w). Length 10 m, width 4 m → P = 2(10 + 4) = 28 m.
  • Square: P = 4s. Side 6 cm → P = 24 cm.
  • Parallelogram: P = 2(b + s). Base 8 m, side 5 m → P = 26 m.
  • Trapezoid: P = a + b + c + d. Bases 10 cm and 6 cm, legs 5 cm each → P = 26 cm.
  • Triangle: P = a + b + c. Sides 3 m, 4 m, 5 m → P = 12 m.

For a composite shape such as an L-shaped room, do not sum the perimeters of the sub-shapes. Their shared interior edge would be counted twice. Instead, add every exterior side length once. Missing a side? Subtract the known sides from the total perimeter. That is how the Common Core standard 3.MD.D.8 frames missing-side problems.

Circles and Arcs: Circumference, Semicircle, and Sector

The perimeter of a circle is its circumference. Two equivalent equations: C = 2πr or C = πd. Radius 7 cm → C = 2 × 3.14 × 7 ≈ 43.96 cm. That is exact for a perfect circle; real-world circles (pipes, wheels) are close enough.

A semicircle is half the circumference plus the diameter: P = πr + 2r. Radius 5 cm → P = (3.14 × 5) + 10 = 25.7 cm. Do not forget the straight edge. Students commonly report only 15.7 cm and miss the diameter.

For a sector (a pie slice), the perimeter is the arc length plus two radii. Arc length = (θ/360) × 2πr, where θ is the central angle in degrees. Radius 10 cm, angle 60° → arc length = (60/360) × 62.8 ≈ 10.47 cm, so P = 10.47 + 20 = 30.47 cm.

The Common Core standard 7.G.B.4 expects you to know the circumference equation and to derive the relationship between circumference and area. This covers the equation; for a full walkthrough of manual calculation see the circumference of a circle page.

Ellipse: No Simple Formula (Ramanujan Approximation)

The ellipse has no exact elementary perimeter equation. Its true perimeter requires a complete elliptic integral of the second kind, which only a mathematician would calculate by hand. For everyone else, the best practical equation is Ramanujan's first approximation (1914):

P ≈ π [ 3(a + b) - √( (3a + b)(a + 3b) ) ]

where a is the semi-major axis (half the longest diameter) and b is the semi-minor axis (half the shortest diameter).87] ≈ 25.53 m. This approximation is accurate to within 0.04% for most ellipses.

The simpler average equation π(a+b) underestimates the real ellipse perimeter by 5 to 15 percent, depending on the ellipse's eccentricity. Do not use it unless you are estimating for a rough sketch and the shape is nearly circular. For an oval garden bed or elliptical window, use Ramanujan's equation or a dedicated ellipse perimeter calculator.

That is the only case where the exact answer is simple. For deeper reading on ellipse perimeter approximations, see the perimeter of an ellipse page.

Perimeter Formula Chart: Printable Reference

Each equation below is paired with one worked example. Copy this chart to stick on a wall or keep in a notebook.

  • Rectangle: P = 2(l + w). l = 10 m, w = 4 m → 28 m.
  • Square: P = 4s. s = 6 cm → 24 cm.
  • Triangle: P = a + b + c. Sides 3, 4, 5 m → 12 m.
  • Circle (circumference): C = 2πr or πd. r = 7 cm → 43.98 cm.
  • Parallelogram: P = 2(b + s). b = 8 m, s = 5 m → 26 m.
  • Trapezoid: P = a + b + c + d. Bases 10, 6 cm, legs 5 cm → 26 cm.
  • Regular polygon: P = n × s. n = 6, s = 4 m → 24 m.
  • Semicircle: P = πr + 2r. r = 5 cm → 25.71 cm.
  • Sector: P = (θ/360)×2πr + 2r. r = 10 cm, θ = 60° → 30.47 cm.
  • Ellipse (Ramanujan approx.): P ≈ π[3(a+b) - √((3a+b)(a+3b))]. a = 5 m, b = 3 m → 25.53 m.

More in this guide

Frequently Asked Questions About PerimeterHow to Find Perimeter.

Common Questions

What is the perimeter formula for a rhombus?

A rhombus has four equal sides, like a square but with non-right angles. Its perimeter equation is P = 4s, where s is the length of one side. A rhombus with side 7 cm has perimeter 28 cm.

What is the perimeter formula for a trapezoid?

A trapezoid has four sides, with one pair of parallel sides. Its perimeter equation is P = a + b + c + d, where a and b are the lengths of the two parallel bases and c and d are the lengths of the legs. Example: bases 10 cm and 6 cm, legs 5 cm each, gives P = 26 cm.

What is the perimeter formula for a regular polygon?

A regular polygon has all sides equal and all angles equal. Its perimeter equation is P = n × s, where n is the number of sides and s is the side length. A regular hexagon (6 sides) with side 4 m has perimeter 24 m.

How do I find a missing side length from the perimeter?

Subtract the sum of the known side lengths from the total perimeter. This is how Common Core standard 3.MD.D.8 frames missing-side problems. For a rectangle with perimeter 30 cm and length 10 cm, width = (30/2) - 10 = 5 cm.

What is the perimeter of an ellipse?

There is no simple exact equation. The most accurate simple approximation is Ramanujan's equation: P ≈ π[3(a+b) - √((3a+b)(a+3b))]. For a = 5 m, b = 3 m, the perimeter is approximately 25.53 m.

What is the perimeter of a semicircle?

A semicircle's perimeter is half the circumference plus the diameter: P = πr + 2r. A semicircle with radius 5 cm has perimeter (3.14 × 5) + 10 = 25.7 cm. Do not forget the straight edge, students commonly report only the curved part.

What is the difference between perimeter and area?

Perimeter is the distance around the outside of a shape (a linear measurement). Area is the space inside the shape (a square measurement). To decide which you need, ask yourself: do I need a fence (perimeter) or paint (area)?