Updated on April 23rd, 2026

Perimeter Calculator

Created By Jehan Wadia

Select a Shape
Switch to Dropdown View
Quick Pick Presets
Enter Dimensions
Shape Diagram
Results
Perimeter
Formula Used
Step-by-Step Calculation
Unit Conversions
UnitValue
Did You Know?
Side Lengths Breakdown

Introduction

The perimeter is the total distance around the outside of a shape. Think of it like walking along the edge of a park — the perimeter is how far you walk to get all the way around. To find the perimeter, you simply add up the lengths of all the sides. This perimeter calculator makes that process quick and easy. Just enter the side lengths of your shape, and it will give you the answer right away. Whether you're working with a triangle, rectangle, square, or any other polygon, this tool does the math for you in seconds.

How to Use Our Perimeter Calculator

Enter the shape you want to measure and its side lengths. The calculator will give you the total perimeter, which is the distance around the outside of the shape.

Shape: Pick the shape you want to find the perimeter of. You can choose from common shapes like a square, rectangle, triangle, circle, or other polygons.

Side Length(s): Type in the length of each side of your shape. For a square, you only need one side. For a rectangle, enter the length and width. For a triangle, enter all three sides. If you picked a circle, enter the radius or diameter instead.

Unit of Measurement: Choose the unit you are working with, such as inches, feet, centimeters, or meters. This helps make sure your answer is in the right unit.

What Is Perimeter?

The perimeter is the total distance around the outside of a flat shape. Think of it like walking along the edges of a soccer field — the total distance you walk is the perimeter. To find the perimeter, you simply add up the lengths of all the sides of a shape.

How to Calculate Perimeter for Common Shapes

Different shapes have different perimeter formulas, but they all follow the same basic idea: add the sides together.

  • Square: Since all four sides are equal, the formula is P = 4 × side.
  • Rectangle: A rectangle has two pairs of equal sides. The formula is P = 2 × (length + width). If you need to find the space inside the rectangle instead, try our Area of a Rectangle Calculator.
  • Triangle: Add all three sides together: P = side₁ + side₂ + side₃. For right triangles where you need to find a missing side first, our Right Triangle Calculator can help.
  • Circle: The perimeter of a circle is called the circumference. The formula is C = 2 × π × radius. You can also explore our Circle Area Calculator to find the space enclosed by a circle.

Why Is Perimeter Important?

Perimeter shows up everywhere in real life. If you want to build a fence around your yard, you need the perimeter — and you might also use our Square Footage Calculator to figure out how much material to buy. If you're putting a border around a picture frame, you need the perimeter. Builders, artists, and engineers all use perimeter calculations daily. For construction projects, tools like our Flooring Calculator or Tile Calculator pair well with perimeter measurements when planning a room layout.

Perimeter vs. Area

It's easy to mix up perimeter and area, but they measure very different things. Perimeter measures the distance around a shape, while area measures the space inside a shape. Perimeter is measured in units like feet or meters. Area is measured in square units like square feet or square meters. For area calculations of specific shapes, check out our Triangle Area Calculator, Trapezoid Area Calculator, or Area of a Parallelogram Calculator. For three-dimensional shapes, our Surface Area Calculator extends these concepts to 3D objects.

Quick Tips

  • Always make sure all side lengths use the same unit before adding them together.
  • For irregular shapes, measure each side individually and then add them all up.
  • Double-check your work — a small mistake in one side length changes the entire answer.
  • If you're working with a regular polygon like a hexagon or octagon, you can also explore our dedicated Hexagon Calculator or Octagon Calculator for additional properties like area and diagonals.
  • For problems involving arc lengths on circles and sectors, our Arc Length Calculator provides a focused tool for that specific measurement.
  • When you need to find the distance between two points to determine a side length, use coordinate geometry with our Slope Calculator or Midpoint Calculator for related calculations.

Frequently Asked Questions

What is the perimeter of a shape?

The perimeter is the total distance around the outside edge of a flat shape. You find it by adding up all the side lengths. For example, if a triangle has sides of 3, 4, and 5, the perimeter is 3 + 4 + 5 = 12.

