Skip to content
One hour with George, then a written plan the next working day. Book yours.

Triangle area and composite shapes

Perimeter is the distance around a shape, and area is the flat space inside it. For a triangle, use half of base times height whenever you know a side and the height that meets it at a right angle. Use half of two sides times the sine of the angle between them when you know an angle, and Heron's formula when you know all three sides. For a composite shape, cut it into pieces you know or subtract a piece from a shape you know.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
Which triangle area formula to use, with one worked case each
What you knowFormulaWorked caseArea
A base and its heighthalf of base times heightbase 10, height 735
Two sides and the angle between themhalf of a times b times sin Csides 8 and 11, angle 30 degrees22
All three sidesHeron: s = (a + b + c) / 2, then the square root of s(s - a)(s - b)(s - c)sides 13, 14 and 1584
It is equilateral(square root of 3 over 4) times side squaredside 69 times the square root of 3, about 15.6
It is a right trianglehalf of one leg times the otherlegs 5 and 1230
The coordinates of the three cornershalf of the absolute value of x1(y2 - y3) + x2(y3 - y1) + x3(y1 - y2)(1, 1), (9, 1), (5, 7)24

The 13, 14, 15 triangle has a height of 12 on its 14 side, and half of 14 times 12 is also 84, which confirms the Heron result.

Our own worked cases, computed by hand and checked a second way

What do perimeter and area measure?

Perimeter is a length, so it is written in plain units such as feet or meters, and you find it by adding every side of the shape. Area counts squares, so it is written in square units, such as square feet or square meters. A polygon is a flat shape closed by straight sides with no gaps and no curves. A regular polygon has equal sides and equal angles, and anything else is irregular.

Convert units before you calculate, not after. A rectangle that is 3 feet by 18 inches should be turned into 3 feet by 1.5 feet, or 36 inches by 18 inches, before you multiply, and the answer then takes the matching square unit.

How is the perimeter of a triangle or polygon worked out?

Add up every side. The formulas are shortcuts for shapes whose sides repeat.

How is the perimeter of a triangle or polygon worked out?
ShapePerimeterArea
Any trianglea + b + chalf of base times height
Square, side s4ss squared
Rectangle, length l and width w2l + 2wl times w
Parallelogram, sides a and b, height h on side a2a + 2ba times h
Rhombus, side s, diagonals d1 and d24shalf of d1 times d2
Trapezoid, parallel sides b1 and b2, height hall four sides addedhalf of (b1 + b2) times h
Regular polygon, n sides of length s, apothem an times shalf of the perimeter times a

Triangles are named by their sides as equilateral (three equal), isosceles (two equal) or scalene (none equal), and by their angles as acute, right or obtuse. Whatever the type, you add the three sides, and only an equilateral triangle lets you multiply one side by 3. An isosceles triangle needs one more fact than you may expect: when a problem gives the base and one leg, the other leg is the same length. A base of 18 centimeters and a leg of 25 gives a perimeter of 18 + 25 + 25, which is 68 centimeters.

A rectangle needs only two lengths, since opposite sides match. A pasture 120 meters by 80 meters has perimeter 2 times 120 plus 2 times 80, which is 400 meters, and at 5 dollars a meter the fence costs 2,000 dollars. An irregular polygon has no shortcut. Walk around it and add every side, taking care to find any side the figure does not label.

Algebra enters when the sides are written as expressions. Suppose a triangle has sides of (2x + 1), (3x - 2) and (4x + 3) and a perimeter of 47. Adding gives 9x + 2 = 47, so x = 5 and the sides are 11, 13 and 23. Check them by adding: 11 + 13 + 23 is 47.

What is the base times height formula, and why does it work?

Half of the base times the height gives a triangle's area, because a triangle is half of a rectangle or parallelogram built on the same base and height. For a right triangle the picture is direct: two copies fit together into a rectangle. For any other triangle, the height drawn to the base splits it into two right triangles, and each is half of its own rectangle, so the halves add to half of the whole.

