Triangle Height Calculator

Find the altitude using area, sides, or angles

Step 1: Choose Your Method

From Area and Base

When you know the triangle's area and base

From Three Sides

When you know all three side lengths

From Base, Side, and Angle (SAS)

When you know base, adjacent side, and angle

Results

Select a method and enter values to calculate

How to Find the Height of a Triangle

To find the height of a triangle, divide twice the area by the base: h = 2 × Area ÷ base. If you do not know the area, get it from the three sides with Heron's formula, or skip it and use h = side × sin(angle) when you know a side and the angle it makes with the base. The calculator above does all three.

What is Triangle Height?

The height of a triangle is always measured along a line perpendicular (at 90°) to the base. This perpendicular line extends from the opposite vertex down to the base (or the base extended, in the case of obtuse triangles). For more detail, see triangle altitude properties at Wolfram MathWorld.

Any side can serve as the base, so every triangle has three heights, one for each side. They are tied together by the area: base × height gives the same number whichever side you pick, so a longer base always has a shorter height. You can also review altitude formulas for different triangles for additional calculation methods.

Calculation Methods

Method 1: From Area and Base

This is the most direct method. If you know the triangle's area and have chosen a base, the height is:

height = 2 × Area ÷ base

This is the triangle area formula, Area = ½ × base × height, rearranged to solve for height. It is the quickest method when the area is already known.

