Perimeter Calculator
Find the perimeter of a rectangle, square, triangle, circle, trapezoid, parallelogram, rhombus, ellipse, sector, segment or regular polygon.
Change the values and press Calculate to work out your own figures.
Rectangle
Enter the length and width.
Show the working
- P = 2(l + w)
- Perimeter = 100 ft
Square
Enter the side.
Show the working
- P = 4a
- Perimeter = 48 ft
Triangle
Enter the side a, side b and side c.
Show the working
- P = a + b + c
- Perimeter = 125 ft
Circle
Enter the radius.
Show the working
- C = 2 π r
- Circumference = 62.83185307 ft
Trapezoid
Enter the base a, base b, side c and side d.
Show the working
- P = a + b + c + d
- Perimeter = 75 ft
Parallelogram
Enter the side a and side b.
Show the working
- P = 2(a + b)
- Perimeter = 100 ft
Rhombus
Enter the side.
Show the working
- P = 4a
- Perimeter = 52 ft
Ellipse (oval)
Enter the semi-axis a and semi-axis b.
Show the working
- C = 4a E(e), the complete elliptic integral, worked out exactly by the arithmetic–geometric mean
- Circumference = 158.6543959 ft
Sector
Enter the radius and angle.
Show the working
- P = 2r + arc length
- Perimeter = 107.1238898 ft
Circular segment
Enter the radius and angle.
Show the working
- P = arc length + chord length
- Perimeter = 20.47197551 ft
Regular polygon
Enter the number of sides and side.
Show the working
- P = n × a
- Perimeter = 40 ft
How to use it
Enter the length and width. Enter the side. Enter the side a, side b and side c. Enter the radius. Enter the base a, base b, side c and side d. Enter the side a and side b. Enter the side. Enter the semi-axis a and semi-axis b. Enter the radius and angle. Enter the radius and angle. Enter the number of sides and side.
Enter the measurements (decimals, fractions such as 3/4, or mixed numbers such as 1 1/2) and, if you like, their unit; the answer is then also given in other units. Show the working gives the formula.
Key facts
Rectangle P = 2(l + w); circle C = 2πr; regular polygon P = n a
The ellipse's perimeter
There is no simple formula for the distance around an ellipse. The calculator evaluates the exact value (a complete elliptic integral) with the arithmetic–geometric mean; Ramanujan's approximation agrees to within a few parts per billion for most ellipses.
Questions
What is the perimeter of a 30 × 20 rectangle?
100.
What is the circumference of a circle of radius 10?
20π ≈ 62.83185307.
Formulas
Rectangle P = 2(l + w); circle C = 2πr; regular polygon P = n a
Sources
Limitations
- All measurements in one calculation use the same unit; the answer is also given in other units.
- Measurements up to 10¹⁵.