PLANE GEOMETRY

Perimeter Calculator

Find the distance around common 2D shapes. Choose a shape, enter its side lengths, and see the perimeter formula worked out.

INPUTS

Enter your measurements

Four equal sides and four right angles.

Measurements Enter the dimensions for the selected shape

All lengths must use the same unit; the answer keeps that unit.

Press Enter to calculate

YOUR ANSWER

Your result will appear here

Enter the dimensions above to calculate the perimeter.

What is perimeter?

Perimeter is the total distance around a two-dimensional shape. Add the lengths of every outside edge; for a circle, the corresponding boundary measure is called circumference. Perimeter uses linear units such as cm, m, or ft, not square units.

Perimeter formulas for common shapes

Square
P=4sP=4s

Four equal sides and four right angles.

Rectangle
P=2(l+w)P=2(l+w)

Add the four sides, or double the sum of length and width.

Circle circumference
C=2πrC=2\pi r

Circumference is the distance around a circle.

Triangle
P=a+b+cP=a+b+c

The sum of the three side lengths; the sides must satisfy the triangle inequality.

Parallelogram
P=2(a+b)P=2(a+b)

Opposite sides have equal lengths.

Trapezoid
P=a+b+c+dP=a+b+c+d

Enter both parallel bases and both non-parallel legs.

Rhombus
P=4sP=4s

All four sides have the same length.

Regular polygon
P=nsP=ns

All sides have equal length; enter the side length and number of sides.

How to use this perimeter calculator

  1. Select the shape that matches your problem.
  2. Enter each required measurement and check that all lengths use the same unit.
  3. Choose the length unit, then select Calculate perimeter.
  4. Read the highlighted answer, inspect the white diagram, and expand the worked steps if you want to see how the formula was applied.

Worked example: triangle perimeter

For a triangle with sides 5 cm, 6 cm, and 7 cm, add the three boundary lengths: P = 5 + 6 + 7 = 18 cm. The triangle inequality is satisfied because each pair sums to more than the remaining side.

Frequently asked questions

What is the difference between perimeter and area?

Area is the surface enclosed inside a shape and uses square units. Perimeter is the length around its boundary and uses ordinary length units.

Does a circle have a perimeter?

Yes. The perimeter of a circle is called its circumference, calculated with C = 2πr or C = πd.

Can I mix measurement units?

Convert every input to the same unit before calculating. For example, do not combine a base in centimeters with a height in meters unless you convert one first.

Related geometry calculators