Triangle circumcenter
Find the centre of the circle passing through three non-collinear points.
Locate the intersection of the three triangle altitudes from vertex coordinates.
Locate the intersection of the three triangle altitudes from vertex coordinates.
x1+x2+x3-2*(((x1^2+y1^2)*(y2-y3)+(x2^2+y2^2)*(y3-y1)+(x3^2+y3^2)*(y1-y2))/(2*(x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2))))y1+y2+y3-2*(((x1^2+y1^2)*(x3-x2)+(x2^2+y2^2)*(x1-x3)+(x3^2+y3^2)*(x2-x1))/(2*(x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2))))Use one Cartesian coordinate system. Collinear vertices are rejected; nearly collinear coordinates may amplify rounding errors.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Locate the intersection of the three triangle altitudes from vertex coordinates. The orthocenter can lie outside an obtuse triangle. Its location is not necessarily the centre of the shape.
The orthocenter can lie outside an obtuse triangle. Its location is not necessarily the centre of the shape.
| Input | Example |
|---|---|
Vertex 1 x x1 | 0 |
Vertex 1 y y1 | 0 |
Vertex 2 x x2 | 6 |
Vertex 2 y y2 | 0 |
Vertex 3 x x3 | 0 |
Vertex 3 y y3 | 6 |
Use one Cartesian coordinate system. Collinear vertices are rejected; nearly collinear coordinates may amplify rounding errors.
Use the displayed example inputs in the stated formula. Keep each quantity in its labelled unit and compare the unrounded result before applying display rounding.