How it’s calculated
A circle with center (h, k) and radius r is the set of points whose distance from the center is r. Squaring the distance formula gives the standard form. Multiplying it out gives the general form.
Completing the square turns the general form into the standard form: group the x terms and the y terms, add (D/2)² and (E/2)² to both sides, and factor. If r² comes out zero the "circle" is a single point; if it is negative there is no real circle.
Through three points the center is where the perpendicular bisectors meet. With d = 2[x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)], the center is h = [(x₁² + y₁²)(y₂ − y₃) + (x₂² + y₂²)(y₃ − y₁) + (x₃² + y₃²)(y₁ − y₂)] ÷ d and k = [(x₁² + y₁²)(x₃ − x₂) + (x₂² + y₂²)(x₁ − x₃) + (x₃² + y₃²)(x₂ − x₁)] ÷ d. If d is 0 the points are on a line (or repeated) and no circle exists.
Example: center (2, −3) and radius 5 give (x − 2)² + (y + 3)² = 25, which expands to x² + y² − 4x + 6y − 12 = 0 (D = −4, E = 6, F = 4 + 9 − 25 = −12). The defaults show the reverse: x² + y² − 6x + 4y − 12 = 0 has center (3, −2) and r² = 9 + 4 + 12 = 25, so r = 5.
Frequently asked questions
How do I find the center and radius from x² + y² + Dx + Ey + F = 0?
Complete the square: the center is (−D/2, −E/2) and r² = (D/2)² + (E/2)² − F. If r² is not positive there is no circle.
What if my equation has 2x² + 2y² in it?
Divide every term by that coefficient first so x² and y² each have coefficient 1, then enter D, E and F.
Can any three points define a circle?
Any three different points that are not on one straight line. Three collinear points have no circle through them, and the calculator says so.
What is the difference between standard and general form?
Standard form shows the center and radius at a glance. General form is the expanded version with no brackets, which is what you often get from a problem or a computer algebra system.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- Intermediate Algebra 2e, §11.1 Distance and Midpoint Formulas; Circles (standard and general form of a circle, completing the square) — OpenStax
- College Algebra 2e, §2.5 Quadratic Equations (completing the square) — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator