In geometry, an altitude of a triangle is a line segment through a given vertex (called apex) and perpendicular to a line containing the side or edge opposite the apex. This (finite) edge and (infinite) line extension are called, respectively, the base and extended base of the altitude. The point at 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" or "height", symbol h, is the distance between the foot and the apex. The process of drawing the altitude from a 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 (symbol b) equals the triangle's area: A=hb/2. 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.