Last verified · v1.0
Calculator · math
Circle Center Calculator (3 Points)
Calculate the center (h, k) of a circle passing through any three points using the circumcenter formula.
Inputs
Selected Output
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How the Circle Center Calculator Works
Given any three non-collinear points on a plane, exactly one circle passes through all three. The circle center calculator determines the coordinates (h, k) of that circle's center — called the circumcenter — using a closed-form algebraic formula derived from the intersection of perpendicular bisectors.
The Core Formula
For three points A = (x1, y1), B = (x2, y2), and C = (x3, y3), compute the following three quantities:
Determinant D: D = 2 [ x1(y2 − y3) − y1(x2 − x3) + x2·y3 − x3·y2 ]
Center x-coordinate (h): h = [ (x1² + y1²)(y2 − y3) + (x2² + y2²)(y3 − y1) + (x3² + y3²)(y1 − y2) ] ÷ D
Center y-coordinate (k): k = [ (x1² + y1²)(x3 − x2) + (x2² + y2²)(x1 − x3) + (x3² + y3²)(x2 − x1) ] ÷ D
Derivation and Geometric Meaning
Every point on a circle is equidistant from the center. For three points A, B, and C on a circle, the center lies simultaneously on the perpendicular bisector of segment AB and the perpendicular bisector of segment BC. Setting the squared distance equations |PA|² = |PB|² and |PB|² = |PC|² equal and solving the resulting 2×2 linear system yields the formulas above. The denominator D equals twice the signed area of triangle ABC; when D = 0 the points are collinear and no finite circle exists.
Worked Example
Find the center of the circle passing through A = (1, 1), B = (4, 2), and C = (1, 5).
- D = 2[1(2−5) − 1(4−1) + 4·5 − 1·2] = 2[−3 − 3 + 20 − 2] = 24
- Squared norms: x1²+y1² = 2, x2²+y2² = 20, x3²+y3² = 26
- h = [(2)(−3) + (20)(4) + (26)(−1)] ÷ 24 = [−6 + 80 − 26] ÷ 24 = 48 ÷ 24 = 2
- k = [(2)(−3) + (20)(0) + (26)(3)] ÷ 24 = [−6 + 0 + 78] ÷ 24 = 72 ÷ 24 = 3
Center = (2, 3). Radius = √[(2−1)² + (3−1)²] = √5 ≈ 2.236 units.
Variable Reference
- x1, y1 — Coordinates of Point 1 on the circle
- x2, y2 — Coordinates of Point 2 on the circle
- x3, y3 — Coordinates of Point 3 on the circle
- h — x-coordinate of the circle center (primary output)
- k — y-coordinate of the circle center (primary output)
- D — Determinant equal to twice the signed area of triangle ABC; D ≠ 0 required
Real-World Applications
Civil engineers fit road alignment curves from three GPS survey points using this formula. Mechanical engineers inspect circular machined parts by touching three points with a coordinate probe. Astronomers compute orbital arc parameters from three timed observations. Computer graphics pipelines reconstruct smooth circular arcs from digitized point data. Medical imaging software applies the circumcenter algorithm to measure corneal and arterial curvature from three anatomical landmarks. According to Paul's Online Math Notes — Algebra: Circles, expressing a circle in standard form (x − h)² + (y − k)² = r² makes (h, k) the essential parameters for all further circle analysis, including tangent lines, arc length, and sector area. West Texas A&M University College Algebra — Circles confirms that identifying the center is the critical first step from which radius, diameter, and equation transformations follow directly.
Numerical Accuracy Notes
When D is very small — indicating that the three points are nearly collinear or nearly coincident — floating-point division amplifies rounding errors and the computed center may be unreliable. For maximum accuracy, choose three input points that are well-separated and form a roughly equilateral triangle, which maximizes |D| and minimizes error propagation through the formula. A simple validation check is to compute r = √[(x1 − h)² + (y1 − k)²] and verify that all three input points lie at the same distance from the computed center, confirming numerical accuracy.
Reference