A triangle's area is the surface inside its three sides. Start with one side and its matching height: multiply them, then divide by two. The first example uses only these two measurements; other routes come afterward.

Before reaching for a formula, mark the known measurements on a sketch. The important skill is deciding which quantities belong together. A sloping edge, an altitude and an included angle are different kinds of information.

What are the base and height of a triangle?

Area counts how much flat surface the triangle covers, in square units such as cm². Choose one side as the base b. The matching height h, also called an altitude, is the 90° distance from the opposite corner to that base's straight line.

A 90° angle is a square corner. Measure straight toward the base line, not along a tilted side. On a rotated drawing, the base can be any selected side; the height must match that choice.

How do you calculate area from a base and height?

  1. Choose a base and its perpendicular height.
  2. Convert both lengths to the same unit.
  3. Multiply base × height, then divide by 2. Write the result in square units.
Triangle with a base of 12 centimeters and dashed perpendicular height of 7 centimetersbase = 12 cmh = 7 cmThe dashed lineis perpendicularto the base.
Use the perpendicular altitude, not the sloping side, as h. Drawing is illustrative, not to scale.

In the drawing, the base is 12 cm and its corresponding height is 7 cm. Multiplying gives the area of a 12-by-7 parallelogram; one triangle occupies half: A = 12 × 7/2 = 42 cm². The sloping edge does not have to be 7 cm.

You may select another side as the base, but then you must use the altitude to that new base. Keeping the old height after changing bases generally produces a different and incorrect answer. Base and height are a matched pair.

What changes for an obtuse triangle?

The altitude may land beyond the base segment. Extend the base's straight line and draw a perpendicular from the opposite vertex. A 6 m base and an external altitude of 4 m still give 12 m². The empty-looking space below the altitude does not need to be added or subtracted; the formula already describes the triangle.

Why the factor one half?

A congruent copy can be arranged with the original triangle to make a parallelogram. Their combined area is bh; each copy has area bh/2. This argument works for right, acute and obtuse triangles.

Which method fits the measurements you have?

Measurements availableRoute to areaCondition to check
One side and its altitudeA = bh/2The altitude meets that base line at 90°.
All three sidesHeron's formulaAny two sides add to more than the third.
Two sides and an angleA = ab sin(C)/2C lies between the two measured sides.

Choose the matching method in the triangle calculator. Enter angles in degrees; use Copy result to save the area and the measurements determined by that method.

Use symmetry to uncover a height you were not given

An isosceles panel: two equal sides do not equal two heights

Consider a triangular panel with equal sides of 13 cm and a base of 10 cm. An altitude from the top vertex divides an isosceles triangle into two congruent right triangles. Each has a horizontal leg of 5 cm and a hypotenuse of 13 cm. You can recover the height before using the ordinary area formula.

Half the base = 10/2 = 5 cm

h² + 5² = 13², so h = √(169 − 25) = 12 cm

A = 10 × 12/2 = 60 cm²

The calculation relies on the two sloping sides being equal. In a general triangle, an altitude need not divide the base into equal halves. Writing h = √(side² − (base/2)²) without checking symmetry is an assumption about the shape, not a universal shortcut.

You can independently check this panel in Three sides mode with 13, 13 and 10. Heron's formula uses s = 18 and gives √(18 × 5 × 5 × 8) = 60. Agreement between two different methods is stronger evidence than repeating the same multiplication.

Why an equilateral triangle has its own short formula

If all three sides equal s, the same right-triangle argument gives h = √[s² − (s/2)²] = √3s/2. Putting that height into A = sh/2 yields A = √3s²/4. For s = 12 cm, h = 6√3 cm and A = 36√3 cm² ≈ 62.35 cm².

Notice that the height is shorter than the side. Using 12 as both base and height would give 72 cm². The extra 9.65 cm² is not a small rounding difference; it comes from replacing an altitude with an edge. Seeing the familiar base-height formula inside the special-case expression helps you remember when it is valid.

Three sides, no altitude: reconstruct the area

Here a, b and c name the three side lengths. Their sum is the perimeter; s = (a + b + c)/2 is half of it, called the semiperimeter. Heron's formula is A = √[s(s − a)(s − b)(s − c)]. The √ sign asks for the non-negative number whose square equals the expression inside.

