Free Orthocenter Calculator

Vertex A

Vertex B

Vertex C

How it works

The orthocenter is the intersection of any two altitudes. Altitudes are lines through a vertex perpendicular to the opposite side.

Enter the coordinates

of vertices A, B, and C above

The Orthocenter Calculator is a coordinate geometry tool designed to determine the orthocenter coordinates of any triangle, whether acute, right, or obtuse. As a triangle center calculator, it computes the intersection point of the three altitudes – the orthocenter of the triangle. By entering the vertex coordinates, you can instantly find orthocenter coordinates without manual algebra. This guide explains the orthocenter definition, walks through systematic methods to locate it, and highlights its geometric properties.

What is the Orthocenter?

In triangle geometry, the orthocenter (often denoted as H) is the unique point where the three altitudes intersect. Each altitude is a line segment drawn from a vertex perpendicular to the opposite side (or its extension for obtuse triangles). The altitudes are always concurrent, meaning they meet at a single point – that point is the orthocenter. The orthocenter’s location depends on the triangle type: it lies inside for acute triangles, at the right‑angle vertex for right triangles, and outside for obtuse triangles. Understanding this altitude intersection is fundamental in coordinate geometry.

Computing Orthocenter Coordinates: A Step-by-Step Guide

Given a triangle with vertices A(x1,y1)(x_1, y_1), B(x2,y2)(x_2, y_2), and C(x3,y3)(x_3, y_3), you can calculate the orthocenter using coordinate geometry. The method involves finding two altitude equations and solving them simultaneously.

Step 1 – Slope of a side
Compute the slope of one side, for example side AB:

mAB=y2−y1x2−x1m_{AB} = \dfrac{y_2 - y_1}{x_2 - x_1}

Step 2 – Perpendicular slope
The altitude from the opposite vertex (C) is perpendicular to AB, so its slope is the negative reciprocal:

m⊥=−1mAB(provided mAB≠0)m_{\perp} = -\dfrac{1}{m_{AB}} \quad (\text{provided } m_{AB} \neq 0)

Step 3 – Equation of the altitude
Using the point-slope form with vertex C(x3,y3)(x_3, y_3):

y−y3=m⊥(x−x3)y - y_3 = m_{\perp} (x - x_3)

This gives the line containing the altitude from C.

Step 4 – Repeat for another side
Carry out the same process for side AC or BC to obtain a second altitude equation.

Step 5 – Solve the system
Solve the two linear equations for xx and yy. The resulting ordered pair is the orthocenter.

The same procedure works for any triangle, but the arithmetic can become tedious for non‑integer coordinates. This calculator automates the entire process.

Example: Finding the Orthocenter with Vertex Coordinates

Consider triangle ABC with A(1, 1), B(3, 5), C(7, 2).

  1. Slope of AB
    mAB=5−13−1=42=2m_{AB} = \dfrac{5 - 1}{3 - 1} = \dfrac{4}{2} = 2.

  2. Perpendicular slope
    m⊥,AB=−12m_{\perp,AB} = -\dfrac{1}{2}.

  3. Altitude from C
    Using point-slope:

    y−2=−12(x−7)  ⇒  y=2−12(x−7)=112−12x.y - 2 = -\frac{1}{2}(x - 7) \;\Rightarrow\; y = 2 - \frac{1}{2}(x - 7) = \frac{11}{2} - \frac{1}{2}x.
  4. Now side BC
    mBC=2−57−3=−34m_{BC} = \dfrac{2 - 5}{7 - 3} = \dfrac{-3}{4}.
    Perpendicular slope: m⊥,BC=43m_{\perp,BC} = \dfrac{4}{3}.

  5. Altitude from A

    y−1=43(x−1)  ⇒  y=1+43(x−1)=43x−13.y - 1 = \frac{4}{3}(x - 1) \;\Rightarrow\; y = 1 + \frac{4}{3}(x - 1) = \frac{4}{3}x - \frac{1}{3}.
  6. Solve the system
    Set the two expressions for yy equal:

    112−12x=43x−13.\frac{11}{2} - \frac{1}{2}x = \frac{4}{3}x - \frac{1}{3}.

    Multiply by 6: 33−3x=8x−233 - 3x = 8x - 2 → 35=11x35 = 11x → x=3511≈3.182x = \frac{35}{11} \approx 3.182.
    Substitute into y=43x−13y = \frac{4}{3}x - \frac{1}{3}: y=43⋅3511−13=14033−1133=12933=4311≈3.909y = \frac{4}{3}\cdot\frac{35}{11} - \frac{1}{3} = \frac{140}{33} - \frac{11}{33} = \frac{129}{33} = \frac{43}{11} \approx 3.909.

    Thus the orthocenter is approximately (3.182,3.909)(3.182, 3.909).