Method 2: From Three Sides (Heron's Formula)

When you know all three sides but not the area, first calculate the area using Heron's formula:

s = (a + b + c) / 2

Area = √[s(s-a)(s-b)(s-c)]

Then use the area-base method above to find the height to any chosen base. Use this when you have measured the three sides and want the height without measuring any angles.

Method 3: From Two Sides and Included Angle (SAS)

If you know a base, an adjacent side, and the angle between them, you can find the height directly using trigonometry:

height = adjacent side × sin(included angle)

This method is common in surveying and engineering applications where angles can be measured with theodolites or other instruments.

Properties of Triangle Height

  • Perpendicularity: The height always forms a 90° angle with the base
  • Three heights per triangle: One for each possible base, all intersecting at the orthocenter
  • Location varies: In acute triangles, all heights are inside; in right triangles, two heights are the legs; in obtuse triangles, two heights fall outside
  • Area relationship: Area = ½ × base × height for any base-height pair
  • Inverse relationship: For a fixed area, longer bases correspond to shorter heights

How to Find the Height of a Triangle Without the Area

You can find the height without the area in two ways.

If you know all three sides, use Heron's formula. It gives the area from the three side lengths alone, and h = 2 × Area ÷ base finishes the job. This is the usual route when you have measured a triangle with a tape.

If you know two sides and the angle between them, you can skip the area. The height is one leg of a right triangle inside the big one, so h = side × sin(angle). A 10 ft side that meets the base at 40° gives h = 10 × sin 40° = 6.43 ft. The sin cos tan calculator gives the sine of any angle.

Height Formulas for Equilateral, Isosceles, and Right Triangles

Equilateral, isosceles and right triangles each have a shortcut formula, so you do not need the general method.

Equilateral Triangle Height: h = a√3/2

For an equilateral triangle with side length a, the height to any side is:

h = a × √3 / 2 ≈ 0.866 × a

This formula comes from the Pythagorean theorem: drop a perpendicular from the apex to the base. It bisects the base into two segments of length a/2 and creates a 30-60-90 right triangle whose hypotenuse is a and short leg is a/2. By Pythagoras: h² + (a/2)² = a², so h = √(a² − a²/4) = (a/2)√3. Try our equilateral triangle calculator for a complete property breakdown.

Isosceles Triangle Height

For an isosceles triangle with two equal sides a and base b, the height from the apex to the base is:

h = √(a² − b²/4)

This altitude is also the median, the bisector of the apex angle and the line of symmetry. See the isosceles triangle calculator for the full set of formulas.

Right Triangle Height: h = ab/c

In a right triangle, two of the three altitudes are the legs themselves, since each leg is perpendicular to the other. The third runs from the right-angle vertex to the hypotenuse:

h = (a × b) / c

where a and b are the legs and c is the hypotenuse

This drops out of the area formula two ways: Area = ½ab (using the legs) equals Area = ½ch (using the hypotenuse as base). Setting them equal gives h = ab/c. Use our right triangle calculator to solve any right triangle from two known values.

Step-by-Step Worked Examples

Example 1: Height from area and base

A triangular garden bed has an area of 18 m² and a base of 6 m. Find the height to that base.

h = (2 × Area) / base
h = (2 × 18) / 6
h = 36 / 6 = 6 m

Verify above: switch the calculator to "From Area and Base" and enter 18 and 6.

Example 2: Height from three sides (Heron's)

A triangular sail has sides 5, 12, and 13 ft. Find the height to the 13 ft side.

s = (5 + 12 + 13) / 2 = 15
Area = √[15 × 10 × 3 × 2] = √900 = 30 ft²
h = (2 × 30) / 13 ≈ 4.615 ft

(This is a 5-12-13 right triangle, so its area is also ½ × 5 × 12 = 30, which matches Heron's result.)

Example 3: Height from SAS (two sides + angle)

A surveyor measures two sides of a plot, 40 m and 60 m, meeting at an angle of 35°. Find the height of the triangle (using the 60 m side as base).

h = adjacent side × sin(included angle)
h = 40 × sin(35°)
h = 40 × 0.5736
h ≈ 22.94 m

Example 4: Right triangle altitude to the hypotenuse

A right triangle has legs 6 and 8. Find the altitude from the right angle to the hypotenuse.

c = √(6² + 8²) = √100 = 10
h = (a × b) / c = (6 × 8) / 10 = 4.8

The two legs are altitudes too, but to each other, not to the hypotenuse.

Where Does the Height Fall in an Obtuse Triangle?

In an acute triangle, all three heights fall inside the triangle. In a right triangle, the two legs are heights (perpendicular to each other already), and the third altitude (from the right angle to the hypotenuse) falls inside.

But in an obtuse triangle, two of the three altitudes fall outside the triangle. To draw them, you must extend the base as a dashed line beyond the triangle, and drop a perpendicular from the opposite vertex to that extended line. The calculation does not change. The perpendicular distance is still the height, even though the line lands outside the shape.

This is why our calculator and diagrams clearly mark the right-angle indicator: it shows where the perpendicular meets the base (or its extension), removing any ambiguity about which line is the true altitude.

What Is the Orthocenter of a Triangle?

The three altitudes of any triangle always meet at a single point called the orthocenter. This is one of the four classical "centers" of a triangle, alongside the centroid (intersection of medians), incenter (intersection of angle bisectors), and circumcenter (intersection of perpendicular bisectors).

The orthocenter's location depends on the triangle's shape:

  • Acute triangles: orthocenter sits inside the triangle
  • Right triangles: orthocenter coincides with the right-angle vertex
  • Obtuse triangles: orthocenter falls outside the triangle

Quick-Reference Formula Table

What you know Formula Best for
Area + base h = 2 × Area / b When area is already known
Three sides (a, b, c) Heron's, then 2A/base Field measurements
Two sides + included angle h = side × sin(angle) Surveying, transit work
Equilateral side a h = a√3 / 2 All-equal triangles
Isosceles legs a, base b h = √(a² − b²/4) Symmetric triangles
Right triangle (legs a, b) hhyp = ab / c Altitude to hypotenuse

Special Triangle Heights

Different triangle types have special height properties:

  • Equilateral Triangle: Height = side × √3/2, creating the famous 30-60-90 triangle when bisected
  • Isosceles Triangle: The height from the apex bisects the base and serves as the line of symmetry
  • Right Triangle: The two legs serve as heights for each other; the height to the hypotenuse requires more complex calculation

Where Triangle Height Is Used

  • Roof framing: the rise of a gable roof is the height of the triangle made by the two rafters and the span. The roof pitch calculator turns rise and run into a pitch and an angle.
  • Area of a lot, panel or gable end: measure the three sides with a tape, find the height, and the area follows from ½ × base × height.
  • Surveying: the height of a tree or building is the horizontal distance to it times the tangent of the angle of elevation. See measuring distance with right triangles.
  • Cutting triangular pieces: a sail, a gusset plate or a triangular shelf is laid out from its base and height, even when the drawing only gives the edge lengths.

Using This Calculator

The calculator takes three kinds of input. Pick the one that matches what you have measured:

  1. Area + Base: Enter if you already know the area and want to find the height to a specific base
  2. Three Sides: Enter all three sides when you've measured the triangle's perimeter
  3. SAS Method: Enter base, adjacent side, and included angle when working with angle measurements

The calculator automatically determines which method you're using based on your inputs and provides the height along with related properties like area and perimeter. The visual diagram shows the height as a dashed line perpendicular to the base, with a right angle indicator to clarify the perpendicular relationship.

Frequently Asked Questions

How do you find the height of a triangle if you know the area?

Use the formula: height = (2 × area) / base. This comes from rearranging the area formula (Area = base × height / 2). For example, if a triangle has an area of 24 square units and a base of 6 units, the height is (2 × 24) / 6 = 8 units. This is the most direct method when area is known.

How do you find the height of a triangle without the area?

You don't need the area at all. If you know the three sides, plug them into Heron's formula to get the area, then divide by the base to get the height. If you know two sides and the angle between them, height = (adjacent side) × sin(included angle), with no area needed.

How do you find the height of a triangle given 3 sides?

Use Heron's formula in two steps. First, compute the semiperimeter s = (a + b + c)/2. Then Area = √[s(s−a)(s−b)(s−c)]. Finally, height to the side you've chosen as base = 2 × Area / base. Each side gives a different height because each is a different distance from its opposite vertex.

Are all heights of a triangle equal?

Only in an equilateral triangle, where all three heights are identical. In every other triangle, the three altitudes have different lengths. A longer side always has a shorter height, because Area = ½ × base × height stays the same whichever side you pick as the base.

Can a triangle have more than one height?

Yes. Every triangle has three heights, one for each side used as the base. The three heights always meet at a single point called the orthocenter. In acute triangles the orthocenter is inside; in right triangles it sits at the right-angle vertex; in obtuse triangles it falls outside the triangle.

Can you find the height with only angles?

No. Angles alone set the triangle's shape but not its size, and height is a length. You need at least one side along with the angles. The smallest input that works is one side + two angles (the third angle is implied since they sum to 180°).

Where is the height located in different types of triangles?

The height's location depends on the triangle type. In acute triangles, all three heights fall inside the triangle. In right triangles, two heights are the legs themselves, and the third falls inside. In obtuse triangles, two of the three heights fall outside the triangle, requiring you to extend the base to meet the perpendicular line from the opposite vertex.

What is the difference between altitude and median?

Both are line segments from a vertex to the opposite side, but they serve different purposes. An altitude (height) is perpendicular to the opposite side. A median goes to the midpoint of the opposite side, regardless of angle. They are the same line only in special cases: from the apex of an isosceles triangle to its base, or from any vertex of an equilateral triangle.

What is the orthocenter of a triangle?

The orthocenter is the single point where all three altitudes of a triangle intersect. Even though the three altitudes are different lengths, they are guaranteed to meet at one point. The orthocenter sits inside the triangle for acute triangles, on the right-angle vertex for right triangles, and outside the triangle for obtuse triangles.

What is Heron's formula and how does it relate to triangle height?

Heron's formula calculates a triangle's area using only the three side lengths: Area = √[s(s-a)(s-b)(s-c)], where s is the semiperimeter. Once you have the area from Heron's formula, you can find the height to any base using height = 2 × area / base. This two-step process lets you find height from just the three sides without needing to measure any angles.

How do you calculate height using trigonometry?

If you know a base, an adjacent side, and the angle between them, use: height = adjacent side × sin(included angle). The sine function gives you the ratio of the height to the adjacent side. For example, with a base of 10, an adjacent side of 8, and an included angle of 30°, the height is 8 × sin(30°) = 8 × 0.5 = 4 units.

Why is triangle height always perpendicular to the base?

The height is defined as the perpendicular (90°) distance from a vertex to the opposite side because this gives the shortest distance and creates the proper geometric relationship for area calculation. Any non-perpendicular line from the vertex to the base would be longer and wouldn't correctly represent the true height needed for the area formula Area = ½ × base × height.

Learn More About Trigonometry

View all articles

Deepen your understanding of triangles and trigonometry with our guides and tutorials:

Formulas and results last reviewed . How we check accuracy · Corrections log · Report an error

Related Calculators

All calculators