Circle Through Three Points Calculator

Circle Through Three Points Calculator

Leading AI Skill PRO

Enter Calculation

Formula

(x−h)2+(y−k)2=r2where{D=2[x1(y2−y3)+x2(y3−y1)+x3(y1−y2)]h=S1(y2−y3)+S2(y3−y1)+S3(y1−y2)Dk=S1(x3−x2)+S2(x1−x3)+S3(x2−x1)Dr=(x1−h)2+(y1−k)2\begin{gathered} (x-h)^2 + (y-k)^2 = r^2 \\[1.5em] \text{where}\quad \left\{ \begin{aligned} D &= 2\left[ x_1(y_2-y_3) + x_2(y_3-y_1) + x_3(y_1-y_2) \right] \\ h &= \frac{S_1(y_2-y_3) + S_2(y_3-y_1) + S_3(y_1-y_2)}{D} \\ k &= \frac{S_1(x_3-x_2) + S_2(x_1-x_3) + S_3(x_2-x_1)}{D} \\ r &= \sqrt{(x_1-h)^2 + (y_1-k)^2} \end{aligned} \right. \end{gathered}
Usage stats

Advertisement

Results

Circle Equation
(x − 2)² + (y − 2)² = 2.828²
center and radius from 3 points
Center x (h) 2
Center y (k) 2
Radius (r) 2.8284
Area 25.1327
Circumference 17.7715

Report an error on this page

What This Calculator Does

Given three points in the plane, there is exactly one circle that passes through all of them — provided the points are not on a single straight line. This tool solves for that unique circle, returning its center (h, k), radius r, the standard equation \((x - h)^2 + (y - k)^2 = r^2\), plus the circle's area and circumference.

How to Use It

Enter the x and y coordinates of all three points. Click calculate. The result shows the full circle equation and a table with the center coordinates, radius, area, and circumference. If the three points happen to be collinear, the calculator tells you that no unique circle exists.

The Formula Explained

Each point on a circle satisfies $$(x - h)^2 + (y - k)^2 = r^2.$$ Subtracting the equations pairwise eliminates the squared terms and gives two linear equations in \(h\) and \(k\) — geometrically these are the perpendicular bisectors of two chords, which intersect at the center. Using \(S = x^2 + y^2\) for each point and the determinant \(D = 2[x_1(y_2-y_3) + x_2(y_3-y_1) + x_3(y_1-y_2)]\), the center is found directly. If \(D = 0\) the points are collinear. The radius is then simply the distance from the center to any point.

Advertisement
Circle passing through three labeled points with center and radius marked
A unique circle is defined by any three non-collinear points, with center (h,k) and radius r.

Worked Example

Take the points (0,0), (4,0) and (0,4). By symmetry the center is (2,2). The radius is $$\sqrt{(0-2)^2 + (0-2)^2} = \sqrt{8} \approx 2.828.$$ So the equation is \((x - 2)^2 + (y - 2)^2 = 8\), with area \(\approx 25.13\) and circumference \(\approx 17.77\).

Perpendicular bisectors of two chords meeting at the circle center
The center lies where the perpendicular bisectors of two chords intersect.

How to Find the Circle by Hand: Step-by-Step

Given three points \((x_1,y_1)\), \((x_2,y_2)\), \((x_3,y_3)\), the unique circle through them is the circumcircle of the triangle they form. Follow these steps:

  1. Check collinearity. Compute \(D = 2\left[x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)\right]\). If \(D = 0\), the points lie on one straight line and no circle exists. Otherwise continue.
  2. Compute the squared distances from the origin: \(S_i = x_i^2 + y_i^2\) for \(i = 1,2,3\).
  3. Center x-coordinate: \(h = \dfrac{S_1(y_2-y_3)+S_2(y_3-y_1)+S_3(y_1-y_2)}{D}\).
  4. Center y-coordinate: \(k = \dfrac{S_1(x_3-x_2)+S_2(x_1-x_3)+S_3(x_2-x_1)}{D}\).
  5. Radius: \(r = \sqrt{(x_1-h)^2+(y_1-k)^2}\).
  6. Area and circumference: \(A = \pi r^2\) and \(C = 2\pi r\).
  7. Verify. Plug the other two points into \((x-h)^2+(y-k)^2 = r^2\). Both sides should match (allowing for rounding).

Example: points \((0,0)\), \((4,0)\), \((0,4)\).

  • \(D = 2[0(0-4)+4(4-0)+0(0-0)] = 2\cdot 16 = 32\), which is not zero.
  • \(S_1 = 0,\; S_2 = 16,\; S_3 = 16\).
  • \(h = \dfrac{0\cdot(0-4)+16(4-0)+16(0-0)}{32} = \dfrac{64}{32} = 2\).
  • \(k = \dfrac{0\cdot(0-4)+16(0-0)+16(4-0)}{32} = \dfrac{64}{32} = 2\).
  • \(r = \sqrt{(0-2)^2+(0-2)^2} = \sqrt{8} \approx 2.828\).
  • \(A = 8\pi \approx 25.13\) and \(C = 2\pi\sqrt{8} \approx 17.77\).
  • Check \((4,0)\): \((4-2)^2+(0-2)^2 = 8\). ✓

The circle equation is \((x-2)^2+(y-2)^2 = 8\).

Alternative (general form): the same circle can be written \(x^2+y^2+ax+by+c=0\). Substituting each point gives three linear equations in \(a, b, c\). Then \(h = -a/2\), \(k = -b/2\) and \(r^2 = h^2+k^2-c\). (Here \(a, b, c\) are not the determinant \(D\) used above.)

Comparison of Different Point Configurations

The table shows how the position of the circumcenter depends on the triangle's shape. All values are computed with the formulas above.

Points Center (h, k) Radius r Triangle type Center location
(0,0), (4,0), (0,4) (2, 2) √8 ≈ 2.828 Right (right angle at origin) On the triangle, at the midpoint of the hypotenuse
(0,0), (6,0), (3,5) (3, 1.6) 3.4 Acute (isosceles) Inside the triangle
(0,0), (4,0), (2,1) (2, −1.5) 2.5 Obtuse (obtuse angle at (2,1)) Outside the triangle, beyond the longest side
(5,0), (0,5), (−5,0) (0, 0) 5 Right (right angle at (0,5)) On the triangle, at the midpoint of the hypotenuse (the origin)
(0,0), (1,1), (2,2) None None Degenerate (collinear) D = 0, so no circle exists

Rule of thumb: an acute triangle has its circumcenter inside, a right triangle on the hypotenuse, and an obtuse triangle outside.

Advertisement

Key Terms: Circumcircle, Circumcenter and Chord

  • Circumcircle: the unique circle that passes through all three vertices of a triangle.
  • Circumcenter: the center of the circumcircle, where the perpendicular bisectors of the triangle's sides meet.
  • Circumradius: the radius of the circumcircle, equal to the distance from the circumcenter to any of the three points.
  • Chord: a line segment joining two points on a circle. Each side of the triangle is a chord of its circumcircle.
  • Perpendicular bisector: the line that cuts a segment at its midpoint at a right angle. Every point on it is equally far from the segment's endpoints, so the circumcenter lies on the perpendicular bisector of every chord.
  • Collinear points: points that lie on one straight line. Three collinear points have no circumcircle.
  • Standard form: \((x-h)^2+(y-k)^2=r^2\), which shows the center \((h,k)\) and radius \(r\) directly.
  • General form: \(x^2+y^2+ax+by+c=0\), obtained by expanding the standard form, with \(h=-a/2\), \(k=-b/2\).
  • Determinant D: \(D = 2[x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2)]\). Its absolute value is four times the triangle's area, so \(D = 0\) exactly when the points are collinear. It is also the denominator for \(h\) and \(k\).
  • Thales' theorem: if one side of the triangle is a diameter of the circle, the angle opposite it is a right angle. Equivalently, for a right triangle the circumcenter is the midpoint of the hypotenuse, and the circumradius is half its length.

FAQ

What if my points are in a straight line? Then no unique circle passes through them — the perpendicular bisectors are parallel (\(D = 0\)) and the tool returns a warning.

Can I use negative or decimal coordinates? Yes. Any real coordinates work, including negatives and decimals.

Why is the center sometimes outside the triangle? The circumcenter (center of this circle) lies outside the triangle whenever the triangle is obtuse — this is normal.

Last updated:

Most popular in Geometry

View all Geometry calculators