Formula and method for the circumcenter
The circumcenter of a triangle is the point that is equidistant from all three vertices. It is the unique intersection of the three perpendicular bisectors of the triangle's sides, and it marks the center of the circumcircle — the circle that passes through all three vertices.
How the calculation works
Given vertices A(x₁, y₁), B(x₂, y₂), and C(x₃, y₃), the circumcenter (Ux, Uy) is found by solving the system formed by two perpendicular bisectors:
- D = 2 × [x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂)]
- Ux = [(x₁²+y₁²)(y₂−y₃) + (x₂²+y₂²)(y₃−y₁) + (x₃²+y₃²)(y₁−y₂)] / D
- Uy = [(x₁²+y₁²)(x₃−x₂) + (x₂²+y₂²)(x₁−x₃) + (x₃²+y₃²)(x₂−x₁)] / D
The circumradius R is simply the distance from (Ux, Uy) to any one of the three vertices — the result is identical for all three by construction. If D = 0, the three points are collinear and no triangle (or circumcenter) exists.
Reading the triangle type from the circumcenter
The circumcenter's position relative to the triangle tells you its angle classification: it falls inside an acute triangle (all angles under 90°), lands exactly on the midpoint of the hypotenuse for a right triangle, and sits outside an obtuse triangle (one angle over 90°). This calculator determines the type directly from the side lengths using the law of cosines relationship (a² + b² vs. c² for the longest side c), which avoids floating-point ambiguity near the boundary.
Common mistakes
- Repeating or collinear points: if two vertices coincide, or all three lie on one line, there is no valid triangle and D = 0.
- Confusing circumcenter with centroid or incenter: the centroid (average of the three vertices) and incenter (intersection of angle bisectors) are different triangle centers and generally sit at different points than the circumcenter, except in equilateral triangles where all three coincide.
- Mixed units or scales: use the same unit for every x and y coordinate; the calculator treats all inputs as plain numbers in one consistent coordinate system.
Real-world applications
- Finding the center and radius of a circle that passes through three known points (surveying, CAD, and CNC work)
- Placing a facility or sensor equidistant from three fixed locations
- Triangle classification in computational geometry and mesh-quality checks
- Geometry coursework on perpendicular bisectors, triangle centers, and circumscribed circles