Suppose a triangular panel has side lengths 13, 14 and 15 cm. None of these is automatically a height. First verify that a triangle is possible. Here 13 + 14 > 15, and the other two comparisons also pass.

s = (13 + 14 + 15)/2 = 21 cm

A = √[s(s − 13)(s − 14)(s − 15)]

A = √(21 × 8 × 7 × 6) = √7056 = 84 cm²

The semiperimeter s is half the boundary length, not the area. Its four length factors under the square root produce a fourth-power unit; taking the square root leaves cm².

Now check this result by recovering a missing altitude. If the 14 cm side is chosen as the base, h = 2A/b = 168/14 = 12 cm. Substituting 14 × 12/2 gives 84 again. The calculator does not require an altitude in Three sides mode.

Two sides and an angle: which angle counts?

This route uses trigonometry. The included angle C is the opening between the two measured sides. For an acute angle, sin(C) is the perpendicular height divided by the sloping side, so the height is b sin(C). For example, sin(30°) = 0.5: a side of 10 cm contributes a height of 5 cm. For an obtuse included angle, the altitude lands outside the base and the same sine relationship still gives its height.

For sides a and b that meet at angle C, the altitude relative to a is b sin(C). Substituting that height into bh/2 gives A = ab sin(C)/2. The angle must be the one between a and b; an angle elsewhere in the triangle is not interchangeable.

Take sides 9 cm and 14 cm meeting at 120°. Set the calculator to Two sides & included angle and use degrees:

A = 9 × 14 × sin(120°)/2

A = 63 × √3/2 ≈ 54.56 cm²

A 60° included angle gives the same area because sin(60°) = sin(120°), although the triangles have different shapes and third sides. At 90°, the area is 63 cm², the largest possible area for those two fixed sides. Opening the angle farther does not always increase the area.

An area can correspond to two included angles

Two sides measure 10 cm and 12 cm, and the area is 30 cm². Rearranging A = ab sin(C)/2 gives sin(C) = 2A/(ab) = 60/120 = 0.5.

Both 30° and 150° have sine 0.5. Each angle produces the specified area, but the triangles have different third sides. Knowing whether the included angle C is acute or obtuse distinguishes these two answers.

For those two sides, the greatest area is 10 × 12/2 = 60 cm², at 90°. An area of 65 cm² would require sin(C) = 130/120 > 1, so those measurements cannot describe a triangle.

You can check the two valid answers in Two sides & included angle: enter 10, 12 and 30°, then change the angle to 150°. Both give 30 cm².

Recognize when the information is insufficient

  • Two side lengths alone: the angle between them can vary, so the area is not fixed.
  • Three angles alone: they determine shape up to scale, not size. Similar triangles can have very different areas.
  • Base and height: enough for area, but generally insufficient for perimeter. Do not invent two missing edge lengths.
  • Three impossible sides: 3, 4 and 8 cannot form a triangle because 3 + 4 is less than 8. Equality, as in 3, 4 and 7, gives a flat boundary rather than a positive-area triangle.

The calculator rejects impossible side sets and angles at or beyond 0° and 180°. If it flags a value, correct the data before copying a result. Extremely thin triangles can also make a calculation sensitive to measurement or rounding errors.

Keep the same area while changing the boundary

A concrete picture explains why base and height do not generally determine perimeter. Put a 10 cm base on a horizontal line, and keep the top vertex on another line 6 cm above it. Wherever the top vertex moves along that parallel line, the area remains 10 × 6/2 = 30 cm².

Centered and shifted triangles have a ten centimeter base and six centimeter altitude, both with area thirty square centimetersbase 10 cmbase 10 cmh = 6h = 6Centered vertexShifted vertex
Shifting a vertex parallel to the base preserves the altitude and area. It changes the two other side lengths. Schematic, not to scale.

With the vertex over the midpoint, each sloping side is √(5² + 6²) = √61 cm. The perimeter is 10 + 2√61 ≈ 25.62 cm. Shift the vertex directly above the left endpoint: one side becomes 6 cm and the other becomes √(10² + 6²) = √136 cm. The perimeter is now 16 + √136 ≈ 27.66 cm.

Nothing happened to the 30 cm² of covered surface. Only the edge lengths changed. For a fabric panel, surface coverage and edge binding therefore require different information. This is also a reason not to display an invented perimeter when a calculator has only a base and an altitude.

Similar triangles: infer an area ratio before calculating either area

