General Form Equation of a Circle Calculator
Enter the centre (h, k) and radius r of a circle to get its general-form equation x² + y² + Dx + Ey + F = 0 with computed D, E and F coefficients.
- 1
Coefficient D = −2h
−2 × 2 = -4 - 2
Coefficient E = −2k
−2 × -3 = 6 - 3
Constant F = h² + k² − r²
2² + -3² − 5² = -12With D, E and F known, the general-form equation x² + y² + Dx + Ey + F = 0 is complete.
How does this calculator work?
Expand (x−h)² + (y−k)² = r² to get x² + y² + Dx + Ey + F = 0 where D = −2h, E = −2k, F = h² + k² − r². Enter centre and radius; get D, E, F instantly. To reverse the process (D, E, F → centre and radius), use the general-to-standard-form companion calculator.
Formula
How this is calculated
Start with the standard (centre-radius) form of a circle: (x − h)² + (y − k)² = r². Expanding the squared binomials gives x² − 2hx + h² + y² − 2ky + k² = r². Collecting all terms onto the left side produces the general form x² + y² + Dx + Ey + F = 0, where D = −2h, E = −2k and F = h² + k² − r².
The general form is useful when working with systems of equations involving multiple conics, or when fitting a circle to data points using a linear least-squares method — because D, E and F appear linearly in the equation. Converting back to standard form (to recover centre and radius) requires completing the square for x and y, which the companion general-to-standard-form calculator handles.
Note: the equation x² + y² (both squared terms with coefficient 1) represents a circle specifically, not an ellipse. F can be positive, negative or zero depending on the values of h, k and r. The condition for a real circle is that the discriminant D²/4 + E²/4 − F = r² is strictly positive, which is always satisfied here since r > 0.
Frequently asked questions
x² + y² + Dx + Ey + F = 0, where D = −2h, E = −2k and F = h² + k² − r², with (h, k) the centre and r the radius. It is obtained by expanding (x−h)² + (y−k)² = r² and moving all terms to the left.
Complete the square on x and y separately. Group: (x + D/2)² + (y + E/2)² = D²/4 + E²/4 − F. The centre is (−D/2, −E/2) and the radius is √(D²/4 + E²/4 − F). Use the companion general-to-standard-form calculator for step-by-step working.
F = h² + k² − r², so its sign depends on whether the radius is larger or smaller than the distance of the centre from the origin. Any sign is valid; only r² = D²/4 + E²/4 − F being positive is required for a real circle.
Also known as
TG we-Calculate Editorial Team. (2026). General Form Equation of a Circle Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/general-form-equation-circle-calculator
TG we-Calculate Editorial Team. "General Form Equation of a Circle Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/general-form-equation-circle-calculator.
TG we-Calculate Editorial Team, "General Form Equation of a Circle Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/general-form-equation-circle-calculator
@misc{wecalculate_general_form_equation_circle_calculator, title = {General Form Equation of a Circle Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/general-form-equation-circle-calculator}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
