Skip to content

Equation of a Circle Calculator

Find the equation of a circle in standard and general form from its centre and radius, a point, a diameter or three points, with exact fractions and a graph.

Calculator Details

Standard form:(x − 2)² + (y + 3)² = 25See results ↓

Centre and radius, centre and a point, a diameter, three points, or the general form

Your Results

Standard form: (x − 2)² + (y + 3)² = 25

Standard form

(x − 2)² + (y + 3)² = 25

General form: x² + y² − 4x + 6y − 12 = 0

  • Centre (h, k)

    (2, −3)

  • Radius r

    5

  • Diameter

    10

  • Area

    25π ≈ 78.53981634

Graph

The circle with centre (2, −3) and radius 5.

The circle (x − 2)² + (y + 3)² = 25 has centre (2, −3) and radius 5; in general form it is x² + y² − 4x + 6y − 12 = 0.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

The circle's parts, exact and as decimals
PartExactDecimal
h (centre x)22
k (centre y)−3−3
r²2525
r55
D = −2h−4−4
E = −2k66
F = h² + k² − r²−12−12
Circumference 2πr31.41592654
Area πr²25π78.53981634

How This Calculator Works

How it's calculated

A circle is every point at distance r from its centre (h, k), which the distance formula turns into (x − h)² + (y − k)² = r². Expanding gives the general form x² + y² + Dx + Ey + F = 0 with D = −2h, E = −2k and F = h² + k² − r²; completing the square goes back. A diameter's midpoint is the centre; three points give three linear equations in D, E and F.

With your numbers

Centre (h, k) = (2, −3), r² = 25
D = −2 × 2 = −4, E = −2 × −3 = 6
F = (2)² + (−3)² − 25 = −12
(x − 2)² + (y + 3)² = 25
x² + y² − 4x + 6y − 12 = 0

Frequently Asked Questions

What is the standard form of the equation of a circle?

(x − h)² + (y − k)² = r², where (h, k) is the centre and r the radius. It comes from the distance formula: every point (x, y) on the circle is exactly r from the centre. The unit circle, centre (0, 0) and radius 1, is x² + y² = 1.

How do I convert the general form to standard form?

Complete the square in x and in y. For x² + y² + 4x − 6y − 3 = 0, group (x² + 4x) + (y² − 6y) = 3, add 4 and 9 to both sides to get (x + 2)² + (y − 3)² = 16. The centre is (−2, 3) and the radius 4. In general, h = −D/2, k = −E/2 and r² = h² + k² − F.

How do I write the general form from the centre and radius?

Expand the squares and move everything to one side: D = −2h, E = −2k and F = h² + k² − r². For centre (2, −3) and radius 5 that gives x² + y² − 4x + 6y − 12 = 0.

How do I find a circle through three points?

Substitute each point into x² + y² + Dx + Ey + F = 0 to get three linear equations, then solve for D, E and F. For (0, 0), (4, 0) and (0, 6) the result is x² + y² − 4x − 6y = 0, a circle with centre (2, 3) and radius √13. Three points on one straight line have no circle through them.

What if the general form gives a negative r²?

Then the equation describes no real points, so it is not a circle (sometimes called an imaginary circle). If r² comes out as exactly 0, the equation describes a single point, the centre. The calculator says which.

How do I find the centre and radius from the ends of a diameter?

The centre is the midpoint, ((x₁ + x₂)/2, (y₁ + y₂)/2), and the radius is half the distance between the two points. For a diameter from (1, 2) to (5, 8), the centre is (3, 5) and the radius √13.

Why is my radius shown as a square root?

Because r² is not a perfect square, the radius is irrational, and the exact form is clearer than a rounded decimal. The calculator simplifies it, so √18 shows as 3√2 and √(9/2) as 3√2/2, and gives the decimal beside it.

Exact fractions from the decimals you type (0.5 becomes 1/2) and the radius as a simplified square root; decimals to 10 significant figures. Not included: circles written with a leading coefficient other than 1 (divide through first), parametric and polar forms, ellipses and other conics, and tangent lines.

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:

  1. Group the x terms and the y terms, and move the constant: (x² + 4x) + (y² − 6y) = 3.
  2. Add the square of half of each linear coefficient to both sides: (4/2)² = 4 and (−6/2)² = 9.
  3. (x² + 4x + 4) + (y² − 6y + 9) = 3 + 4 + 9.
  4. 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.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy