Find the distance around any shape — rectangle, square, triangle, circle, parallelogram, rhombus, trapezoid, regular polygon, or ellipse. Pick a shape, type the measurements, and the perimeter updates instantly with every step shown.
Double the sum of the length and width.
Perimeter is the total distance around the outside of a flat shape — walk the boundary once and measure how far you went. For any shape with straight sides you simply add the sides up; for a circle the same idea is called the circumference. Because it is a length, perimeter is always in linear units, never square units.
Three moves cover every shape on this page, from a square to a 12-sided polygon.
Decide what you have — a rectangle, a circle, a regular polygon — and label the measurements you know, such as length l, width w, or radius r.
Equal sides let you multiply instead of adding one by one. A rectangle doubles the sum of two sides; a regular polygon multiplies one side by the side count.
Plug the numbers in, do the arithmetic, and keep the unit. The result is the distance once around the shape.
The same routine — formula, substitute, evaluate — applied to five common shapes. Switch tabs to compare.
The complete set this calculator supports. Each one is just a faster way to add the sides.
| Shape | Formula | In words |
|---|---|---|
| Rectangle | P = 2(l + w) | Double the sum of the length and width. |
| Square | P = 4a | Four equal sides, so four times one side. |
| Triangle | P = a + b + c | Add the three side lengths. |
| Circle | C = 2πr | A circle's perimeter is its circumference. |
| Parallelogram | P = 2(a + b) | Opposite sides are equal, so double their sum. |
| Rhombus | P = 4a | All four sides are equal, just like a square. |
| Trapezoid | P = a + b + c + d | Add all four sides — none need be equal. |
| Regular polygon | P = n × s | Equal sides, so the side count times one side. |
| Ellipse | P ≈ π(a + b)·… | No exact formula — Ramanujan's gives a tight estimate. |
A live lookup for the searches people actually type — “perimeter of a 10 by 12 rectangle”, “perimeter of a square with side 8”. Edit the rows to match your numbers.
| l \ w | 3 | 4 | 5 | 6 |
|---|---|---|---|---|
| 4 | 14 | 16 | 18 | 20 |
| 5 | 16 | 18 | 20 | 22 |
| 6 | 18 | 20 | 22 | 24 |
| 8 | 22 | 24 | 26 | 28 |
| 10 | 26 | 28 | 30 | 32 |
| 12 | 30 | 32 | 34 | 36 |
Each cell is the perimeter of an l × w rectangle: P = 2(l + w).
A handful of facts that clear up most perimeter confusion.
Perimeter is the quiet measurement behind anything you have to go around or wrap.
Most errors are not arithmetic — they are mixing up what perimeter is.

Slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept. This guide shows how to find the equation from a graph, two points, or a point and slope, graph it, and convert standard form.

The volume of a cylinder is V = πr²h, where r is the radius of the circular base, h is the height, and π ≈ 3.14159. This guide shows why the formula works, walks through a full numerical example, and covers diameter inputs and unit conversions.

The distance between two points is d = √((x₂−x₁)² + (y₂−y₁)²). It comes straight from the Pythagorean theorem: the horizontal and vertical gaps between the points are the two legs of a right triangle, and the distance is the hypotenuse.