Perimeter Calculator

Calculate the perimeter of square, rectangle, triangle, circle, semicircle, ellipse, equilateral triangle and regular polygon with step-by-step formulas.

Walk the boundary once before typing measurements

An 18 ft by 9 ft garden bed needs 54 ft of edging before gates or overlaps are considered. Perimeter is the distance travelled around that closed outline. A useful field check is to start at one corner, follow every outside edge in order and finish at the same corner. This prevents a recess from being skipped or one side from being counted twice.

For straight edges, how to find the perimeter comes down to two rules: convert every measurement to one unit, then add only the exposed outside lengths. The answer stays in feet, metres, inches or another length unit. Square feet and square metres belong to area, so they should not appear in this result.

  • Square: multiply one side by four.
  • Rectangle: double the sum of length and width.
  • Triangle: add the three sides after checking that they can form a triangle.
  • Regular polygon: multiply its number of equal sides by one side length.

The square shortcut assumes all four sides match. A rectangle perimeter calculator assumes opposite sides match. An irregular quadrilateral needs four separate measurements, while a triangle perimeter calculator must reject 2, 3 and 6 because the two shorter sides do not reach the longest one.

A semicircle includes a straight edge

The circumference of a circle is C = 2πr, or C = πd when the diameter is known. A circumference calculator needs the radius in the radius field; entering a 14 cm diameter as r would double the correct answer. Use r = 7 cm instead to obtain about 43.98 cm.

For a closed semicircle, half the curved distance is not the whole boundary. The diameter must be added, giving P = πr + 2r. If a drawing asks only for the arc, use πr. The ellipse option is also an approximation: it uses Ramanujan’s formula because an ellipse has no equally short elementary expression for its exact boundary length.

Convert the result into an order quantity

Fencing, baseboard, cable tray and picture-frame jobs rarely end with the geometric number. Subtract doors, gates or other deliberate openings. Add cutting loss, corner joints and overlap afterward, using a rate that fits the material rather than a universal percentage. The calculator does not add that allowance on its own.

What is perimeter useful for compared with area? It answers how much material follows the edge; area answers how much surface lies inside. A 5 by 5 square and an 8 by 2 rectangle each have an outside total of 20 units, yet enclose 25 and 16 square units. Knowing one value therefore cannot identify the other without more dimensions.

Measured plans also need a quick reality check. A regular-polygon result is valid only when every side is equal. For a floor plan with alcoves, trace each turn and add the actual segments. If the project mixes inches and feet, convert first and keep the original measurements beside the final calculation so a purchasing error can be found later.

Frequently Asked Questions About the Perimeter Calculator

A circle circumference calculator uses C = 2πr with radius or C = πd with diameter. For a 14 cm diameter, enter r = 7 cm; the circumference is about 43.98 cm.

A rectangle perimeter calculator doubles the sum of length and width. With sides of 8 cm and 5 cm, P = 2 × (8 + 5), so the result is 26 cm.

A triangle perimeter calculator adds all three sides. Sides 5, 7 and 9 cm total 21 cm. The two shorter sides must add to more than the longest side.

Measure and add the four outside edges of an irregular quadrilateral. Use a rectangle shortcut only when opposite sides match, or the square shortcut when all four sides match.

Couldn't find the answer you were looking for?

Explore all our tools and get the fastest answer to your question.

Go to All Tools