Equation of a Circle Calculator
Enter center and radius, three points on the circle, or general form coefficients to find the equation of a circle in both standard and general form.
⭕ What is the Equation of a Circle?
The equation of a circle is a mathematical expression that describes all points in a plane that are a fixed distance (the radius) from a fixed point (the center). The standard form is (x − h)² + (y − k)² = r², where (h, k) is the center and r is the radius. This equation is derived directly from the Pythagorean theorem applied to the distance from any point (x, y) on the circle to the center (h, k).
There are three common situations where you need to find the equation of a circle. First, you may know the center and radius directly, in which case you substitute into the standard form immediately. Second, you may have three specific points that lie on the circle (for example, three measured coordinates from a physical object or a geometry problem), in which case you solve a system of linear equations to recover h, k, and r. Third, you may have a circle equation given in expanded general form x² + y² + Dx + Ey + F = 0, and you need to convert it back to standard form by completing the square.
The equation of a circle is widely used across mathematics and applied fields. In analytic geometry, it is the simplest conic section. In physics, circular motion and orbital paths are described using circle equations in Cartesian or polar coordinates. In computer graphics, circles and arcs are defined by their equations for rasterization and collision detection. In GPS and telecommunications, signal coverage areas are modeled as circles in 2D coordinate systems, and the circle equation determines whether a point (a receiver) is within range.
A key distinction is between the circle (the boundary, the set of points at exactly distance r from center) and the disk (the filled region, all points at distance at most r). The equation of a circle describes the boundary. The general form x² + y² + Dx + Ey + F = 0 can also describe a single point (if r² = 0) or have no real solutions (if r² is negative, called an imaginary circle). This calculator checks for these cases and reports an error if the coefficients do not describe a real circle.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
Example 1 - Circle with center (3, −2) and radius 5
Find the standard and general form for center (3, −2), radius 5
Example 2 - Circle through three points (1, 0), (−1, 0), (0, 1)
Find the circle through (1, 0), (−1, 0), and (0, 1)
Example 3 - Convert general form x² + y² − 4x + 6y − 3 = 0
Find center and radius from D = −4, E = 6, F = −3
❓ Frequently Asked Questions
🔗 Related Calculators
What is the standard form of the equation of a circle?
The standard form of a circle with center (h, k) and radius r is (x - h)^2 + (y - k)^2 = r^2. Each term squares the distance from a point (x, y) to the center in one coordinate. Together they define the set of all points exactly r units from the center. For a circle centered at (2, -3) with radius 5: (x - 2)^2 + (y + 3)^2 = 25.
What is the general form of the equation of a circle?
The general form is x^2 + y^2 + Dx + Ey + F = 0, where D, E, F are constants. This is obtained by expanding the standard form. Center: h = -D/2, k = -E/2. Radius: r = sqrt(D^2/4 + E^2/4 - F). For the circle (x - 3)^2 + (y + 2)^2 = 16: D = -6, E = 4, F = 9 + 4 - 16 = -3. General form: x^2 + y^2 - 6x + 4y - 3 = 0.
How do you find the equation of a circle from three points?
Substitute each point into (x - h)^2 + (y - k)^2 = r^2. Subtracting pairs of equations eliminates r^2 and gives two linear equations in h and k. Solve this 2x2 system by Cramer's rule or elimination. Example: points (1, 0), (-1, 0), (0, 1). The system gives h = 0, k = 0, r = 1. Equation: x^2 + y^2 = 1.
What is the equation of a circle centered at the origin?
A circle centered at the origin (0, 0) with radius r has equation x^2 + y^2 = r^2. The standard form simplifies because h = 0 and k = 0, so (x - 0)^2 + (y - 0)^2 = r^2 reduces to x^2 + y^2 = r^2. The unit circle (r = 1) has equation x^2 + y^2 = 1, the foundation of all trigonometric definitions.
How do you convert from general form to standard form?
Complete the square for x and y separately. Group x terms and y terms: (x^2 + Dx) + (y^2 + Ey) = -F. Add (D/2)^2 and (E/2)^2 to both sides: (x + D/2)^2 + (y + E/2)^2 = D^2/4 + E^2/4 - F. This gives center (-D/2, -E/2) and r^2 = D^2/4 + E^2/4 - F. If r^2 is negative, no real circle exists.
What happens if the three points are collinear?
If the three points lie on the same line, no finite circle passes through all three. The calculator detects this by checking whether the determinant of the 2x2 coefficient matrix is zero (or near zero). Collinear points define a line, not a circle. In the degenerate sense, a line can be considered a circle of infinite radius, but this calculator works only with finite circles.
How many circles pass through two given points?
Infinitely many circles pass through any two distinct points. The centers of all such circles lie on the perpendicular bisector of the segment connecting the two points. To uniquely determine a circle, you need a third non-collinear point, or additional information such as the radius or the center's location.
What does it mean if r^2 is negative in the general form?
If D^2/4 + E^2/4 - F is negative, the equation x^2 + y^2 + Dx + Ey + F = 0 has no real solutions. It describes an imaginary circle. If it equals zero, it describes a single point (a circle of radius 0). Only when r^2 is strictly positive does the equation describe a real circle. This calculator will report an error for non-positive r^2.
What is the equation of a circle with diameter endpoints?
If a circle has diameter endpoints (x1, y1) and (x2, y2), the center is the midpoint h = (x1 + x2)/2, k = (y1 + y2)/2, and the radius is half the distance between the endpoints: r = sqrt((x2 - x1)^2 + (y2 - y1)^2) / 2. Enter h, k, r in the Center and Radius mode. Example: endpoints (2, 0) and (8, 0) give center (5, 0), radius 3, equation (x - 5)^2 + y^2 = 9.
How is the equation of a circle used in coordinate geometry?
In coordinate geometry, the equation of a circle lets you determine whether a given point is inside, on, or outside the circle. Substitute (x, y) into (x - h)^2 + (y - k)^2 compared to r^2. If the result is less than r^2, the point is inside. Equal to r^2 means on the circle. Greater than r^2 means outside. This is used in computational geometry, collision detection in games, and GPS signal coverage modeling.
What is the difference between a circle and an ellipse equation?
A circle is a special case of an ellipse where both semi-axes are equal. The standard circle equation (x - h)^2 + (y - k)^2 = r^2 has the same coefficient for both squared terms. An ellipse has different coefficients: (x - h)^2 / a^2 + (y - k)^2 / b^2 = 1, where a is not equal to b. When a = b = r, the ellipse becomes a circle.
How do you find where a line intersects a circle?
To find intersection points, substitute the line equation (y = mx + c or x = constant) into the circle equation and solve the resulting quadratic. The discriminant of the quadratic determines the number of intersections: two distinct roots = two intersection points (secant), one repeated root = tangent (one point), negative discriminant = no real intersections. This calculator finds the circle equation; for intersections, use the results with substitution.