Orthocenter Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Enter the coordinates of the three vertices A, B and C.
Result
Orthocenter H: x
Circumcenter O: x
- Circumcenter O: y
- Orthocenter H: y
- Where H lies
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
How this calculator works
The orthocenter H is where the three altitudes of a triangle meet (each altitude goes through a vertex, perpendicular to the opposite side).
It is computed through the Euler line relation H = A + B + C − 2O, where O is the circumcenter, the point equally far from the three vertices, given by the standard determinant formula with D = 2[aₓ(b_y − c_y) + bₓ(c_y − a_y) + cₓ(a_y − b_y)].
H is inside an acute triangle, at the right-angle vertex of a right triangle and outside an obtuse triangle; the type comes from comparing the longest side squared with the sum of the other two squared. If the three points are on one line, there is no triangle and the coordinates show a dash.
Worked example
| A: x | 0 |
|---|---|
| A: y | 0 |
| B: x | 4 |
| B: y | 0 |
| C: x | 1 |
| C: y | 3 |
| Circumcenter O: x | 2 |
|---|---|
| Circumcenter O: y | 1 |
| Orthocenter H: x | 1 |
| Orthocenter H: y | 1 |
| Where H lies | Inside the triangle (acute triangle) |
Frequently asked questions
What is the orthocenter of A(0, 0), B(4, 0), C(1, 3)?
(1, 1). The circumcenter is (2, 1), and H = (0 + 4 + 1 − 4, 0 + 0 + 3 − 2).
Where is the orthocenter of a right triangle?
At the vertex of the right angle, because the two legs are themselves altitudes.