Find the Height of a Triangle with the Pythagorean Theorem

Split the triangle down the middle, and the height becomes a leg of a right triangle. Here is how to find the height of isosceles, equilateral and scalene triangles, and the slant height of cones and pyramids.

By the PythagoreanTheorem.net teamUpdated 9 min read

To find the height of an isosceles triangle, draw the altitude from the top corner to the base. It splits the triangle into two matching right triangles, each with hypotenuse s (the equal side) and leg b over 2 (half the base), so h = √s2 − (b/2)2. For an equilateral triangle with side s, h = √3 over 2s.

What "height" means

The height (or altitude) of a triangle is the perpendicular distance from one corner to the line containing the opposite side, which is then called the base. Every triangle has three heights, one for each choice of base. The height is what you need for the area formula:

area = 1 over 2 × base × height

Because the height meets the base at 90°, it always creates right triangles, and that is where the Pythagorean theorem comes in. In a right triangle the height is easy, because the two legs are already heights of each other. For any other triangle you have to work it out.

Height of an isosceles triangle

An isosceles triangle has two equal sides, s, and a third side called the base, b. Draw the altitude from the top corner, where the equal sides meet. By symmetry it lands exactly in the middle of the base, so it splits the isosceles triangle into two identical right triangles. (Formally, the two halves share the altitude and have equal hypotenuses s, so they are congruent by the hypotenuse-leg rule.)

A 13 13 5 5 h h 5 13 h² + 5² = 13² h² = 169 − 25 h² = 144 h = 12
The altitude cuts the 13-13-10 triangle into two right triangles with hypotenuse 13 and leg 5. The Pythagorean theorem gives the other leg: h = 12.

Each half has hypotenuse s, one leg b over 2 and the other leg h. The theorem says h2 + (b over 2)2 = s2. Solve for h, exactly as you would to find a missing leg:

h = √s2 − (b over 2)2

Example 1: sides 13, 13 and base 10

Half the base is 5.

h= √132 − 52 = √169 − 25 = √144 = 12area= 1 over 2 · 10 · 12 = 60

The height is 12 and the area is 60 square units. Each half is a 5-12-13 triangle.

Example 2: sides 10, 10 and base 12

Half the base is 6.

h= √102 − 62 = √100 − 36 = √64 = 8area= 1 over 2 · 12 · 8 = 48

Height 8, area 48. Each half is a 6-8-10 triangle.

Example 3: an answer with a radical

An isosceles triangle has equal sides of 6 cm and a base of 4 cm. Half the base is 2.

h= √62 − 22 = √36 − 4 = √32 = 4√2 ≈ 5.66

h = 4√2 cm, about 5.66 cm to the nearest hundredth. See simplifying square roots for how √32 becomes 4√2.

Example 4: working backward to the side

An isosceles triangle has base 16 and height 15. How long are the equal sides? This time the unknown is the hypotenuse of each half, with legs 8 and 15.

s= √82 + 152 = √64 + 225 = √289 = 17

Each equal side is 17.

The same split appears on every gable roof. A roof that spans 8 m with rafters 5 m long rises √52 − 42 = 3 m above the walls. The rafter length calculator does this, and the reverse, for any roof pitch.

Height of an equilateral triangle

An equilateral triangle has all three sides equal to s, so it is isosceles with base s. Half the base is s over 2, and the formula above becomes:

h= √s2 − (s over 2)2 = √s2 − s2 over 4 = √3s2 over 4= √3 over 2 s ≈ 0.866 s
60° 30° s s s/2 s/2 h h² + (s/2)² = s² h² = s² − s²/4 = 3s²/4 h = (√3/2)·s ≈ 0.866s Each half is a 30-60-90 triangle
Half of an equilateral triangle is a 30-60-90 triangle with sides s over 2, √3 over 2s and s, in the ratio 1 : √3 : 2.

So the height of an equilateral triangle is always about 86.6% of its side. Each half is a 30-60-90 triangle: the altitude splits the 60° top angle into two 30° angles, and the base angles stay 60°.

Example 5: side 6

h = √3 over 2 · 6 = 3√3 ≈ 5.20

The height is 3√3, about 5.20 to the nearest hundredth. Check: √62 − 32 = √27 = 3√3.

Example 6: from the height back to the side

An equilateral triangle is 12 cm tall. How long is each side? Solve h = √3 over 2s for s:

s= 2h over √3 = 24 over √3 = 24√3 over 3 = 8√3 ≈ 13.86

Each side is 8√3 cm, about 13.86 cm.

For quick answers with any side or height, the special right triangle calculator handles 30-60-90 triangles directly.

Area formulas that follow

Once you have the height, the area is 1 over 2 × base × height. Putting the height formulas into it gives two shortcuts that let you skip finding h altogether.

Equilateral triangle. The base is s and the height is √3 over 2s:

A = 1 over 2 · s · √3 over 2s = √3 over 4s2 ≈ 0.433 s2

For side 6 the area is √3 over 4 · 36 = 9√3 ≈ 15.59. For side 10 it is 25√3 ≈ 43.30.

Isosceles triangle. With equal sides s and base b:

A = 1 over 2 b√s2 − b2 over 4 = b over 4√4s2 − b2

Check it on Example 1: 10 over 4√4 · 169 − 100 = 2.5 · √576 = 2.5 · 24 = 60, which matches.

