Orthocenter Calculator

Quick answer

The orthocenter calculator finds the intersection point of the three altitudes of a triangle from the coordinates of its vertices, together with the circumcenter, centroid and the Euler line relationship.

Circumcenter x
3
Circumcenter y
1.7
Orthocenter x
2
Orthocenter y
1.6
Centroid x
2.666667
Centroid y
1.666667

The orthocenter is one of the classical triangle centres. It lies inside an acute triangle, at the right-angle vertex of a right triangle and outside an obtuse triangle. Together with the centroid and circumcenter it lies on the Euler line.

How to use the Orthocenter Calculator

  1. A: x
  2. A: y
  3. B: x
  4. B: y
  5. C: x
  6. C: y

Results update as you type, and everything is calculated in your browser.

How it works

The circumcenter O is computed from the perpendicular bisectors; the orthocenter then follows from the vector identity H = A + B + C − 2O. If the points are collinear, no triangle exists.

Inputs explained

Field What to enter
A: x A number
A: y A number
B: x A number
B: y A number
C: x A number
C: y A number

What each result means

  • Circumcenter x = (([A: x]^2 + [A: y]^2)×([B: y] – [C: y]) + ([B: x]^2 + [B: y]^2)×([C: y] – [A: y]) + ([C: x]^2 + [C: y]^2)×([A: y] – [B: y]))÷[D]
  • Circumcenter y = (([A: x]^2 + [A: y]^2)×([C: x] – [B: x]) + ([B: x]^2 + [B: y]^2)×([A: x] – [C: x]) + ([C: x]^2 + [C: y]^2)×([B: x] – [A: x]))÷[D]
  • Orthocenter x = [A: x] + [B: x] + [C: x] – 2×[Circumcenter x]
  • Orthocenter y = [A: y] + [B: y] + [C: y] – 2×[Circumcenter y]
  • Centroid x = ([A: x] + [B: x] + [C: x])÷3
  • Centroid y = ([A: y] + [B: y] + [C: y])÷3

Formula

H = A + B + C − 2O (O = circumcenter) G = (A + B + C)/3, H, G and O lie on the Euler line with HG = 2·GO

Worked example

Inputs: A: x: 0; A: y: 0; B: x: 6; B: y: 0; C: x: 2; C: y: 5.
Results: Circumcenter x = 3; Circumcenter y = 1.7; Orthocenter x = 2; Orthocenter y = 1.6; Centroid x = 2.666667; Centroid y = 1.666667.

Key terms

Altitude
The perpendicular from a vertex to the opposite side.

Frequently asked questions

Where is the orthocenter of a right triangle?

At the vertex with the right angle.

Can the orthocenter be outside the triangle?

Yes, for obtuse triangles.

What is the Euler line?

The line through the orthocenter, centroid and circumcenter.

What is an altitude?

A perpendicular segment from a vertex to the opposite side.

Sources

  1. Wolfram MathWorld: Orthocenter
  2. Wolfram MathWorld: Euler line

Cite this calculator

Speedy Calculator. (2026). Orthocenter Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/orthocenter/