Measure the height straight across from the base, square to it. A slanted side does not count. In an obtuse triangle the height falls outside the triangle, on the line that extends the base, and the formula still holds.

You can pick any side as the base, and a triangle has three bases and three heights that give the same area. Take the triangle with corners (0, 0), (6, 0) and (2, 5). Use the bottom side as the base, which is 6, and the height is 5, so the area is half of 6 times 5, which is 15. Any triangle on that same base whose third corner sits at a height of 5 has area 15, because the height is what counts.

A right triangle has the easiest case, since its two legs already meet at a right angle and act as a base and a height. When a figure gives the hypotenuse and one leg, find the other leg with the Pythagorean theorem and then take half of the product of the legs. A side that is only the slanted hypotenuse is never the height.

When do you use the sine formula or Heron's formula?

Use the sine formula when a problem gives a pair of sides with the angle that sits between them, and Heron's formula when it gives three sides and no height. The sine formula comes from the base times height rule. If the sides are a and b with angle C between them, the height on side a is b times sin C, so the area is half of a times b times sin C.

The formula has three equal versions, half of ab sin C, half of bc sin A and half of ac sin B. Each one pairs two sides with the angle that sits between them. Check your calculator is set to degrees. A quick reasonableness check is that no angle has a sine above 1, so the area can never be more than half of the product of the two sides, and it reaches that limit only at a right angle.

Take sides 8 and 11 with 30 degrees between them. Since sin 30 degrees is one half, the area is half of 8 times 11 times one half, which is 22.

For Heron's formula, first find s, half of the perimeter. For the sides 13, 14 and 15, s is 21. Then s minus each side gives 8, 7 and 6, and the product 21 times 8 times 7 times 6 is 7056. The square root of 7056 is 84. As a check, the height on the 14 side is 12, and half of 14 times 12 is also 84.

If the angle is not between the two sides you know, find the missing side or angle first, or the formula will give a wrong answer.

When the corners are given as coordinates, the shoelace expression in the first table works too. For (1, 1), (9, 1) and (5, 7) it gives half of the absolute value of 1 times (1 - 7), plus 9 times (7 - 1), plus 5 times (1 - 1), which is half of the absolute value of -6 + 54 + 0, or 24, the same as base 8 times height 6, halved.

What are the shortcuts for equilateral and right triangles?

An equilateral triangle with side s has area (square root of 3 over 4) times s squared. This comes from its height, which is the square root of 3 over 2 times s. You can reach the height without memorizing it: the height cuts the triangle into two right triangles with a hypotenuse of s and a short leg of s over 2, so the Pythagorean theorem gives the height. For s = 6 the height is 3 times the square root of 3, so the area is half of 6 times 3 times the square root of 3, which is 9 times the square root of 3, about 15.6.

For a right triangle the legs are already a base and a height, so the area is half of their product. The legs 5 and 12 give 30, and the hypotenuse of 13 is not needed. When a 45 degree right triangle has two legs that are each L long, its area is L squared over 2.

How is a regular polygon's area found?

Use the apothem, which is the perpendicular distance from the center of the polygon to the middle of a side. A regular shape with n sides splits into n equal triangles that meet at the center, and each triangle has a base of s and a height equal to the apothem. Adding them gives half of n times s times the apothem, which is half of the perimeter times the apothem.

For a regular hexagon with side 10, the six triangles are equilateral, so the apothem is 5 times the square root of 3, about 8.66. The perimeter is 60, so the area is half of 60 times 5 times the square root of 3, which is 150 times the square root of 3, about 259.8. An irregular polygon has no apothem. Cut it into triangles or rectangles, find each area and add.

How is the area of a composite shape found?

Pick whichever of cutting or subtracting leaves only shapes you already know. Cutting splits the figure into pieces and adds their areas. Subtracting starts from a larger shape you know and removes a piece.

