Circumcenter Coordinates Calculator
Find the circumcenter of a triangle from three vertices, with the circumradius and circle diameter.
What it does
Every triangle can be enclosed by a circle that passes through all three vertices. The centre of that circle is the circumcenter, and its radius is the circumradius. The point is equally distant from the three corners, and it can be found by drawing the perpendicular bisector of any two sides and taking their intersection.
Where the circumcenter sits depends on the shape of the triangle. For an acute triangle it lies inside, for a right triangle it is the midpoint of the hypotenuse, and for an obtuse triangle it falls outside. That behaviour surprises people who expect all triangle centres to be interior points.
Coordinates make the construction exact. Rather than drawing bisectors, you solve two linear equations obtained by setting the squared distances from an unknown point to the vertices equal to each other. The solution can be written directly in terms of the six input numbers, which is what this page computes.
The calculator takes the x and y coordinates of the three vertices and returns the circumcenter point, the circumradius, the diameter of the circumcircle and the denominator D used in the formula. That last value is proportional to twice the signed area of the triangle, so it also tells you whether the points are nearly collinear.
The circumcenter needs three distinct, non collinear points. If the vertices lie on one line the perpendicular bisectors are parallel and never meet, and the tool reports an error instead of returning a huge and meaningless coordinate.
How to use
- Enter the x and y coordinates of vertex A.
- Enter the x and y coordinates of vertex B.
- Enter the x and y coordinates of vertex C.
- Keep the same scale and units on both axes and across all three points.
- Check that the points are not collinear; the tool does this check for you.
- Read the circumcenter, circumradius, diameter and check value from the results.
Formula
- D
- Twice the signed area of the triangle. Zero means the points are collinear.
- S1
- x1 squared plus y1 squared, the squared distance of vertex A from the origin.
- Ux
- x coordinate of the circumcenter, in coordinate units.
- Uy
- y coordinate of the circumcenter, in coordinate units.
- R
- Circumradius, the distance from the circumcenter to any vertex, in coordinate units.
The radius is recovered from R = sqrt((Ux - x1)^2 + (Uy - y1)^2), and the diameter is simply 2R. Points that are almost on one line give a very small D and a distant circumcenter, so the tool refuses to divide when D is effectively zero. Displayed coordinates are rounded to three decimal places and trailing zeros are dropped.
Worked example
Example: vertices (0, 0), (4, 0) and (0, 3)
A right triangle has A at (0, 0), B at (4, 0) and C at (0, 3), so the hypotenuse runs from B to C.
- Compute D = 2[0(0 - 3) + 4(3 - 0) + 0(0 - 0)] = 2 x 12 = 24.
- The squared distances from the origin are S1 = 0, S2 = 16 and S3 = 9.
- Ux = [0(-3) + 16(3) + 9(0)]/24 = 48/24 = 2.
- Uy = [0(0 - 4) + 16(0 - 0) + 9(4 - 0)]/24 = 36/24 = 1.5.
- The circumcenter is (2, 1.5), which is the midpoint of the hypotenuse as expected for a right triangle.
- The circumradius is sqrt((2 - 0)^2 + (1.5 - 0)^2) = sqrt(4 + 2.25) = sqrt(6.25) = 2.5, so the diameter is 5.
- The tool shows circumcenter (2, 1.5), circumradius 2.5, diameter 5 and check value D = 24.
Reference table
| Vertices A, B, C | Circumcenter | Circumradius | Diameter | D |
|---|---|---|---|---|
| (0, 0), (4, 0), (0, 3) | (2, 1.5) | 2.5 | 5 | 24 |
| (0, 0), (6, 0), (0, 8) | (3, 4) | 5 | 10 | 96 |
| (0, 0), (6, 0), (3, 4) | (3, 0.875) | 3.125 | 6.25 | 48 |
Limits
- Needs three distinct non collinear points in a flat plane.
- Requires the same length scale on both axes; unequal axis scales distort the circle.
- Points that are nearly collinear produce a very distant circumcenter and a fragile result.
- Coordinates are rounded to three decimal places, so long repeats may differ in the last digit.
Common mistakes
- Averaging the three vertices, which gives the centroid and not the circumcenter.
- Swapping the signs in the Uy numerator, which mirrors the point across an axis.
- Dividing by D without checking it, which blows up when the vertices are collinear.
- Forgetting that the circumcenter can lie outside an obtuse triangle.
- Confusing the circumradius with the diameter; the diameter is twice the radius.
Try it yourself
Quick checks. Answers sit tucked under each question.
Find the circumcenter and circumradius of A(0, 0), B(6, 0), C(0, 8).
D = 2[0(0 - 8) + 6(8 - 0) + 0(0 - 0)] = 96. With S2 = 36 and S3 = 64, Ux = 36 x 8/96 = 3 and Uy = 64 x 6/96 = 4. This is the midpoint of the hypotenuse, and the circumradius is sqrt(3^2 + 4^2) = 5.
An isosceles triangle has A(0, 0), B(6, 0) and C(3, 4). What does the tool return?
D = 2[0(0 - 4) + 6(4 - 0) + 3(0 - 0)] = 48. The circumcenter lies on the symmetry line x = 3 and works out to (3, 0.875). The circumradius is sqrt(9 + 0.875^2) = 3.125 and the diameter is 6.25.
What happens for A(0, 0), B(2, 0), C(4, 0)?
These points lie on one line, so D = 2[0(0 - 0) + 2(0 - 0) + 4(0 - 0)] = 0. The tool reports that the points are collinear and no finite circumcenter exists.
Questions
What is the circumcenter?
The point where the perpendicular bisectors of the sides of a triangle meet. It is the centre of the circle that passes through all three vertices.
Is the circumcenter always inside the triangle?
No. It is inside for an acute triangle, at the midpoint of the hypotenuse for a right triangle, and outside for an obtuse triangle.
Why can three collinear points not be used?
Their perpendicular bisectors are parallel, so they never meet at a single point and no finite circle passes through all three.
How is the circumradius found?
Take the distance from the circumcenter to any one of the three vertices. All three distances are equal by construction.
What does the check value D mean?
It is twice the signed area of the triangle. A zero value means collinearity, and a very small value warns that the circumcenter will be far away and sensitive to rounding.
How is this different from the incenter?
The incenter is equidistant from the sides and always lies inside the triangle. The circumcenter is equidistant from the vertices and may lie outside.
Sources
- Wikipedia: Circumcircle, Cartesian coordinates section
- UC Irvine Geometry Junkyard: Center of circle from 3 edge points
- Ratliff, Cartesian formulas for circumradius and circumcenter