Perimeter Calculator: Rectangles, Circles, and Missing Sides
One boundary total comes from every edge of a shape. Adding those edges gives the distance around it. This perimeter calculator turns side lengths into that distance.
A known boundary can work backward to a missing side. A claimed answer can be checked to see which method went wrong. Use this perimeter calculator when the question asks for distance around a shape.
Perimeter Calculator
Total the boundary, recover a missing side, or check a claim.
Using the Perimeter Calculator
This perimeter calculator opens on the rectangle mode most students need first.
Rectangle Perimeter
Enter length and width to get the perimeter and half perimeter.
Square and Triangle
Enter a square side, three triangle sides, or a regular polygon side count and side.
Circle Perimeter
Enter a radius or diameter to get the circle boundary length.
Missing Side From Perimeter
Enter a perimeter and the known values to recover the missing side.
Check My Answer
Enter length, width, and a claimed perimeter to test the method.
Worked Examples
| Starting values | Result | Other values |
|---|---|---|
| Length 12 and width 7 | Perimeter 38 | Half perimeter 19 |
| Square side 9 | Perimeter 36 | Four equal sides |
| Radius 7 | Perimeter 43.9823 | Diameter 14 |
| Perimeter 38 and length 12 | Missing side 7 | Rectangle |
| Claimed perimeter 84 | Correct perimeter 38 | Length 12 and width 7 |
Reading the Result
The result line gives the boundary length or side in length units.
What It Solves
This perimeter calculator solves one boundary at a time.
The outer edge total adds every side or curved boundary once.
Rectangle, square, triangle, circle, and regular polygon starts are inside this page.
A start that asks only for covered surface is outside this page.
How to Calculate
The perimeter calculator follows the five forms shown here.
The Five Forms
| Shape | Formula | Example result |
|---|---|---|
| Rectangle | 2 x (length + width) | 38 |
| Square | 4 x side | 36 |
| Triangle | side a + side b + side c | 18 |
| Circle | 2 x pi x radius | 43.9823 |
| Regular polygon | number of sides x side | 24 |
The doubled side sum gives 2 x (12 + 7) = 38 and keeps a length unit label on the result.
At radius 7, the circle boundary is 43.9823.
The half boundary step turns perimeter 38 and length 12 into width 7.
Rectangle Perimeter
In the perimeter calculator, both rectangle side pairs are counted.
Double the Side Sum
| Length | Width | Perimeter | Half perimeter |
|---|---|---|---|
| 12 | 7 | 38 | 19 |
| 9 | 5 | 28 | 14 |
| 15 | 4 | 38 | 19 |
| 8 | 6 | 28 | 14 |
The paired side count reads length 12 and width 7 as two lengths and two widths.
A four side walk gives 12 + 7 + 12 + 7 = 38.
Length 8 and width 6 give perimeter 28.
Square and Triangle
The perimeter calculator uses equal sides for a square and adds three sides for a triangle.
Equal Sides and Three Sides
| Shape | Starting values | Perimeter |
|---|---|---|
| Square | Side 9 | 36 |
| Square | Side 6 | 24 |
| Triangle | Sides 5, 6, and 7 | 18 |
| Triangle | Sides 3, 4, and 5 | 12 |
| Regular hexagon | Side 4 | 24 |
| Regular pentagon | Side 5 | 25 |
The equal side shortcut gives 4 x 9 = 36 for a square.
The three side total gives 5 + 6 + 7 = 18 for a triangle.
A regular hexagon with side 4 gives 6 x 4 = 24.
Circle Perimeter
The perimeter calculator reads a circle boundary from radius or diameter.
The curved boundary length at radius 7 is 43.9823.
The radius doubling check gives diameter 14 from radius 7.
Diameter 12 gives radius 6 and boundary 37.6991.
Units and Mixed Measures
The perimeter calculator keeps side units matched before it adds.
Convert Before Adding
A converted length pair turns 2 m and 50 cm into 2 m and 0.5000 m, so the perimeter is 5.0000 m.
The shared length basis turns 3 ft and 18 in into 3 ft and 1.5000 ft, so the perimeter is 9.0000 ft.
Using raw numbers through the rectangle form gives 104 and 42, which are not the converted perimeters.
Missing Side From Perimeter
The perimeter calculator runs the boundary form backward when a side is missing.
| Shape | Given values | Missing value |
|---|---|---|
| Rectangle | Perimeter 38 and length 12 | Width 7 |
| Rectangle | Perimeter 54 and length 10 | Width 17 |
| Square | Perimeter 36 | Side 9 |
| Triangle | Perimeter 30 and sides 8 and 10 | Side 12 |
| Regular polygon | Perimeter 42 and 7 sides | Side 6 |
| Circle | Perimeter 31.4159 | Radius 5.0000 |
The missing side recovery turns perimeter 38 and length 12 into width 7.
The known side subtraction uses 38 / 2 - 12 = 7.
Perimeter 54 with length 10 gives width 17.
Check a Claimed Answer
The perimeter calculator tests a claim against both side pairs and the unit label.
| Claim | Diagnosis | Correct value |
|---|---|---|
| 84 | Sides multiplied as an area product | 38 |
| 19 | One length and one width only | 38 |
| 24 | Two lengths only | 38 |
| 14 | Two widths only | 38 |
| 38 square units | Unit squared | 38 length units |
A claimed boundary value of 84 at length 12 and width 7 multiplies the sides instead of adding the boundary.
Each row gives the failed perimeter method beside the correct value.
Length 12 and width 7 give perimeter 38, so 84 cannot be the perimeter.
Perimeter and Area Contrast
The perimeter calculator keeps distance around separate from covered surface.
Around and Inside
Length 12 and width 7 give perimeter 38 in length units.
The product 12 x 7 = 84 belongs to covered surface, not to distance around.
A claim of 84 names the wrong measure for this page.
Readers who want the covered surface measure for a rectangle can open the rectangle area page for the inside measure.
Why Answers Can Differ
Two answers can differ when one answer converts mixed units and the other uses raw numbers.
For 2 m and 50 cm, the converted perimeter is 5.0000 m, while the raw rectangle form gives 104.
For radius 7, full pi gives 43.9823, while 3.14 gives 43.9600.
Questions Students Ask
A tennis court is 78 feet long and 27 feet wide. What is its perimeter?
The perimeter is 210 feet.
A rectangular frame has perimeter 56 inches and height 12 inches. What is its width?
The width is 16 inches.
A rectangular garden has perimeter 30 meters and length 10 meters. What is its width?
The width is 5 meters.
A square room has perimeter 120 feet. How long is each side?
Each side is 30 feet.
A triangle has sides 22, 11, and 20. What is its perimeter?
The perimeter is 53.
A regular hexagon has perimeter 72 feet. How long is one side?
One side is 12 feet.
Frequently Asked Questions
Final Thought
Match the units, walk every edge, and the perimeter calculator gives the boundary or the missing side. Convert mixed units before adding, since raw numbers in different units give a boundary that means nothing. For a circle, use full pi rather than a shortened value when precision matters. When a side is missing, work backward from the known boundary and check that the recovered side fits the shape. Keep perimeter separate from area in your mind, because one measures the distance around a shape and the other measures the space inside it.
