What is perimeter?
The perimeter is the total length of the edges around a flat shape, in ordinary length units (feet, not square feet). It is how much fencing a yard needs or how much trim goes around a window. A circle’s perimeter has its own name: the circumference.
Source OpenStax · Contemporary Mathematics, 10.4 Polygons, Perimeter, and Circumference ↗
How to calculate perimeter
Here it is with your numbers:
- P = 2 × 8 + 2 × 5
- P = 16 + 10
- P = 26 ft
It means a string 26 ft long would go exactly once around the rectangle.
Three sides make a triangle only if the longest is shorter than the other two together; four sides only meet if the longest is shorter than the other three. The calculator tells you if yours can’t. A triangle’s area comes from its three sides by Heron’s formula; a parallelogram or a four-sided shape needs a height or an angle as well.
Source OpenStax · Algebra and Trigonometry 2e, 10.2 Non-right Triangles: Law of Cosines (Heron’s formula) ↗
Perimeter formulas
| Shape | Perimeter |
|---|---|
| Rectangle | 2 × length + 2 × width |
| Square | 4 × side |
| Triangle | a + b + c |
| Circle | 2πr (the circumference) |
| Parallelogram | 2 × (a + b) |
| Any polygon | add up all the sides |
| Regular polygon (n equal sides) | n × side |
Other units use exact conversions: 1 foot is 12 inches, 1 yard is 3 feet and 1 inch is 2.54 centimeters.
Source NIST Handbook 44 (2026) · Appendix C, General Tables of Units of Measurement ↗
FAQs
How do you calculate perimeter?
Add up the lengths of all the sides. For a rectangle that is 2 × length + 2 × width; for a circle, the perimeter is the circumference, 2πr.
Source OpenStax · Contemporary Mathematics, 10.4 Polygons, Perimeter, and Circumference ↗
What is the perimeter of 8 and 5?
A rectangle 8 by 5 has a perimeter of 2 × 8 + 2 × 5, which is 26 (in whatever unit the sides are in). Its area is 8 × 5, which is 40.
How to calculate area and perimeter?
The perimeter adds the sides; the area multiplies for a rectangle (length × width, in square units). A rectangle 8 ft by 5 ft has a perimeter of 26 ft and an area of 40 ft².
How do I convert square feet to perimeter?
You can’t from the area alone: shapes with the same area can have different perimeters. 36 square feet is a 6 × 6 square (24 ft around) or a 12 × 3 rectangle (30 ft around). You need the side lengths.
Sources
- OpenStax: Contemporary Mathematics, 10.4 Polygons, Perimeter, and Circumference
- OpenStax: Algebra and Trigonometry 2e, 10.2 Non-right Triangles: Law of Cosines (Heron’s formula)
- NIST Handbook 44 (2026): Appendix C, General Tables of Units of Measurement