Calculator and Converter

Perimeter calculator

Choose a shape and enter its measurements, and this tool calculates the perimeter, which is the distance around it.

Results

Enter your values to see the result.

About this tool

It covers rectangles, squares, triangles, circles, regular polygons, parallelograms, rhombuses, trapezoids and ellipses, and shows the result in metres and feet as well as your own unit. It suits fencing, trim and borders.

How it is calculated
rectangle 2(l+w); square 4s; triangle a+b+c; circle 2πr; regular polygon n×s; parallelogram 2(a+b); rhombus 4s; trapezoid sum of the four sides; ellipse (approximation, Ramanujan): π(a+b)(1 + 3h÷(10+√(4−3h))) with h = ((a−b)÷(a+b))²
Worked example
With Unit of length: metres (m); Shape: Rectangle; Length: 10; Width: 5, the result is: Perimeter: 30 m; Perimeter in metres: 30 m; Perimeter in feet: 98.43 ft.
Good to know
Most shapes use the simple sum of their sides, and the circle uses two times pi times the radius. An ellipse has no exact simple formula, so the tool uses Ramanujan's close approximation. Enter all lengths in the same unit.

Frequently asked questions

What is the perimeter of a circle called?

The distance around a circle is called its circumference. The tool uses two times pi times the radius to find it.

How can I use it for a fence?

Calculate the perimeter of the area, subtract the gaps for gates, and divide by the length of a fence panel to see how many panels you need.

Is the ellipse result exact?

No. It uses a very close approximation, which is accurate for practical purposes, because the exact value needs an advanced calculation.

Related calculators