A triangle drawn at twice the length scale has four times the area. To see why, keep one base and its matching height together: multiplying both by k changes bh/2 into (kb)(kh)/2 = k²bh/2. This reasoning works for any triangle shape, provided the triangles are similar and the corresponding lengths share the same scale factor.

Use a side ratio in its simplest form

Suppose two similar triangular panels have corresponding sides of 6 and 9 cm. Their length ratio is 9/6 = 3/2, so their area ratio is (3/2)² = 9/4. If the smaller panel covers 24 cm², the larger covers 24 × 9/4 = 54 cm². You do not need to find either height separately.

The reverse question uses a square root. If a similar replacement panel must cover twice the original area, its lengths must scale by √2, approximately 1.4142. Doubling every side would supply four times the area.

Equal areas do not establish similarity

A base of 12 cm with height 7 cm gives 42 cm². A base of 14 cm with height 6 cm also gives 42 cm², but the two base-height pairs do not establish equal angles or corresponding side ratios. The apex could lie in many horizontal positions in either case. Equal area only describes coverage, not the complete triangle.

A mixed-unit example

A base of 2 m and altitude of 80 cm give 2 × 0.8/2 = 0.8 m². Converting the height first keeps both lengths in the same unit.

Distinguish calculation precision from measurement reliability

Base and height each measured to within 0.1 cm

Suppose the base is 12 ± 0.1 cm and the height is 7 ± 0.1 cm. With positive dimensions, the smallest area uses both lower values and the largest uses both upper values:

Amin = 11.9 × 6.9/2 = 41.055 cm²

Anominal = 12 × 7/2 = 42 cm²

Amax = 12.1 × 7.1/2 = 42.955 cm²

The stated measurement bounds give an area range of about 41.06–42.96 cm².

Why nearly flat triangles are especially sensitive

For two equal sides of 10 cm and a base of 19.8 cm, the height is √(100 − 9.9²), giving area about 13.966 cm². Increase that base to 19.9 cm and the area falls to about 9.938 cm². A 0.1 cm change in one reading has a large effect because the triangle is close to flattening.

In Heron's formula this sensitivity appears as a very small factor such as s − c. Rounding 19.9 to 20 before calculating would turn a thin valid triangle into a degenerate one. That rounded base would violate the strict triangle inequality.

Transfer the idea to a drawing and a reverse dimension

For a triangle on a coordinate drawing with vertices (1,1), (7,1) and (4,5), the horizontal base is 6 units and the perpendicular height is 4. Area is therefore 12 units². Moving the origin changes those coordinate labels but not the measured base or height. The coordinate method provides a second route when an altitude is awkward to read directly.

For a reverse dimension, let A = 30 cm² and h = 4 cm. Then b = 2A/h = 15 cm; substituting 15 × 4/2 returns 30 cm².

Test your choice of method

A triangle has area 36 m² and base 9 m. What is its altitude?

Rearrange A = bh/2 to h = 2A/b. The altitude is 72/9 = 8 m. It is the perpendicular distance to the selected 9 m base.

Can sides 5, 12 and 13 cm give the area without Heron?

Yes. Since 5² + 12² = 13², this is a right triangle with perpendicular legs 5 and 12. A = 5 × 12/2 = 30 cm². Heron's formula gives the same answer.

Two sides measure 8 and 10 cm. Is the area necessarily 40 cm²?

No. Forty is the area only when those sides are perpendicular. For a 30° included angle, area is 8 × 10 × sin(30°)/2 = 20 cm².

Continue with averaging the bases of a trapezoid to see how triangles explain a four-sided formula. For the difference between covering a surface and measuring its edges, read area versus perimeter.

Two sides are 6 and 8 cm. Can area 12 cm² determine their included angle? Could area 30 cm² work?

sin(C) = 2 × 12/(6 × 8) = 0.5, so C can be 30° or 150°. The greatest area for these sides is 6 × 8/2 = 24 cm²; 30 cm² is impossible.

Two similar triangles have areas in the ratio 9:1. What is the ratio of corresponding lengths?

Area scales by the square of the length factor. Take √9 to get a length ratio of 3:1.

Formula checks and further reading: OpenStax, Heron's formula and non-right triangles. Examples and questions here use independently chosen measurements.

How this guide was prepared. Formulas and example calculations are shown explicitly so you can verify them. Measurements are illustrative; the About page explains the tool’s scope.