Triangle Height Calculator
Instantly calculate the altitude of any triangle using Base/Area or Heron's Formula for 3 sides. Visualizes the orthocenter and solves for all three heights.
About
In geometry and structural engineering, the altitude (or height) of a triangle is more than just a line segment—it is a critical vector determining stability, area distribution, and orthographic projection. Whether you are an architect designing a truss system or a student solving complex trigonometric problems, precision is non-negotiable. A miscalculation in altitude can lead to errors in area estimation or structural load balancing.
This tool eliminates the guesswork by offering two distinct calculation modes. It handles the standard Base & Area approach for quick estimates, and employs Heron’s Formula reverse engineering to solve for all three altitudes when only the side lengths are known. The integrated visualizer plots the triangle and its orthocenter, providing immediate geometric context to your numerical results.
Formulas
When the area is unknown but side lengths are available, we first calculate the semi-perimeter s and the Total Area A using Heron’s Formula:
Once the Area is established, the altitude h corresponding to any base b is derived from the standard area formula:
Reference Data
| Triangle Type | Side Inputs (a, b, c) | Area (A) | Altitude to Base a (ha) |
|---|---|---|---|
| Equilateral Unit | 1, 1, 1 | 0.433 | 0.866 |
| Egyptian Triangle (Right) | 3, 4, 5 | 6 | 4 (Leg is height) |
| Isosceles | 5, 5, 6 | 12 | 4.8 |
| Scalene (Heron) | 7, 24, 25 | 84 | 24 |
| Obtuse Scalene | 4, 7, 9 | 13.416 | 6.708 |
| Golden Triangle | 1.618, 1.618, 1 | 0.786 | 1.572 |