Triangle Height (Altitude) Calculator

Find the height of a triangle using multiple methods: area + base, three sides (Heron), or vertex coordinates. Computes all three altitudes, area, and angles.

Presets — Three Sides

Presets — Area + Base

Presets — Coordinates

cm
cm
cm
Planning notes, formulas, and examples

About the Triangle Height (Altitude) Calculator

The height (altitude) of a triangle is the perpendicular distance from a vertex to the opposite side (or its extension). Every triangle has three altitudes, one from each vertex, and they always intersect at a single point called the orthocenter. Finding the height is fundamental — it is needed for area calculations (A = ½ × base × height), for structural analysis, and for coordinate geometry.

This calculator supports three input methods. The simplest is the area + base method: if you already know the area and one side, the height to that side is h = 2A / base. The three-sides method uses Heron's formula to first compute the area from s = (a+b+c)/2, then derives all three altitudes. The coordinate method takes three vertex points (x, y) and computes everything from the geometry directly.

Altitudes appear in many real-world contexts: land surveying (finding the width of a river using the altitude of a triangle formed by landmarks), architecture (roof pitch calculations), and physics (decomposing forces perpendicular to a surface). The orthocenter location also depends on the triangle type — inside for acute, at the right-angle vertex for right, and outside for obtuse triangles.

This calculator outputs all three altitudes, the area, perimeter, angles, and orthocenter type. Visual altitude ratio bars, presets, and a reference table make it easy to explore different triangles.

When This Page Helps

This calculator is useful because altitude problems rarely come in one standard form. Sometimes you know area and base, sometimes three sides, and sometimes only coordinates from a diagram or map. By supporting all three approaches and reporting every altitude together with area, angles, and orthocenter behavior, the tool helps students verify derivations and helps designers or surveyors move from raw measurements to triangle geometry quickly.

How to Use the Inputs

  1. Choose the input method: Area + Base, Three Sides, or Coordinates.
  2. For Area + Base: enter the known area and the base side length.
  3. For Three Sides: enter all three side lengths (a, b, c).
  4. For Coordinates: enter the (x, y) coordinates of vertices A, B, C.
  5. Or click a preset to load a common example.
  6. View all three altitudes, area, angles, and orthocenter type.
  7. Compare altitude lengths visually in the bar chart.
Formula used
Height from area: h = 2A / base Heron's formula: A = √[s(s−a)(s−b)(s−c)], s = (a+b+c)/2 All altitudes: h_a = 2A/a, h_b = 2A/b, h_c = 2A/c Coordinate area: A = ½|x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂)| Altitude from coordinates: h = 2A / base_length

Example Calculation

Result: Area ≈ 16.25, h_a ≈ 4.64, h_b ≈ 3.25, h_c ≈ 6.50

Sides 7, 10, 5: s = 11, A = √(11×4×1×6) ≈ 16.25. h_a = 2×16.25/7 ≈ 4.64, h_b = 2×16.25/10 ≈ 3.25, h_c = 2×16.25/5 ≈ 6.50.

Tips & Best Practices

  • The altitude is always the shortest perpendicular from a vertex to the opposite side — not the slant distance.
  • In a right triangle, two of the altitudes are the legs themselves, and the third is to the hypotenuse.
  • The orthocenter lies inside an acute triangle, at the 90° vertex of a right triangle, and outside an obtuse triangle.
  • For equilateral triangles, all three altitudes are equal: h = (√3/2) × side.
  • In coordinate geometry, the "shoelace formula" gives area directly from vertex coordinates — then altitudes follow from h = 2A/base.

Choosing the Best Input Method

Triangle height problems often hide the same idea behind different givens. If area and base are known, the altitude is immediate. If only the three sides are known, Heron's formula creates the area first and then turns that into all three heights. If a problem is drawn on axes, coordinate input can be the fastest route because the side lengths and area come straight from the points.

Reading the Orthocenter from the Altitudes

Altitudes do more than support the area formula. Their intersection determines the orthocenter, and its location tells you something important about the triangle itself. Acute triangles keep the orthocenter inside, right triangles place it at the right-angle vertex, and obtuse triangles push it outside. Seeing the altitudes and orthocenter type together helps connect computation with geometric structure.

Using Heights in Real Problems

Altitudes appear whenever you need a true perpendicular distance rather than a slanted edge length. That shows up in land measurement, roof framing, force decomposition, and coordinate geometry. By comparing all three heights instead of just one, you also get a quick sense of which side acts as the longest and shortest effective base for the same triangle area.

Sources & Methodology

Last updated:

Frequently Asked Questions

  • The height is the perpendicular distance from a vertex to the line containing the opposite side. Each triangle has three altitudes.