Orthocenter Formula Using Tangents

If the triangle’s interior angles α,β,γ\alpha, \beta, \gamma are known, the orthocenter coordinates can be expressed more compactly:

x=x1tan⁡α+x2tan⁡β+x3tan⁡γtan⁡α+tan⁡β+tan⁡γ,y=y1tan⁡α+y2tan⁡β+y3tan⁡γtan⁡α+tan⁡β+tan⁡γ.x = \dfrac{x_1 \tan\alpha + x_2 \tan\beta + x_3 \tan\gamma}{\tan\alpha + \tan\beta + \tan\gamma}, \qquad y = \dfrac{y_1 \tan\alpha + y_2 \tan\beta + y_3 \tan\gamma}{\tan\alpha + \tan\beta + \tan\gamma}.

To apply this formula, you first need the side lengths (using the distance formula) and then the angles via the law of cosines. While elegant, the tangent method often requires extra preprocessing compared to the direct coordinate approach.

Key Properties of the Orthocenter

The orthocenter exhibits several interesting geometric facts:

  • In an equilateral triangle, the orthocenter coincides with the centroid, incenter, and circumcenter.
  • In a right triangle, the orthocenter is exactly at the vertex that holds the right angle.
  • For acute triangles, the orthocenter lies inside the triangle.
  • For obtuse triangles, the orthocenter lies outside because two altitudes fall outside the triangle.
  • The three vertices and the orthocenter together constitute an orthocentric system: taking any three of these four points yields a triangle whose orthocenter is the omitted point.
  • Reflecting the orthocenter across any side places the point on the triangle’s circumcircle.
  • In every non‑equilateral triangle, the orthocenter, centroid, circumcenter, and nine‑point circle center are collinear on the Euler line.

These properties illustrate why the orthocenter is one of the four classical triangle centers and a valuable concept in coordinate geometry.

FAQ

1. How can I compute the orthocenter coordinates using vertex coordinates?

Calculate slopes of two sides, find their perpendicular slopes (negative reciprocal), write the altitude equations through the opposite vertices using point-slope form, then solve the two linear equations. The solution gives the orthocenter.

2. What is the tangent-based formula for the orthocenter?

If the triangle angles α, β, γ are known, the orthocenter coordinates are given by (x₁ tanα + x₂ tanβ + x₃ tanγ)/(tanα + tanβ + tanγ) and similarly for y. The angles can be derived from side lengths using the law of cosines.

3. Where does the orthocenter fall for acute, right, and obtuse triangles?

For acute triangles it lies inside the triangle; for right triangles it coincides with the right-angle vertex; for obtuse triangles it lies outside the triangle.

4. What is an orthocentric system?

The three vertices of a triangle together with the orthocenter form an orthocentric system. Any three of these four points will form a triangle whose orthocenter is the remaining fourth point.

How to Use

  1. Enter the x and y coordinates of vertex A (x₁, y₁) in the first pair of input fields.
  2. Enter the coordinates for vertices B (x₂, y₂) and C (x₃, y₃) in the remaining fields.
  3. The orthocenter coordinates (Hₓ, Hᵧ) are calculated and displayed instantly.