Equation of a Circle Calculator

Equation of a Circle Calculator

Growing AI Skill PRO

Enter Calculation

Formula

(x−Center x)2+(y−Center y)2=Radius2\left(x - {{\text{Center }x}}\right)^2 + \left(y - {{\text{Center }y}}\right)^2 = \text{Radius}^{\,2}

Example

(x−0)2+(y−0)2=52=25\left(x - 0\right)^2 + \left(y - 0\right)^2 = 5^{\,2} = 25
Show calculation steps (1)
  1. General Form of a Circle

    x2+y2+Dx+Ey+F=0where{D=−2Center xE=−2Center yF=Center x2+Center y2−Radius2\begin{gathered} x^2 + y^2 + Dx + Ey + F = 0 \\[1.5em] \text{where}\quad \left\{ \begin{aligned} D &= -2\,{{\text{Center }x}} \\ E &= -2\,{{\text{Center }y}} \\ F &= {{\text{Center }x}}^{\,2} + {{\text{Center }y}}^{\,2} - \text{Radius}^{\,2} \end{aligned} \right. \end{gathered}

    D = -2h; E = -2k; F = h^2 + k^2 - r^2

Usage stats

Advertisement

Results

Standard Form Equation
(x − 0)² + (y − 0)² = 25
Center (0, 0), radius 5
Radius 5
Diameter 10
Circumference 31.4159
Area 78.5398
General form x² + y² + (-0)x + (-0)y + (-25) = 0

Report an error on this page

What Is the Equation of a Circle?

A circle is the set of all points in a plane that are a fixed distance — the radius r — from a fixed center point (h, k). This calculator takes the center coordinates and the radius and produces both the standard form and the general form of the circle's equation, along with its diameter, circumference, and area.

Circle on a coordinate plane showing center (h, k), radius r to a point (x, y)
A circle defined by its center (h, k) and radius r on the coordinate plane.

How to Use the Calculator

Enter the x-coordinate of the center (h), the y-coordinate of the center (k), and the radius (r). Press calculate to see the standard-form equation, the expanded general form, and key measurements. A radius of 0 produces a single point, so use a positive value for a true circle.

The Formula Explained

The standard form comes directly from the distance formula: the distance from any point \((x, y)\) to the center \((h, k)\) equals \(r\), so \(\sqrt{(x-h)^2 + (y-k)^2} = r\). Squaring both sides gives $$(x-h)^2 + (y-k)^2 = r^2.$$ Expanding the squares produces the general form $$x^2 + y^2 + Dx + Ey + F = 0,$$ where \(D = -2h\), \(E = -2k\), and \(F = h^2 + k^2 - r^2\).

Advertisement
Right triangle formed by horizontal and vertical distances from center to a point on the circle
The circle equation comes from the Pythagorean theorem applied to the radius.

Worked Example

Suppose the center is \((3, -2)\) and the radius is \(5\). The standard form is $$(x - 3)^2 + (y + 2)^2 = 25,$$ since \(r^2 = 25\). The general form: \(D = -6\), \(E = 4\), \(F = 3^2 + (-2)^2 - 25 = 9 + 4 - 25 = -12\), giving $$x^2 + y^2 - 6x + 4y - 12 = 0.$$ The diameter is \(10\), the circumference is \(2\pi \cdot 5 \approx 31.42\), and the area is \(\pi \cdot 25 \approx 78.54\).

FAQ

What if the center is at the origin? When \((h, k) = (0, 0)\), the equation simplifies to \(x^2 + y^2 = r^2\).

How do I find the center and radius from the general form? Complete the square: \(h = -D/2\), \(k = -E/2\), and \(r = \sqrt{h^2 + k^2 - F}\).

Can the radius be negative? No. Radius is a distance, so the calculator uses its absolute value.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators