Equation of a Circle Calculator: Standard Form, General Form and Three Points
By FindMySum · Last reviewed
An equation of a circle calculator finds a circle's equation in both of its usual forms, the standard form (x − h)² + (y − k)² = r² and the general form x² + y² + Dx + Ey + F = 0, and converts between them. This one builds the circle from its centre and radius, from its centre and one point, from the two ends of a diameter, or from any three points, and draws it on a graph. It keeps every value exact, so a radius of √13 or a centre at (−1/2, 0) is shown as such, with decimals beside.
Standard form from the distance formula
A circle is the set of all points at a fixed distance r, the radius, from a fixed point (h, k), the centre. The distance formula says a point (x, y) is at distance √((x − h)² + (y − k)²) from the centre. Setting that equal to r and squaring both sides gives the standard form:
(x − h)² + (y − k)² = r²
Read the centre straight from it, remembering the signs flip: (x − 2)² + (y + 3)² = 25 has its centre at (2, −3), because y + 3 is y − (−3). The right-hand side is r², so the radius is its square root, 5.
General form
Expanding the squares and collecting every term on one side gives the general form:
x² + y² + Dx + Ey + F = 0, with D = −2h, E = −2k and F = h² + k² − r².
For the default circle, D = −4, E = 6 and F = 4 + 9 − 25 = −12, so the general form is x² + y² − 4x + 6y − 12 = 0. The general form hides the centre and radius, which is why textbooks ask you to convert it back.
Completing the square
To go from the general form to the standard form, complete the square in each variable. Take x² + y² + 4x − 6y − 3 = 0:
- Group the x terms and the y terms, and move the constant: (x² + 4x) + (y² − 6y) = 3.
- Add the square of half of each linear coefficient to both sides: (4/2)² = 4 and (−6/2)² = 9.
- (x² + 4x + 4) + (y² − 6y + 9) = 3 + 4 + 9.
- Factor: (x + 2)² + (y − 3)² = 16.
The centre is (−2, 3) and the radius 4. The shortcut is h = −D/2, k = −E/2 and r² = h² + k² − F. If r² comes out negative, the equation has no real points; if it is zero, it is a single point.
Other ways to define a circle
Centre and a point on the circle. The radius is the distance between them. With centre (−1, 4) and point (2, 0), r² = 3² + 4² = 25.
Two ends of a diameter. The centre is the midpoint of the two points and the radius half their distance. From (1, 2) to (5, 8), the midpoint is (3, 5) and the diameter has length √(16 + 36) = √52, so r² = 52 ÷ 4 = 13.
Three points. Any three points that are not on one straight line lie on exactly one circle. Substituting each point into x² + y² + Dx + Ey + F = 0 gives three linear equations in D, E and F. For (0, 0), (4, 0) and (0, 6): the first gives F = 0, the second 16 + 4D = 0 so D = −4, and the third 36 + 6E = 0 so E = −6. The circle is x² + y² − 4x − 6y = 0, with centre (2, 3) and radius √13. Geometrically, the centre is where the perpendicular bisectors of the chords meet.
Exact answers
The calculator converts the decimals you type into exact fractions, so 0.5 becomes 1/2 and 0.1 stays exactly one-tenth rather than a binary approximation. Coefficients are then exact rational numbers, and the radius is written as a simplified square root when r² isn't a perfect square: √18 becomes 3√2 and √(9/2) becomes 3√2/2. That matches the form a textbook answer key expects, while the decimal next to it is ready for measuring or plotting.
Area and circumference
Once the radius is known, the circle's size follows: area = πr² and circumference = 2πr. For the default circle, the area is 25π ≈ 78.54 square units and the circumference 10π ≈ 31.42 units. For areas and volumes of other shapes, use the area and volume calculator; for arcs and sectors of a circle, the arc length calculator.
More questions
Is x² + y² = 25 a circle?
Yes: it is (x − 0)² + (y − 0)² = 5², the circle of radius 5 centred at the origin. Any equation with x² and y² both having coefficient 1 (or the same coefficient, which you can divide out) and no xy term is a circle, a single point or nothing, depending on the sign of r².
How do I check whether a point lies on a circle?
Substitute it into the standard form. If (x − h)² + (y − k)² equals r², the point is on the circle; if it is smaller the point is inside, and if larger, outside. For the circle (x − 2)² + (y + 3)² = 25, the point (5, 1) gives 9 + 16 = 25, so it is on the circle.
What about 2x² + 2y² − 8x + 12y − 24 = 0?
Divide every term by 2 first so the squared terms have coefficient 1: x² + y² − 4x + 6y − 12 = 0. That is the default circle, centre (2, −3) and radius 5. If the x² and y² coefficients differ, the curve is an ellipse, not a circle.
Where do circle equations show up outside a maths class?
Anywhere distance from a point matters: the coverage area of a cell tower or Wi-Fi access point, the safety zone around a hazard, the path of a point on a wheel, and GPS positioning, which intersects circles (spheres in three dimensions) around satellites. Computer graphics and CNC machines use the same equation to draw arcs.
Why does completing the square work?
Because x² + bx is the start of the perfect square (x + b/2)² = x² + bx + (b/2)². Adding (b/2)² to both sides finishes the square without changing the equation's solutions. Doing it once for x and once for y turns the general form into the standard form.
Sources
This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.