Calculate all three altitudes of a triangle from its side lengths. Find the orthocenter coordinates, classify the triangle (acute/obtuse/right), and compare altitude lengths. Includes presets and r...
An altitude of a triangle is a perpendicular line segment from a vertex to the line containing the opposite side (the base). Every triangle has three altitudes, and they meet at a single point called the orthocenter. The altitude is one of the most fundamental measurements in triangle geometry, directly connected to the area: Area = ½ · base · height.
The altitude to side a is h_a = 2 · Area / a. Since the area is the same regardless of which base you choose, the three altitudes are inversely proportional to their corresponding sides — the shortest side has the longest altitude and vice versa.
The orthocenter's position depends on the triangle type. For acute triangles, the orthocenter lies inside. For right triangles, it falls exactly on the vertex of the right angle. For obtuse triangles, it lies outside the triangle, on the extension of the altitude from the obtuse angle.
This calculator takes three side lengths and computes all three altitudes, the orthocenter coordinates, the triangle type (acute, right, or obtuse), the area, and visual comparison bars. A reference table shows common triangle altitudes and orthocenter locations. Presets cover right, equilateral, isosceles, and obtuse triangles for quick demonstration.
Triangle altitudes are more informative than a single height value because each side of the triangle has its own perpendicular distance and all three meet at the orthocenter. This calculator is useful when you want to compare those heights, classify the triangle, and understand where the orthocenter lands without rebuilding the geometry from scratch. It is particularly helpful in coordinate geometry, proof-based coursework, and any setting where the area and triangle type have to agree with one another.
Area = √[s(s−a)(s−b)(s−c)] where s = (a+b+c)/2 (Heron) Altitude to side a: h_a = 2·Area / a Altitude to side b: h_b = 2·Area / b Altitude to side c: h_c = 2·Area / c 1/h_a² + 1/h_b² + 1/h_c² relationship via area Orthocenter: intersection of any two altitudes
Result: h_a = 4.80, h_b = 4.80, h_c = 3.00, triangle is acute, orthocenter lies inside
For sides 5, 5, and 8, Heron's formula gives an area of 12 square units. That makes h_a = 2·12/5 = 4.8, h_b = 2·12/5 = 4.8, and h_c = 2·12/8 = 3. Because the triangle is acute and isosceles, the orthocenter lies inside the triangle on the line of symmetry.
Every altitude of a triangle is tied to the same area. Once the side lengths are known, Heron's formula gives the area, and each altitude follows from h = 2A / base. This explains an important pattern: the longest side always has the shortest altitude, while the shortest side has the longest altitude. The three heights are different views of the same area rather than unrelated measurements.
The orthocenter is the intersection point of the three altitudes, and its location reveals the triangle type immediately. In an acute triangle it lies inside the figure, in a right triangle it lands exactly on the right-angle vertex, and in an obtuse triangle it moves outside the triangle. That makes altitude calculations useful for more than just area work; they also help you interpret the shape and behavior of the whole triangle.
Altitudes are a strong consistency check in geometry problems. If you compute h_a, h_b, and h_c from the same side lengths, each base-height pair should reproduce the same area. When one pair does not match, the mistake is usually a side-length entry error, an invalid triangle, or a rounding issue. This calculator makes that comparison immediate, which is useful in homework verification, proof writing, and coordinate-geometry setups where the orthocenter location matters.
The orthocenter is the point where all three altitudes (or their extensions) intersect. Its location depends on the triangle type: inside for acute, on the right-angle vertex for right, and outside for obtuse triangles.
First find the area using Heron's formula, then h_a = 2·Area/a. This works for any triangle given three sides.
The orthocenter lies outside the triangle, beyond the side opposite the obtuse angle. Two altitudes must be extended beyond the triangle to meet.
Yes. In an obtuse triangle, the altitudes from the two acute-angle vertices extend beyond the opposite sides, so the foot of the altitude falls outside the triangle.
Area = ½·a·h_a = ½·b·h_b = ½·c·h_c. This means the altitude to any side can compute the area, and altitudes are inversely proportional to their base lengths.
Only in an equilateral triangle. In that case, each altitude is also a median, angle bisector, and perpendicular bisector.