CalcMathic

Geometry

Area and perimeter formulas for common shapes

Illustration for area and perimeter formulas

Perimeter is the distance around the outside of a shape. Area is the amount of flat space inside it. Perimeter is measured in ordinary length units such as feet or centimeters. Area is measured in square units such as square feet or square centimeters, because it counts how many unit squares fit inside. Mixing the two up is the most common error in this topic, so always say which one a question wants before you start.

The main formulas

ShapeAreaPerimeter
Square, side ss²4s
Rectangle, length l and width wl × w2(l + w)
Triangle, base b and height h½ × b × hsum of the three sides
Parallelogram, base b and height hb × h2(a + b) for sides a and b
Trapezoid, parallel sides a and b, height h½ × (a + b) × hsum of the four sides
Circle, radius rπr²2πr, called the circumference

Rectangles and squares

A room measures 12 feet by 15 feet. Its area is 12 × 15 = 180 square feet. Its perimeter is 2 × (12 + 15) = 54 feet, which is how much baseboard you would need around the walls, ignoring doorways.

For a square with sides of 9 meters, the area is 9² = 81 square meters and the perimeter is 4 × 9 = 36 meters.

Triangles

A triangle is half of a rectangle with the same base and height, which is where the half in the formula comes from. The height is the straight-up distance from the base to the opposite corner, not the length of a slanted side.

A triangle has a base of 10 cm and a height of 6 cm. Its area is ½ × 10 × 6 = 30 square centimeters. If the two sloping sides are each 7.8 cm long, the perimeter is about 10 + 7.8 + 7.8 = 25.6 cm, but the slanted sides are never used in the area.

For a right triangle, the two legs serve as the base and height. A triangle with legs 6 and 8 has area ½ × 6 × 8 = 24, and its hypotenuse is 10 by the Pythagorean theorem, so the perimeter is 6 + 8 + 10 = 24.

Parallelograms and trapezoids

A parallelogram can be cut and rearranged into a rectangle, so its area is base times perpendicular height. A parallelogram with base 9 and height 4 has area 36. As with triangles, the slanted side does not belong in the area formula.

A trapezoid has one pair of parallel sides. Take the average of those two sides and multiply by the height. With parallel sides of 8 and 12 and a height of 5, the area is ½ × (8 + 12) × 5 = ½ × 20 × 5 = 50.

Circles

Two measurements matter: the radius r, from the center to the edge, and the diameter d, which is twice the radius. Pi, or π, is about 3.14159.

Radius 7. Area = π × 7² = 49π, which is about 153.94 square units. Circumference = 2 × π × 7 = 14π, about 43.98 units.

Diameter 10. The radius is 5, so the area is 25π, about 78.54, and the circumference is 10π, about 31.42.

If you are given the diameter, halve it before squaring. Squaring the diameter gives an area four times too large. For more, use the circle calculator, which moves between radius, diameter, area and circumference.

On the CalcMathic calculator, use the π key: type 7 × 7 × π and press = to get 153.9380400.

Composite shapes

For an L-shape or any shape made of simple pieces, split it up, find each area, then add. Or find the large outer shape and subtract the part that is missing.

An L-shaped patio is a 10 m by 8 m rectangle with a 4 m by 3 m corner removed. The area is 10 × 8 - 4 × 3 = 80 - 12 = 68 square meters.

A running track shape is a rectangle with a semicircle on each end. Together the two semicircles make a full circle, so add the rectangle's area to the circle's.

Converting units of area

This is where people slip. One yard is 3 feet, but one square yard is 3 × 3 = 9 square feet, not 3. For the 180 square foot room above, 180 ÷ 9 = 20 square yards. In the same way, 1 square meter is 100 × 100 = 10,000 square centimeters.

Length conversionArea conversion
1 yard = 3 feet1 square yard = 9 square feet
1 foot = 12 inches1 square foot = 144 square inches
1 meter = 100 centimeters1 square meter = 10,000 square centimeters

Practical examples

  • Flooring. A room with 180 square feet needs more than 180 to allow for cuts and waste. Adding 10% gives 180 × 1.1 = 198 square feet to buy.
  • Paint. Find each wall's area, add them, then subtract windows and doors.
  • Fencing. Fencing is a perimeter question. A garden 20 feet by 12 feet needs 2 × (20 + 12) = 64 feet of fence.

Perimeter versus area: a surprise

Two rectangles can have the same perimeter but different areas. A 6 by 6 square and a 2 by 10 rectangle both have a perimeter of 24, but their areas are 36 and 20. For a fixed perimeter, the square gives the most area. This is why fencing in a square pen gives the most room for the fence you have.

Common mistakes

  • Forgetting the half in the triangle and trapezoid formulas.
  • Using a slanted side instead of the perpendicular height.
  • Writing the answer in plain units when it should be square units.
  • Using the diameter in place of the radius in the circle formula.
  • Converting area with the length factor instead of its square.

The area calculator covers all the shapes in the table and prints each step, so you can see where a formula was applied.

Read next