In geometry, an **altitude** of a triangle is a line segment through a vertex and perpendicular to a line containing the the side opposite the vertex. This line containing the opposite side is called the *extended base* of the altitude. The intersection of the extended base and the altitude is called the *foot* of the altitude. The length of the altitude, often simply called "the altitude", is the distance between the extended base and the vertex. The process of drawing the altitude from the vertex to the foot is known as *dropping the altitude* at that vertex. It is a special case of orthogonal projection.

Altitudes can be used in the computation of the area of a triangle: one-half of the product of an altitude's length and its base's length equals the triangle's area. Thus, the longest altitude is perpendicular to the shortest side of the triangle. The altitudes are also related to the sides of the triangle through the trigonometric functions.

In an isosceles triangle (a triangle with two congruent sides), the altitude having the incongruent side as its base will have the midpoint of that side as its foot. Also the altitude having the incongruent side as its base will be the angle bisector of the vertex angle.

It is common to mark the altitude with the letter h (as in *height*), often subscripted with the name of the side the altitude is drawn to.

In a right triangle, the altitude drawn to the hypotenuse c divides the hypotenuse into two segments of lengths p and q. If we denote the length of the altitude by h_{c}, we then have the relation

- (Geometric mean theorem)

For acute triangles, the feet of the altitudes all fall on the triangle's sides (not extended). In an obtuse triangle (one with an obtuse angle), the foot of the altitude to the obtuse-angled vertex falls in the interior of the opposite side, but the feet of the altitudes to the acute-angled vertices fall on the opposite extended side, exterior to the triangle. This is illustrated in the adjacent diagram: in this obtuse triangle, an altitude dropped perpendicularly from the top vertex, which has an acute angle, intersects the extended horizontal side outside the triangle.

See also: Orthocentric system |

The three (possibly extended) altitudes intersect in a single point, called the **orthocenter** of the triangle, usually denoted by H.^{[1]}^{[2]} The orthocenter lies inside the triangle if and only if the triangle is acute. If one angle is a right angle, the orthocenter coincides with the vertex at the right angle.^{[2]}

Let A, B, C denote the vertices and also the angles of the triangle, and let be the side lengths. The orthocenter has trilinear coordinates^{[3]}

Since barycentric coordinates are all positive for a point in a triangle's interior but at least one is negative for a point in the exterior, and two of the barycentric coordinates are zero for a vertex point, the barycentric coordinates given for the orthocenter show that the orthocenter is in an acute triangle's interior, on the right-angled vertex of a right triangle, and exterior to an obtuse triangle.

In the complex plane, let the points A, B, C represent the numbers z_{A}, z_{B}, z_{C} and assume that the circumcenter of triangle △*ABC* is located at the origin of the plane. Then, the complex number

is represented by the point H, namely the altitude of triangle △*ABC*.^{[4]} From this, the following characterizations of the orthocenter H by means of free vectors can be established straightforwardly:

The first of the previous vector identities is also known as the *problem of Sylvester*, proposed by James Joseph Sylvester.^{[5]}

Let D, E, F denote the feet of the altitudes from A, B, C respectively. Then:

- The product of the lengths of the segments that the orthocenter divides an altitude into is the same for all three altitudes:
^{[6]}^{[7]}

- The circle centered at H having radius the square root of this constant is the triangle's polar circle.
^{[8]}

- The sum of the ratios on the three altitudes of the distance of the orthocenter from the base to the length of the altitude is 1:
^{[9]}(This property and the next one are applications of a more general property of any interior point and the three cevians through it.)

- The sum of the ratios on the three altitudes of the distance of the orthocenter from the vertex to the length of the altitude is 2:
^{[9]}

- The isogonal conjugate of the orthocenter is the circumcenter of the triangle.
^{[10]}

- The isotomic conjugate of the orthocenter is the symmedian point of the anticomplementary triangle.
^{[11]}

- Four points in the plane, such that one of them is the orthocenter of the triangle formed by the other three, is called an orthocentric system or orthocentric quadrangle.

Denote the circumradius of the triangle by R. Then^{[12]}^{[13]}

In addition, denoting r as the radius of the triangle's incircle, r_{a}, r_{b}, r_{c} as the radii of its excircles, and R again as the radius of its circumcircle, the following relations hold regarding the distances of the orthocenter from the vertices:^{[14]}

If any altitude, for example, AD, is extended to intersect the circumcircle at P, so that AD is a chord of the circumcircle, then the foot D bisects segment HP:^{[7]}

The directrices of all parabolas that are externally tangent to one side of a triangle and tangent to the extensions of the other sides pass through the orthocenter.^{[15]}

A circumconic passing through the orthocenter of a triangle is a rectangular hyperbola.^{[16]}

Main article: Nine-point circle |

The orthocenter H, the centroid G, the circumcenter O, and the center N of the nine-point circle all lie on a single line, known as the Euler line.^{[17]} The center of the nine-point circle lies at the midpoint of the Euler line, between the orthocenter and the circumcenter, and the distance between the centroid and the circumcenter is half of that between the centroid and the orthocenter:^{[18]}