Here is one shape done both ways. Start with a rectangle 14 wide and 10 tall and cut off its top right corner along a slanted line, so the removed triangle has legs of 6 and 8. The slanted side is 10 long, because 6 and 8 are two legs of a 6, 8, 10 right triangle.

How is the area of a composite shape found?
MethodWorkArea
Subtractrectangle 14 times 10 = 140, minus the triangle half of 6 times 8 = 24116
Cutrectangle 8 wide and 10 tall = 80, plus a trapezoid 6 wide with parallel sides of 10 and 2, half of (10 + 2) times 6 = 36116

Both give 116. For the perimeter, walk around the shape: the bottom is 14, the short right side is 2, the slanted side is 10, the top is 8 and the left side is 10. The total is 44. The perimeter has to be added side by side, because the cut changes the sides.

Word problems are composite shapes in disguise. A 12 foot by 9 foot floor has an area of 108 square feet, which is 15,552 square inches. A square tile that is 6 inches on a side covers 36 square inches, so the floor takes 432 tiles. A lawn 30 meters by 20 meters with a pool of 6 by 4 in the middle has a grass area of 600 minus 24, which is 576 square meters. When a problem mixes feet and inches, change one of them first.

Which formulas does an exam give you?

The exam owner decides which formulas it prints for you, and that can change, so check the test maker's current instructions before you leave a formula out of your own notes. We do not list them here.

Original problems

Try these before you read the answers.

  1. A triangle has a base of 18 and a height of 7.5. Find its area. Answer: half of 18 times 7.5 is 67.5.
  2. A triangle has corners (1, 1), (9, 1) and (5, 7). Find its area. Answer: the base from (1, 1) to (9, 1) is 8 and the height is 6, so the area is 24.
  3. A triangle has sides 7, 24 and 25. Find its area two ways. Answer: 7 squared plus 24 squared is 625, which is 25 squared, so it is a right triangle and the area is half of 7 times 24, which is 84. Heron gives s = 28, and 28 times 21 times 4 times 3 is 7056, whose square root is 84.
  4. An equilateral triangle has side 10. Find its area. Answer: (square root of 3 over 4) times 100 is 25 times the square root of 3, about 43.3.
  5. Two sides of a triangle are 9 and 12, and the angle they enclose is 150 degrees. What is its area? Answer: half of 9 times 12 times sin 150 degrees, and sin 150 degrees is one half, so the area is 27.
  6. A trapezoid has an area of 150 square units, a height of 10 and one parallel side of 12. Find the other parallel side. Answer: half of (12 + b) times 10 is 150, so 12 + b = 30 and b = 18.
  7. Two sides of a triangle are 10 and 7, and the angle they enclose is 30 degrees. What is its area? Answer: half of 10 times 7 times one half is 17.5.

If you are preparing for a math section, you can try more questions in our original math practice set, and the math tutoring page describes SAT® and ACT® exam prep sessions. The study planner can set the weeks.

Common questions

Which formula gives a triangle's area?

Half of the base times the height, where the height meets the base at a right angle. When a pair of sides and the angle that sits between them are given, use half of a times b times the sine of the angle. When all three sides are given, use Heron's formula.

Does the height have to be inside the triangle?

No. In an obtuse triangle the height falls outside, on the line that extends the base. The area formula still works.

How do you work out a polygon's perimeter?

Add the lengths of every side. A regular shape with n sides of length s has perimeter n times s, and a rectangle has 2 times its length plus 2 times its width.

How do you handle a composite shape?

Cut it into rectangles, triangles and trapezoids and add, or subtract a piece from a larger shape. Choose whichever method leaves only shapes whose area you know.

Do I need Heron's formula?

Only when you know three sides and cannot find a height easily. Many such triangles are right triangles in disguise, so test for a Pythagorean triple first, as in problem 3.

Sources