Circle Equation Calculator

A circle with centre (h, k) and radius r has the equation (x − h)² + (y − k)² = r². For centre (3, −2) and radius 5, the equation is (x − 3)² + (y + 2)² = 25, or x² + y² − 6x + 4y − 12 = 0 in general form. The point (6, 2) lies exactly on it.

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is the Equation of a Circle?

A circle is the set of all points that are a fixed distance, the radius, from a fixed centre. In coordinate geometry that definition becomes an equation: a point (x, y) is on the circle exactly when its distance from the centre (h, k) equals r. Squaring the distance formula gives the standard form, (x − h)² + (y − k)² = r², and expanding it gives the general form, x² + y² + Dx + Ey + F = 0.

With the equation in hand, you can test any point: plug in its coordinates and compare. A point is inside the circle if its distance from the centre is less than r, on the circle if it equals r and outside if it is greater.

Standard and General Forms

FormEquationFor centre (3, −2), r = 5
Standard(x − h)² + (y − k)² = r²(x − 3)² + (y + 2)² = 25
Generalx² + y² + Dx + Ey + F = 0x² + y² − 6x + 4y − 12 = 0
Centre from general form(−D ÷ 2, −E ÷ 2)(3, −2)
Radius from general form√(D²/4 + E²/4 − F)5

Circle Equation Formulas

(x − h)² + (y − k)² = r² x² + y² − 2h·x − 2k·y + (h² + k² − r²) = 0 Point position: compare d = √[(px − h)² + (py − k)²] with r
  • (h, k) is the centre and r the radius.
  • In the general form, D = −2h, E = −2k and F = h² + k² − r².
  • Area is πr² and circumference 2πr. See the circle calculator.
  • The tangent line at a point (px, py) on the circle is perpendicular to the radius at that point.

How Is It Calculated? Worked Examples

Centre (3, −2), Radius 5

  1. Standard form: (x − 3)² + (y − (−2))² = 25, so (x − 3)² + (y + 2)² = 25.
  2. Expand: x² − 6x + 9 + y² + 4y + 4 = 25.
  3. General form: x² + y² − 6x + 4y − 12 = 0.
  4. Area = 25π ≈ 78.54 and circumference = 10π ≈ 31.42.

Testing Points

PointDistance from centrePosition
(6, 2)√(9 + 16) = 5On the circle
(3, 0)2Inside
(9, −2)6Outside

From the General Form to the Centre and Radius

For x² + y² − 6x + 4y − 12 = 0, D = −6 and E = 4. The centre is (3, −2), and r = √(9 + 4 + 12) = √25 = 5.

The Tangent at (6, 2)

The radius to (6, 2) has slope (2 + 2) ÷ (6 − 3) = 4/3, so the tangent has slope −3/4. Its equation is y − 2 = −0.75(x − 6), or y = −0.75x + 6.5.

Coverage Area

A transmitter at (3, −2) with a range of 5 km covers every point satisfying (x − 3)² + (y + 2)² ≤ 25. A house at (9, −2) is 6 km away, so it is out of range.

How to Use This Circle Equation Calculator

  1. Enter the centre coordinates h and k.
  2. Enter the radius r (positive).
  3. Enter the coordinates of a test point.
  4. Read the standard and general equations, the area, circumference and whether the point is inside, on or outside the circle.

Where Circle Equations Are Used

  • Coordinate geometry: intersections of circles and lines, tangents and chords.
  • Computer graphics and games: hit-testing a click or collision against a circular region.
  • Engineering and design: arcs, wheels, gears and circular parts in CAD.
  • Radio and sensing: coverage areas of transmitters, sensors and alarms.
  • Navigation: position fixes by distance from known points.

What Are the Most Common Mistakes With the Circle Equation Calculator?

  • Sign errors in the centre. A centre of (3, −2) gives (x − 3)² + (y + 2)².
  • Using r instead of r². The right-hand side is the square of the radius.
  • Forgetting the F term. In the general form, F = h² + k² − r².
  • A negative r². If D²/4 + E²/4 − F is negative, there is no real circle.
  • Confusing inside and on. Compare the distance with r, with a tolerance for rounding.
  • Applying it to ellipses. If the x² and y² coefficients differ, it is not a circle.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the equation of a circle?

(x − h)² + (y − k)² = r², where (h, k) is the centre and r is the radius.

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

For x² + y² + Dx + Ey + F = 0, the centre is (−D ÷ 2, −E ÷ 2) and r = √(D²/4 + E²/4 − F).

How do I tell whether a point is on the circle?

Substitute it into the equation or compare its distance to the centre with r. If they are equal, the point is on the circle.

What is the equation of a circle centred at the origin?

x² + y² = r². The unit circle has r = 1.

How do I find the tangent line at a point on the circle?

The tangent is perpendicular to the radius at that point, so its slope is the negative reciprocal of the radius slope.

What is the general form of a circle equation?

x² + y² + Dx + Ey + F = 0, obtained by expanding the standard form.