Geometry guide
Area and Perimeter
Every formula you need for squares, rectangles, triangles, circles and more, plus composite shapes, units, and real projects like flooring, fencing and painting.
Quick answer
Perimeter is the distance around a shape, and area is the space inside it. For a rectangle, perimeter = 2 × (length + width) and area = length × width, so a 12 by 8 rectangle has a perimeter of 40 and an area of 96. Perimeter is measured in units like feet or meters; area is measured in square units like square feet (ft²) or square meters (m²).
What Is the Difference Between Area and Perimeter?
Picture a garden. The perimeter is the length of fence you need to go all the way around it. The area is the amount of ground inside, the space you would cover with grass seed. Perimeter is a length, so it uses ordinary units. Area counts how many unit squares fit inside, so it uses square units.
| Perimeter | Area | |
|---|---|---|
| Measures | The distance around the edge | The surface inside |
| Units | ft, m, cm, in | ft², m², cm², in² |
| Real-life use | Fencing, trim, borders, frames | Flooring, paint, carpet, grass |
| 12 by 8 rectangle | 40 units | 96 square units |
Two shapes can have the same perimeter but very different areas. With 24 meters of fence, a 6 by 6 square pen encloses 36 m², while a 10 by 2 pen encloses only 20 m². For a fixed perimeter, the closer a rectangle is to a square, the more area it holds.
Area and Perimeter Formulas for Every Shape
| Shape | Perimeter | Area |
|---|---|---|
| Square (side s) | P = 4s | A = s2 |
| Rectangle (length l, width w) | P = 2(l + w) | A = l × w |
| Triangle (sides a, b, c; base b, height h) | P = a + b + c | A = ½ × b × h |
| Parallelogram (base b, side a, height h) | P = 2(a + b) | A = b × h |
| Trapezoid (parallel sides a, b; height h) | Add all four sides | A = ½ × (a + b) × h |
| Rhombus (side s; diagonals d1, d2) | P = 4s | A = ½ × d1 × d2 |
| Circle (radius r) | C = 2πr | A = πr2 |
| Semicircle (radius r) | P = πr + 2r | A = ½πr2 |
The height in every formula is the perpendicular height, measured at a right angle to the base, not the length of a slanted side. Mixing those up is the most common mistake with triangles and parallelograms.
Rectangles and Squares
Rectangle: a room 12 feet long and 8 feet wide has a perimeter of 2 × (12 + 8) = 40 ft and an area of 12 × 8 = 96 ft².
Square: a square with 6 cm sides has a perimeter of 4 × 6 = 24 cm and an area of 62 = 36 cm².
Working backward: if a rectangle has an area of 96 and a length of 12, the width is 96 ÷ 12 = 8. If you know the perimeter instead, say 40 with a length of 12, the width is (40 − 2 × 12) ÷ 2 = 8. Measurements with fractions, such as a 2½ by 4 foot board, work the same way: the area is 10 ft² and the perimeter is 13 ft. The fraction calculator helps when the sides are mixed numbers.
Triangles
A triangle is half of a rectangle with the same base and height, which is why its area is ½ × base × height. A triangle with a base of 10 m and a height of 6 m has an area of ½ × 10 × 6 = 30 m².
The perimeter is simply the three sides added: a triangle with sides 3, 4 and 5 has a perimeter of 12. That one is a right triangle, so its two short sides are the base and height, and its area is ½ × 3 × 4 = 6.
Heron’s Formula: Area From Three Sides
When you know all three sides but not the height, use Heron’s formula. First find the semi-perimeter s = (a + b + c) ÷ 2, then area = √(s(s − a)(s − b)(s − c)). For sides 7, 8 and 9, s = 12, so the area is √(12 × 5 × 4 × 3) = √720 ≈ 26.83. The square roots and powers here follow the rules on the basic algebra formulas cheat sheet.
Parallelograms, Trapezoids and Rhombuses
Parallelogram: slide the slanted triangle from one end to the other and it becomes a rectangle, so area = base × height. With a base of 9, slanted sides of 6 and a height of 5, the area is 9 × 5 = 45 and the perimeter is 2 × (9 + 6) = 30.
Trapezoid: average the two parallel sides, then multiply by the height. With parallel sides 8 and 14 and a height of 5, the area is ½ × (8 + 14) × 5 = 55.
Rhombus: with diagonals of 10 and 8, the area is ½ × 10 × 8 = 40. The diagonals cross at right angles and cut each other in half, so each side is √(52 + 42) = √41 ≈ 6.40, and the perimeter is about 25.61.
Circles: Circumference and Area
The perimeter of a circle is called its circumference: C = 2πr, or πd using the diameter. The area is A = πr2. Here π is about 3.14159; some classes use 3.14 or 22/7.
Example: a circle with a radius of 7 cm has a circumference of 2 × π × 7 ≈ 43.98 cm and an area of π × 72 ≈ 153.94 cm². With π = 22/7 the answers come out to exactly 44 cm and 154 cm², which is why textbooks love a radius of 7.
Semicircle: half the area, but the perimeter needs the straight edge too. For a radius of 4, the area is ½ × π × 16 ≈ 25.13, and the perimeter is the curved part π × 4 plus the diameter 8, about 20.57.
Watch for diameter versus radius. If a question gives a diameter of 10, the radius is 5, and the area is π × 25, not π × 100.
Composite Shapes
Real floors and gardens are rarely simple rectangles. Split the shape into pieces you know, or take a bigger shape and subtract what is missing.
Example: an L-shaped room. Picture a 10 by 8 rectangle with a 4 by 3 corner cut out. The area is the full rectangle minus the corner: 80 − 12 = 68 square units.
The perimeter is a nice surprise. Cutting a rectangular corner out moves two edges inward but keeps their total length, so the perimeter is the same as the full rectangle: 2 × (10 + 8) = 36. Always add every outside edge to check, and never add the inside edges where the pieces meet. Working in steps like this follows the order of operations: multiply each piece first, then add or subtract.
Units and Conversions
Always use the same unit for every side before you calculate, then give perimeter in units and area in square units. Converting area is where people slip: because area has two dimensions, you convert twice.
| Length | Area |
|---|---|
| 1 ft = 12 in | 1 ft² = 144 in² |
| 1 yd = 3 ft | 1 yd² = 9 ft² |
| 1 m = 100 cm | 1 m² = 10,000 cm² |
| 1 m ≈ 3.28 ft | 1 m² ≈ 10.76 ft² |
Scaling works the same way. Doubling every side of a shape doubles its perimeter but multiplies its area by 4: a 3 by 4 rectangle has an area of 12, while a 6 by 8 rectangle has an area of 48.
Area and Perimeter in Real Projects
Flooring: a 12 by 15 foot room needs 180 ft² of flooring. Installers usually add about 10% for cuts and waste, so buy 180 × 1.10 = 198 ft². The percentage calculator works out any waste allowance in one step.
Paint: a 12 by 10 foot room with 8-foot walls has a wall perimeter of 44 ft, so the walls cover 44 × 8 = 352 ft². Subtract a 3 by 7 door (21 ft²) and two 3 by 5 windows (30 ft²) to get 301 ft². Two coats need 602 ft² of coverage. Many paints cover roughly 350 to 400 ft² per gallon, so check the label; at 350 ft² per gallon you would need about 1.7, so buy 2 gallons.
Fencing and trim: fencing a 30 by 20 foot yard takes 2 × (30 + 20) = 100 feet, minus the width of any gate. Baseboard trim works the same way: measure the room’s perimeter and subtract the doorways. For quick estimates in a store, the rounding tricks in mental math tricks come in handy.
Common Mistakes
| Mistake | What goes wrong | Do this instead |
|---|---|---|
| Using the slanted side as the height | Parallelogram area worked as 9 × 6 = 54 | Use the perpendicular height: 9 × 5 = 45 |
| Forgetting the ½ for triangles | A 10 by 6 triangle given as 60 | ½ × 10 × 6 = 30 |
| Using the diameter as the radius | Area of a 10 cm diameter circle worked as π × 100 | Radius = 5, so area = π × 25 ≈ 78.54 cm² |
| Wrong units | Writing an area as 96 ft | Area is in square units: 96 ft² |
| Converting area like length | 1 yd² called 3 ft² | Convert both dimensions: 1 yd² = 9 ft² |
Practice Problems With Answers
Work out each one, then check the answer. Use π ≈ 3.14159.
- A square has 9 cm sides. Find its perimeter and area. Answer: 36 cm and 81 cm².
- A rectangle is 2½ ft by 4 ft. Find its area and perimeter. Answer: 10 ft² and 13 ft.
- A triangle has a base of 12 and a height of 5. Find its area. Answer: 30 square units.
- A circle has a radius of 5 cm. Find its circumference and area. Answer: about 31.42 cm and 78.54 cm².
- A trapezoid has parallel sides of 8 and 14 and a height of 5. Find its area. Answer: 55 square units.
- A rectangle has an area of 96 and a length of 12. Find its width and perimeter. Answer: width 8, perimeter 40.
- Find the area and perimeter of a semicircle with radius 4. Answer: about 25.13 and 20.57.
- A 12 by 15 ft room needs flooring with 10% extra for waste. How much should you buy? Answer: 198 ft².
Frequently Asked Questions
What is the formula for the area and perimeter of a rectangle?
Area = length × width, and perimeter = 2 × (length + width). A 12 by 8 rectangle has an area of 96 square units and a perimeter of 40 units.
What is the difference between area and perimeter?
Perimeter is the distance around a shape, measured in units like feet. Area is the space inside, measured in square units like square feet. Fencing uses perimeter; flooring uses area.
How do you find the area of a triangle?
Multiply the base by the perpendicular height and divide by 2. A triangle with a base of 10 and a height of 6 has an area of 30. If you only know the three sides, use Heron’s formula.
What is the perimeter of a circle called?
The circumference. It is 2πr, or π times the diameter. A circle with a radius of 7 cm has a circumference of about 43.98 cm.
Can two shapes have the same perimeter but different areas?
Yes. A 6 by 6 square and a 10 by 2 rectangle both have a perimeter of 24, but their areas are 36 and 20. For a fixed perimeter, a square gives the largest area of any rectangle.
How do you find the area of an irregular shape?
Split it into rectangles, triangles and circles, find each area, and add them. Or start with a larger simple shape and subtract the parts that are missing, like 80 − 12 = 68 for an L-shaped room.
How many square feet are in a square meter?
About 10.76. Because area has two dimensions, you square the length conversion: 1 m ≈ 3.28 ft, and 3.28 × 3.28 ≈ 10.76.
Key Takeaways
- Perimeter is the distance around; area is the space inside, in square units.
- Rectangle: P = 2(l + w), A = l × w. Triangle: A = ½ × b × h. Circle: C = 2πr, A = πr².
- Always use the perpendicular height, and halve the diameter to get the radius.
- Break composite shapes into simple pieces, or subtract the missing part.
- Convert area units twice: 1 yd² = 9 ft², and 1 m² ≈ 10.76 ft².
Further reading: Monash University: Perimeter and Area and California State University, Northridge: Perimeter and Area.