Equation of a Circle Calculator

Enter a centre and radius, or a general equation, to describe the circle.

The x-coordinate of the centre.

The y-coordinate of the centre.

A radius greater than 0, like 5.

Try

Result

You enteredcentre (2,−3), r=5\text{centre } (2, -3),\ r = 5

(x−2)2+(y+3)2=25\displaystyle (x - 2)^2 + (y + 3)^2 = 25

General form

x2+y2−4x+6y−12=0\displaystyle x^2 + y^2 - 4x + 6y - 12 = 0

Centre

(2,−3)\displaystyle \left(2, -3\right)

Radius

5\displaystyle 5
Show the work
  1. Standard form of a circle

    A circle is every point at distance rr from its centre (h,k)(h, k). Here h=2h = 2, k=−3k = -3 and r=5r = 5.

    Using (x−h)2+(y−k)2=r2(x - h)^2 + (y - k)^2 = r^2

    (x−2)2+(y−(−3))2=52\left(x - 2\right)^2 + \left(y - \left(-3\right)\right)^2 = 5^2
  2. Tidy the signs and square the radius

    Subtracting a negative number adds it, and subtracting 0 leaves the variable alone. Square the radius to get the right-hand side.

    (x−2)2+(y+3)2=52=25\begin{aligned} (x - 2)^2 + (y + 3)^2 &= 5^2 \\ &= 25 \end{aligned}
  3. Expand the squares

    To reach the general form, move the radius term to the left so that the right-hand side is 0, expand both brackets and collect like terms. The expression below equals 0.

    Using (p−q)2=p2−2pq+q2(p - q)^2 = p^2 - 2pq + q^2

    (x−2)2+(y+3)2−25=x2−4x+4+y2+6y+9−25=x2+y2−4x+6y−12\begin{aligned} (x - 2)^2 + (y + 3)^2 - 25 &= x^2 - 4x + 4 + y^2 + 6y + 9 - 25 \\ &= x^2 + y^2 - 4x + 6y - 12 \end{aligned}
  4. Result

    So the circle is (x−2)2+(y+3)2=25(x - 2)^2 + (y + 3)^2 = 25. In general form this is x2+y2−4x+6y−12=0x^2 + y^2 - 4x + 6y - 12 = 0.

Worked examples

centre (2,−3), r=5\text{centre } (2, -3),\ r = 5
(x−2)2+(y+3)2=25(x - 2)^2 + (y + 3)^2 = 25

Standard form of a circle, Tidy the signs and square the radius

centre (0,0), r=5\text{centre } (0, 0),\ r = 5
x2+y2=25x^2 + y^2 = 25

Standard form of a circle, Tidy the signs and square the radius

centre (−1,4), r=3\text{centre } (-1, 4),\ r = 3
(x+1)2+(y−4)2=9(x + 1)^2 + (y - 4)^2 = 9

Standard form of a circle, Tidy the signs and square the radius

centre (0.5,0), r=2\text{centre } (0.5, 0),\ r = 2
(x−0.5)2+y2=4(x - 0.5)^2 + y^2 = 4

Standard form of a circle, Tidy the signs and square the radius

x2+y2−4x+6y−12=0x^2 + y^2 - 4x + 6y - 12 = 0
centre (2,−3), radius 5\text{centre } \left(2, -3\right),\ \text{radius } 5

Complete the square in x and y, Centre of the circle

x2+y2−25=0x^2 + y^2 - 25 = 0
centre (0,0), radius 5\text{centre } \left(0, 0\right),\ \text{radius } 5

Complete the square in x and y, Centre of the circle

x2+y2+2x−8y+8=0x^2 + y^2 + 2x - 8y + 8 = 0
centre (−1,4), radius 3\text{centre } \left(-1, 4\right),\ \text{radius } 3

Complete the square in x and y, Centre of the circle

x2+y2+2x+2y−1=0x^2 + y^2 + 2x + 2y - 1 = 0
centre (−1,−1), radius 3≈1.732051\text{centre } \left(-1, -1\right),\ \text{radius } \sqrt{3} \approx 1.732051

Complete the square in x and y, Centre of the circle