The orthocenter is closer to the incenter I than it is to the centroid, and the orthocenter is farther than the incenter is from the centroid:

In terms of the sides a, b, c, inradius r and circumradius R,^{[19]}^{[20]}^{: p. 449 }

If the triangle △*ABC* is oblique (does not contain a right-angle), the pedal triangle of the orthocenter of the original triangle is called the **orthic triangle** or **altitude triangle**. That is, the feet of the altitudes of an oblique triangle form the orthic triangle, △*DEF*. Also, the incenter (the center of the inscribed circle) of the orthic triangle △*DEF* is the orthocenter of the original triangle △*ABC*.^{[21]}

Trilinear coordinates for the vertices of the orthic triangle are given by

The extended sides of the orthic triangle meet the opposite extended sides of its reference triangle at three collinear points.^{[22]}^{[23]}^{[21]}

In any acute triangle, the inscribed triangle with the smallest perimeter is the orthic triangle.^{[24]} This is the solution to Fagnano's problem, posed in 1775.^{[25]} The sides of the orthic triangle are parallel to the tangents to the circumcircle at the original triangle's vertices.^{[26]}

The orthic triangle of an acute triangle gives a triangular light route.^{[27]}

The tangent lines of the nine-point circle at the midpoints of the sides of △*ABC* are parallel to the sides of the orthic triangle, forming a triangle similar to the orthic triangle.^{[28]}

The orthic triangle is closely related to the tangential triangle, constructed as follows: let L_{A} be the line tangent to the circumcircle of triangle △*ABC* at vertex A, and define L_{B}, L_{C} analogously. Let The tangential triangle is △*A"B"C"*, whose sides are the tangents to triangle △*ABC*'s circumcircle at its vertices; it is homothetic to the orthic triangle. The circumcenter of the tangential triangle, and the center of similitude of the orthic and tangential triangles, are on the Euler line.^{[20]}^{: p. 447 }

Trilinear coordinates for the vertices of the tangential triangle are given by

The reference triangle and its orthic triangle are orthologic triangles.

For more information on the orthic triangle, see here.

For any triangle with sides a, b, c and semiperimeter the altitude from side a is given by

This follows from combining Heron's formula for the area of a triangle in terms of the sides with the area formula where the base is taken as side a and the height is the altitude from A.

Consider an arbitrary triangle with sides a, b, c and with corresponding
altitudes h_{a}, h_{b}, h_{c}. The altitudes and the incircle radius r are related by^{[29]}^{: Lemma 1 }

Denoting the altitude from one side of a triangle as h_{a}, the other two sides as b and c, and the triangle's circumradius (radius of the triangle's circumscribed circle) as R, the altitude is given by^{[30]}

If *p*_{1}, *p*_{2}, *p*_{3} are the perpendicular distances from any point P to the sides, and *h*_{1}, *h*_{2}, *h*_{3} are the altitudes to the respective sides, then^{[31]}

Denoting the altitudes of any triangle from sides a, b, c respectively as h_{a}, h_{b}, h_{c}, and denoting the semi-sum of the reciprocals of the altitudes as we have^{[32]}

If E is any point on an altitude AD of any triangle △*ABC*, then^{[33]}^{: 77–78 }

For any point P within an equilateral triangle, the sum of the perpendiculars to the three sides is equal to the altitude of the triangle. This is Viviani's theorem.

In a right triangle the three altitudes h_{a} , h_{b} , h_{c} (the first two of which equal the leg lengths b and a respectively) are related according to^{[34]}^{[35]}

This is also known as the inverse Pythagorean theorem.

The theorem that the three altitudes of a triangle concur (at the orthocenter) is not directly stated in surviving Greek mathematical texts, but is used in the *Book of Lemmas* (proposition 5), attributed to Archimedes (3rd century BC), citing the "commentary to the treatise about right-angled triangles", a work which does not survive. It was also mentioned by Pappus (*Mathematical Collection*, VII, 62; c. 340).^{[36]} The theorem was stated and proved explicitly by al-Nasawi in his (11th century) commentary on the *Book of Lemmas*, and attributed to al-Quhi (fl. 10th century).^{[37]}

This proof in Arabic was translated as part of the (early 17th century) Latin editions of the *Book of Lemmas*, but was not widely known in Europe, and the theorem was therefore proven several more times in the 17th–19th century. Samuel Marolois proved it in his *Geometrie* (1619), and Isaac Newton proved it in an unfinished treatise *Geometry of Curved Lines* (c. 1680).^{[36]} Later William Chapple proved it in 1749.^{[38]}

A particularly elegant proof is due to François-Joseph Servois (1804) and independently Carl Friedrich Gauss (1810): Draw a line parallel to each side of the triangle through the opposite point, and form a new triangle from the intersections of these three lines. Then the original triangle is the medial triangle of the new triangle, and the altitudes of the original triangle are the perpendicular bisectors of the new triangle, and therefore concur (at the circumcenter of the new triangle).^{[39]}