What shapes does this perimeter calculator support?

This calculator supports 16 shapes: square, rectangle, triangle, circle, semicircle, circle sector, ellipse, parallelogram, trapezoid, rhombus, kite, general quadrilateral, regular polygon (any number of sides), regular octagon, annulus (ring), and custom polygons where you enter any list of side lengths.

How do I find the perimeter of a circle?

The perimeter of a circle is called the circumference. The formula is C = 2 × π × r, where r is the radius. Select "Circle" in the calculator, enter the radius, and it will compute the circumference for you.

What is the difference between circumference and perimeter?

They mean the same thing — the total distance around a shape. The word circumference is used specifically for circles, while perimeter is used for all shapes including circles.

Can I use different units in this calculator?

Yes. You can choose from millimeters, centimeters, meters, kilometers, inches, feet, yards, or miles. The calculator also shows your result converted into all other units in a conversion table.

What are the quick pick presets?

Quick pick presets are pre-filled examples for each shape. Click one and the calculator fills in sample dimensions and shows the result right away. They are a fast way to see how the calculator works or to start with common values.

How do I calculate the perimeter of an irregular polygon?

Select "Custom Sides" in the calculator. Then type in all the side lengths separated by commas. The calculator adds them all up to give you the total perimeter.

What formula is used for the ellipse perimeter?

The calculator uses Ramanujan's approximation: P ≈ π × [3(a + b) − √((3a + b)(a + 3b))], where a is the semi-major axis and b is the semi-minor axis. There is no simple exact formula for an ellipse, but this approximation is accurate to within about 0.04%.

What is the perimeter of a semicircle?

The perimeter of a semicircle includes the curved arc plus the straight diameter. The formula is P = πr + 2r, where r is the radius. The arc is half the full circumference, and the diameter closes off the flat side.

What does the triangle inequality mean?

The triangle inequality says that any one side of a triangle must be shorter than the sum of the other two sides. If this rule is broken, the sides cannot form a real triangle. The calculator checks this and shows an error if your sides are not valid.

How is the perimeter of an annulus (ring) calculated?

An annulus has two circular edges — an outer circle and an inner circle. The total perimeter is the sum of both circumferences: P = 2π(R + r), where R is the outer radius and r is the inner radius.

Can I see the step-by-step work for the calculation?

Yes. After you click "Calculate Perimeter," the calculator shows a step-by-step breakdown below the result. Each step shows the numbers plugged into the formula so you can follow the math.

What is a regular polygon?

A regular polygon is a shape where all sides are the same length and all angles are equal. Examples include equilateral triangles, squares, and regular hexagons. The perimeter formula is simply P = n × s, where n is the number of sides and s is the side length.

Do all my side lengths need to be in the same unit?

Yes. All side lengths must be in the same unit before you enter them. If one side is in inches and another is in feet, convert them to the same unit first. The calculator cannot mix different units in one calculation.

What does the bar chart show?

The bar chart shows the length of each side or segment of your shape. This helps you see which sides are longest and how each part contributes to the total perimeter.


Related Calculators

Midpoint Calculator

Visit Midpoint Calculator

Distance Calculator

Visit Distance Calculator

Right Triangle Calculator

Visit Right Triangle Calculator

Triangle Area Calculator

Visit Triangle Area Calculator

Circle Area Calculator

Visit Circle Area Calculator

Sphere Volume Calculator

Visit Sphere Volume Calculator

Cylinder Volume Calculator

Visit Cylinder Volume Calculator

Cone Volume Calculator

Visit Cone Volume Calculator

Hexagon Calculator

Visit Hexagon Calculator

Arc Length Calculator

Visit Arc Length Calculator

Law of Cosines Calculator

Visit Law of Cosines Calculator

Law of Sines Calculator

Visit Law of Sines Calculator

Area of a Rectangle Calculator

Visit Area of a Rectangle Calculator

Trapezoid Area Calculator

Visit Trapezoid Area Calculator

Area of a Parallelogram Calculator

Visit Area of a Parallelogram Calculator

Octagon Calculator

Visit Octagon Calculator

Surface Area Calculator

Visit Surface Area Calculator