Equation of a circle

Topic guide · Updated 2026-11-26

Quick answer

A circle with centre (h, k) and radius r has the equation (x − h)² + (y − k)² = r². For example, (x − 2)² + (y + 1)² = 9 is a circle centred at (2, −1) with radius 3. You can type this directly into a graphing calculator without solving for y.

−8−6−4−2246810−4−224(2, -1)
  • (x-h)^2+(y-k)^2=R^2
  • (h,k)
Open in graphing calculator

From general form to standard form

x² + y² − 4x + 2y − 4 = 0. Group and complete the square in x and in y: (x² − 4x + 4) + (y² + 2y + 1) = 4 + 4 + 1, so (x − 2)² + (y + 1)² = 9. Centre (2, −1), radius 3.

Why it works

Every point (x, y) on the circle is r units from the centre. The distance formula gives √((x − h)² + (y − k)²) = r; squaring both sides gives the standard equation.

Frequently asked questions

Is a circle a function?

No. Vertical lines cross it twice, so it fails the vertical line test. Each half, y = k ± √(r² − (x − h)²), is a function.