Perpendicular Lines and Why They Matter for Area
Perpendicular lines and area: the height in ½ × base × height must meet the base at 90°. Why, how to find it in any triangle, and measuring examples.
Find the altitude using area, sides, or angles
When you know the triangle's area and base
When you know all three side lengths
When you know base, adjacent side, and angle
Select a method and enter values to calculate
Height
-
Area
-
Base
-
Perimeter
-
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.
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.
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.
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.
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.
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.
Equilateral, isosceles and right triangles each have a shortcut formula, so you do not need the general method.
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.
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.
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.
A triangular garden bed has an area of 18 m² and a base of 6 m. Find the height to that base.
Verify above: switch the calculator to "From Area and Base" and enter 18 and 6.
A triangular sail has sides 5, 12, and 13 ft. Find the height to the 13 ft side.
(This is a 5-12-13 right triangle, so its area is also ½ × 5 × 12 = 30, which matches Heron's result.)
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).
A right triangle has legs 6 and 8. Find the altitude from the right angle to the hypotenuse.
The two legs are altitudes too, but to each other, not to the hypotenuse.
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.
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:
| 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 |
Different triangle types have special height properties:
The calculator takes three kinds of input. Pick the one that matches what you have measured:
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.
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.
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.
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.
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.
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.
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°).
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.
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.
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.
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.
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.
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.
Deepen your understanding of triangles and trigonometry with our guides and tutorials:
Perpendicular lines and area: the height in ½ × base × height must meet the base at 90°. Why, how to find it in any triangle, and measuring examples.
Triangle area formula: A = ½ × base × height. Without the height, use Heron's formula for three sides, ½ab sin C or vertex coordinates. Worked examples.
Equilateral triangle: three equal sides, three 60° angles. Height (√3/2)s, area (√3/4)s², the 30-60-90 link, a table of common sizes and worked problems.
Triangles are the strongest shape in engineering: three fixed sides lock the angles. The geometry, a worked force example, and how trusses use it.
The Law of Sines, a/sin A = b/sin B = c/sin C, solves non-right triangles in AAS, ASA and SSA cases. When to use it, worked examples, the ambiguous case.
How to check your triangle answers: the 180° angle sum, Pythagorean and triangle inequality tests, Law of Sines ratios, area checks and a worked example.
Formulas and results last reviewed . How we check accuracy · Corrections log · Report an error