User Rating 0.0 ★★★★★
Total Usage 0 times
Point 1
Point 2
Point 3
Is this tool helpful?

Your feedback helps us improve.

★ ★ ★ ★ ★

About

Determining the center of a circle is a foundational problem in coordinate geometry with direct applications in surveying, CNC machining, computer vision, and structural engineering. Given three non-collinear points, the circumcenter (h, k) is the unique point equidistant from all three. The calculation requires solving a 2×2 linear system derived from perpendicular bisectors. An error in sign or arithmetic propagates into every downstream measurement. This tool solves three common formulations: three arbitrary points, the general second-degree equation x2 + y2 + Dx + Ey + F = 0, and two diametrically opposite endpoints.

The tool validates inputs before solving. For the three-point method, it checks for collinearity via the cross-product test. For the general equation, it verifies that the discriminant D2 + E2 − 4F is strictly positive. Results are approximate to 6 decimal places; rounding artifacts may appear for irrational coordinates. All solutions include a scaled interactive graph for visual verification.

circle center circumcenter circle equation geometry calculator radius finder three points circle coordinate geometry

Formulas

The primary method solves for the circumcenter of three points. Given points P1(x1, y1), P2(x2, y2), P3(x3, y3), each point satisfies the standard circle equation:

(x − h)2 + (y − k)2 = r2

Expanding and subtracting pairs eliminates the squared terms, yielding two linear equations. The determinant-based solution is:

h = 12A [(x12 + y12)(y2 − y3) + (x22 + y22)(y3 − y1) + (x32 + y32)(y1 − y2)]
k = 12A [(x12 + y12)(x3 − x2) + (x22 + y22)(x1 − x3) + (x32 + y32)(x2 − x1)]

where A = x1(y2 − y3) + x2(y3 − y1) + x3(y1 − y2). If A = 0, the three points are collinear and no circle exists. The radius is then computed as:

r = √(x1 − h)2 + (y1 − k)2

For the general equation method, given x2 + y2 + Dx + Ey + F = 0, complete the square to obtain center (−D2, −E2) and r = √D24 + E24 − F. The discriminant D2 + E2 − 4F must be > 0 for a real circle. For diameter endpoints P1(x1, y1) and P2(x2, y2): center = (x1 + x22, y1 + y22), and r = 12√(x2 − x1)2 + (y2 − y1)2.

Variable legend: h, k = center coordinates. r = radius. A = twice the signed area of the triangle formed by the three input points. D, E, F = coefficients of the general circle equation.

Reference Data

Circle FormEquationCenterRadiusUse Case
Standard Form(x − h)2 + (y − k)2 = r2(h, k)rDirect read-off of center & radius
General Formx2 + y2 + Dx + Ey + F = 0(−D2, −E2)√h2 + k2 − FAlgebraic manipulation, curve fitting
Parametric Formx = h + rcos(t), y = k + rsin(t)(h, k)rAnimation paths, CNC tool paths
Polar Form (origin-centered)r = a(0, 0)aRadar plots, physics
Polar Form (general)r2 − 2rr0cos(Ξ − φ) = a2 − r02(r0, φ)aOrbital mechanics
3-Point (Circumscribed)Perpendicular bisector intersectionCircumcenterCircumradiusTriangle circumscription, surveying
Diameter EndpointsMidpoint formulaMidpoint of endpointsHalf distanceQuick field measurement
Unit Circlex2 + y2 = 1(0, 0)1Trigonometry reference
IncircleAngle bisector intersectionIncenterInradiusMaximum inscribed circle
ExcircleExternal bisector intersectionExcenterExradiusTriangle geometry proofs
Osculating CircleCurvature-based at point on curveCenter of curvature1ÎșRoad design, optics
Nine-Point CircleMidpoints, feet of altitudes, midpoints of vertices to orthocenterNine-point centerR2Advanced triangle geometry
Apollonius CircleLocus of constant distance ratio to two pointsOn line through fociDepends on ratioAntenna placement, optics
Great Circle (Sphere)Plane through sphere centerSphere centerSphere radiusNavigation, geodesy
Small Circle (Sphere)Plane not through centerProjected centerRsin(Ξ)Latitude lines, cone sections

Frequently Asked Questions

When three points lie on the same straight line, the determinant A equals 0, making the circumcenter undefined (it lies at infinity). The calculator detects this by computing the cross product (x2 − x1)(y3 − y1) − (x3 − x1)(y2 − y1) and displays an error if the absolute value is below 1e-10. In practice, nearly-collinear points produce an extremely large radius, which can cause numerical instability.
The general form x2 + y2 + Dx + Ey + F = 0 represents a real circle only when the discriminant D2 + E2 − 4F > 0. If it equals zero, the equation defines a single point (degenerate circle). If negative, no real solution exists. The calculator checks this condition and reports the specific failure mode.
IEEE 754 double-precision floats provide approximately 15-17 significant digits. For typical coordinate values (magnitude < 10,000), the center coordinates are accurate to at least 10 decimal places. Precision degrades when input points are nearly collinear or when the radius is extremely large relative to the point spacing. The tool displays 6 decimal places by default, which exceeds the precision of most physical measurements.
This calculator uses Euclidean (flat-plane) geometry. For small areas (under ~50 km span), the error from Earth's curvature is typically below 0.1%. For larger spans, you must project coordinates into a local Cartesian system (e.g., UTM) first, then apply the result. Direct use of raw lat/lon values produces distorted results because 1° of longitude varies from 111.32 km at the equator to 0 at the poles.
Expand (x − h)2 + (y − k)2 = r2 to get x2 + y2 − 2hx − 2ky + (h2 + k2 − r2) = 0. Therefore D = −2h, E = −2k, and F = h2 + k2 − r2. The calculator outputs both forms automatically.
The circumcenter (O), centroid (G), and orthocenter (H) are collinear on the Euler line, with G dividing OH in ratio 1:2. The nine-point center (N) is the midpoint of OH. For an equilateral triangle, all four centers coincide. The circumcenter lies inside the triangle only if all angles are acute. For obtuse triangles, it lies outside, opposite the obtuse angle.