TipYou don't need to memorize these. If you remember "split it into two right triangles," you can rebuild either formula in under a minute, and you'll understand where every √3 comes from.

Height of any triangle from its three sides

A scalene triangle has no equal sides, so the altitude does not land in the middle of the base. You can still find the height with the Pythagorean theorem; it just takes two equations instead of one. Take the famous 13-14-15 triangle standing on its side of length 14.

13 15 x = 5 14 − x = 9 h = 12 x² + h² = 13² (14 − x)² + h² = 15² Subtract the first from the second: 196 − 28x = 56 x = 5, h = √(169 − 25) = 12
The altitude splits the base of the 13-14-15 triangle into 5 and 9, creating two right triangles: 5-12-13 and 9-12-15.
  1. Name the unknowns. Let the altitude have length h and land a distance x from the left end, so the right-hand piece of the base is 14 − x.
  2. Write the theorem for both right triangles. Left: x2 + h2 = 132 = 169. Right: (14 − x)2 + h2 = 152 = 225.
  3. Subtract to remove h. (14 − x)2 − x2 = 225 − 169, which simplifies to 196 − 28x = 56, so x = 5.
  4. Find h. h = √169 − 25 = √144 = 12, and the area is 1 over 2 · 14 · 12 = 84.

In general, for base b and other sides p (on the left) and q (on the right), the same steps give x = b2 + p2 − q2 over 2b and h = √p2 − x2. If x comes out negative or larger than b, the foot of the altitude lands outside the base: the triangle is obtuse, as explained on the acute, right or obtuse page. (Heron's formula gives the area from three sides directly, but the method above also tells you the height and where it falls.)

The height drawn to the hypotenuse of a right triangle has its own special properties, covered on the geometric mean theorem page.

Slant height of cones and pyramids

The same right-triangle split works in three dimensions. The height of a cone or pyramid goes straight down from the tip to the center of the base. The slant height runs down the outside surface: to the edge of the base on a cone, or to the midpoint of a base edge on a pyramid. Height, slant height and a distance across the base form a right triangle with the slant height as hypotenuse.

12 5 13 Cone 4 3 5 6 Square pyramid
Cone: height 12, radius 5, slant height 13. Square pyramid: height 4, half of the base side, 3, and slant height 5. Dashed lines are inside the solid.

Cone

ℓ = √r2 + h2, where r is the radius of the base.

Square pyramid

ℓ = √h2 + (s over 2)2, where s is the side of the base.

Example 7: a cone

A cone has radius 5 cm and height 12 cm. Find the slant height and the curved surface area, πrℓ.

ℓ= √52 + 122 = √169 = 13πrℓ= π · 5 · 13 = 65π ≈ 204.20

Slant height 13 cm; curved surface area 65π ≈ 204.20 cm², to the nearest hundredth.

Example 8: a square pyramid

A square pyramid has base side 6 m and height 4 m. The slant height runs from the top to the middle of a base edge, which is 3 m from the center.

ℓ= √42 + 32 = √25 = 5four triangular faces= 4 · 1 over 2 · 6 · 5 = 60

Slant height 5 m; the four sloping faces have a total area of 60 m².

Example 9: a party hat

A cone-shaped party hat has slant height 25 cm and a base radius of 7 cm. How tall is it? Now the slant height is the known hypotenuse.

h= √252 − 72 = √625 − 49 = √576 = 24

The hat is 24 cm tall.

The distance from the top of a pyramid to a base corner takes one more step, because the corner is half a diagonal away from the center. That two-step method is explained on the Pythagorean theorem in 3D page.

Common mistakes

  • Using the whole base instead of half. For the 13-13-10 triangle, √132 − 102 = √69 ≈ 8.31 is wrong; the leg of each right triangle is 5, not 10.
  • Assuming the altitude bisects every base. It lands in the middle only when the two other sides are equal. For a scalene triangle, use the two-equation method.
  • Adding instead of subtracting. The equal side s is the hypotenuse of each half, so the height is √s2 − (b/2)2. A height can never be longer than s.
  • Mixing up height and slant height. The slant height is always the longer of the two, because it is the hypotenuse.

More slips like these are on the common mistakes page.

Frequently asked questions

How do you find the height of an isosceles triangle?

Halve the base, then use the Pythagorean theorem on one half: h = √s2 − (b/2)2, where s is one of the equal sides. For equal sides 10 and base 12, h = √100 − 36 = 8.

What is the formula for the height of an equilateral triangle?

h = √3 over 2s, roughly 0.866 times the side. A triangle with side 8 has height 4√3 ≈ 6.93.

Why do you divide the base by 2?

The altitude of an isosceles triangle meets the base at its midpoint, so each right triangle gets exactly half the base as a leg. The Pythagorean theorem only applies to that right triangle, not to the whole triangle.

Can you find the height of a triangle if you only know the three sides?

Yes. Write the Pythagorean theorem for the two right triangles on either side of the altitude, subtract the equations to find where the altitude lands, then solve for h. For a 13-14-15 triangle on base 14, the height is 12.

What is the difference between height and slant height?

Height is measured straight up, perpendicular to the base. Slant height is measured along the sloping surface of a cone or pyramid. They are the leg and the hypotenuse of the same right triangle, so the slant height is always longer.

How do you find the area of an equilateral triangle?

Use A = √3 over 4s2, which comes from half the base times the height √3 over 2s. For side 10, A = 25√3 ≈ 43.30 square units.

Keep exploring