Standard Form to General Form of a Circle Calculator
Enter the center coordinates (h, k) and the radius r of your circle to convert its equation from standard form into general form. The calculator shows every expansion step, outputs the coefficients D, E, and F, and writes the full general-form equation ready to copy into your work.
Formula
Worked example
Circle with center (3, -2) and radius 5: standard form (x - 3)^2 + (y + 2)^2 = 25. Expanding: x^2 - 6x + 9 + y^2 + 4y + 4 = 25, so x^2 + y^2 - 6x + 4y - 12 = 0. Thus D = -6, E = 4, F = -12.
What are the two forms of a circle equation?
A circle in the xy-plane can be written in two equivalent algebraic forms. Standard form (also called center-radius form) is (x - h)^2 + (y - k)^2 = r^2, where (h, k) is the center and r is the radius. You can read the center and radius directly from the equation. General form is x^2 + y^2 + Dx + Ey + F = 0, where D, E, and F are constants. The center and radius are hidden inside those constants and must be recovered by completing the square or using the formulas h = -D/2, k = -E/2, r = sqrt((D/2)^2 + (E/2)^2 - F). General form arises naturally when you expand and simplify the standard form algebraically, or when a system of equations produces a circle equation as a result.
How to convert standard form to general form
Start with (x - h)^2 + (y - k)^2 = r^2. Expand the first bracket: (x - h)^2 = x^2 - 2hx + h^2. Expand the second bracket: (y - k)^2 = y^2 - 2ky + k^2. Place everything on the left: x^2 - 2hx + h^2 + y^2 - 2ky + k^2 - r^2 = 0. Collect the constant terms: F = h^2 + k^2 - r^2. Rename the linear coefficients D = -2h and E = -2k. The result is x^2 + y^2 + Dx + Ey + F = 0. When h and k are fractions or decimals, multiplying everything out carefully is the only tedious step, which is what this calculator handles for you.
Going back: general form to standard form
To reverse the conversion, complete the square on x and y separately. Group the x-terms: x^2 + Dx = (x + D/2)^2 - (D/2)^2. Group the y-terms: y^2 + Ey = (y + E/2)^2 - (E/2)^2. Substitute back and move constants to the right: (x + D/2)^2 + (y + E/2)^2 = (D/2)^2 + (E/2)^2 - F. Now the standard form is visible, with center (-D/2, -E/2) and radius sqrt((D/2)^2 + (E/2)^2 - F). The expression under the square root must be positive for a real circle; zero gives a single point, and a negative value means no real circle exists for those coefficients.
Where does each form appear?
Standard form is preferred in geometry and trigonometry because the center and radius jump out immediately. General form is preferred in algebra and linear-algebra settings because it fits neatly into polynomial or matrix equations, makes it easy to check whether a point lies on the circle by substituting its coordinates, and arises naturally from distance conditions and simultaneous equations. Both forms appear frequently in coordinate-geometry coursework and in computer graphics where circles are described algebraically.
Standard form vs general form of a circle
| Property | Standard form | General form |
|---|---|---|
| Equation template | (x - h)^2 + (y - k)^2 = r^2 | x^2 + y^2 + Dx + Ey + F = 0 |
| Center x | h (read directly) | -D/2 |
| Center y | k (read directly) | -E/2 |
| Radius | r (read directly) | sqrt((D/2)^2 + (E/2)^2 - F) |
| Coefficient D | -2h | D |
| Coefficient E | -2k | E |
| Constant F | h^2 + k^2 - r^2 | F |
| Circle through origin? | h^2 + k^2 = r^2 | F = 0 |
Both equations describe the same circle. The table shows how each parameter maps between the two forms.
Frequently asked questions
What is the general form of a circle equation?
General form is x^2 + y^2 + Dx + Ey + F = 0, where D, E, and F are real-number constants. Unlike standard form, the center and radius are not visible directly: the center is (-D/2, -E/2) and the radius is sqrt((D/2)^2 + (E/2)^2 - F). Every circle with a finite center and positive radius can be written in this form.
How do I find D, E, and F from center and radius?
Given center (h, k) and radius r, the three coefficients are D = -2h, E = -2k, and F = h^2 + k^2 - r^2. For example, if the center is (3, -2) and the radius is 5, then D = -6, E = 4, and F = 9 + 4 - 25 = -12, giving x^2 + y^2 - 6x + 4y - 12 = 0.
How do I find the radius from the general form?
Use r = sqrt((D/2)^2 + (E/2)^2 - F). For example, if the general form is x^2 + y^2 - 6x + 4y - 12 = 0, then D = -6, E = 4, F = -12, so r = sqrt((-3)^2 + 2^2 - (-12)) = sqrt(9 + 4 + 12) = sqrt(25) = 5.
Can I find the general form if I only know the diameter endpoints?
Yes. Find the center by averaging the coordinates of the two endpoints: h = (x1 + x2) / 2, k = (y1 + y2) / 2. Find the radius using the distance formula: r = sqrt((x2 - x1)^2 + (y2 - y1)^2) / 2. Then apply D = -2h, E = -2k, F = h^2 + k^2 - r^2 as normal.
What does the value of F tell me about the origin?
F = h^2 + k^2 - r^2, which is the value of the left-hand side of the general-form equation when (x, y) = (0, 0). If F < 0, the origin satisfies the inequality x^2 + y^2 + Dx + Ey + F < 0, meaning it lies inside the circle. If F > 0, the origin lies outside. If F = 0, the circle passes exactly through the origin.
Is general form unique for a given circle?
Yes, because the x^2 and y^2 coefficients are both exactly 1. If you multiply the general-form equation by any non-zero constant, the equation still describes the same circle, but by convention the general form has leading coefficient 1. This makes D, E, and F unique for any specific circle.