Skip to main content

Equation of a Circle Calculator

Our free circle calculator solves equation acircle problems. Get worked examples, visual aids, and downloadable results.

Skip to calculator
Mathematics

Equation of a Circle Calculator

Find the equation of a circle from center and radius or convert between standard and general forms. Check point positions, find tangent lines, and calculate intercepts.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
Standard Form
(x -3)^2 + (y +2)^2 = 25.0000
General: x^2 + y^2 - 6.00x + 4.00y - 12.00 = 0
Center
(3.0000, -2.0000)
Radius
5.000000
r squared
25.0000
Circumference
31.415927
Area
78.539816
Point (6, 2) Analysis
Position
On the circle
Distance to Center
5.000000
Key Points on Circle
Top
(3.00, 3.00)
Bottom
(3.00, -7.00)
Right
(8.00, -2.00)
Left
(-2.00, -2.00)
Intercepts and Tangent
X-intercepts: 7.5826, -1.5826
Y-intercepts: 2.0000, -6.0000
Tangent at nearest point (6.0000, 2.0000): y = -0.7500x + 6.5000
Your Result
Center: (3.0000, -2.0000) | Radius: 5.000000 | (x -3)^2 + (y +2)^2 = 25.0000
Share Your Result
Understand the Math

Formula

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

The standard form equation defines all points (x,y) at distance r from center (h,k). The general form x^2 + y^2 + Dx + Ey + F = 0 relates to the standard form by D = -2h, E = -2k, F = h^2 + k^2 - r^2.

Last reviewed: December 2025

Worked Examples

Example 1: Standard Form from Center and Radius

Write the equation of a circle with center (3, -2) and radius 5.
Solution:
Center (h, k) = (3, -2), radius r = 5 Standard form: (x - 3)^2 + (y + 2)^2 = 25 General form: x^2 + y^2 - 6x + 4y - 12 = 0 D = -6, E = 4, F = -12 Circumference = 2pi(5) = 31.4159 Area = pi(25) = 78.5398
Result: (x - 3)^2 + (y + 2)^2 = 25 | Area = 78.540 sq units

Example 2: Convert General Form to Standard Form

Convert x^2 + y^2 - 6x + 4y - 12 = 0 to standard form.
Solution:
D = -6, E = 4, F = -12 Center: h = -D/2 = 3, k = -E/2 = -2 r^2 = h^2 + k^2 - F = 9 + 4 + 12 = 25 r = 5 Standard form: (x - 3)^2 + (y + 2)^2 = 25
Result: Center: (3, -2) | Radius: 5 | Standard: (x-3)^2 + (y+2)^2 = 25
Expert Insights

Background & Theory

The Equation of a Circle Calculator applies the following established principles and formulas. Mathematics rests on a hierarchy of number systems, each extending the previous. The natural numbers (1, 2, 3, ...) support counting and ordering. The integers add negative values and zero, enabling subtraction without restriction. The rational numbers, expressible as p/q where p and q are integers and q is nonzero, close the system under division. The real numbers fill the gaps left by irrationals such as the square root of 2 or pi, forming a complete ordered field. The complex numbers, written as a + bi where i is the square root of negative one, complete the algebraic closure of the reals and allow every polynomial to have a root. Prime factorization states that every integer greater than one is uniquely expressible as a product of primes, a result known as the Fundamental Theorem of Arithmetic. Computing the greatest common divisor (GCD) of two integers relies most efficiently on the Euclidean algorithm: repeatedly replace the larger number with the remainder when it is divided by the smaller, until the remainder is zero. The last nonzero remainder is the GCD. The least common multiple (LCM) follows from the identity LCM(a, b) = |a * b| / GCD(a, b). Modular arithmetic defines equivalence classes of integers that share the same remainder under division by a modulus n. Fermat's Little Theorem and Euler's Theorem arise from this structure and underpin modern cryptography. Logarithms are the inverses of exponential functions. If b raised to the power x equals y, then the logarithm base b of y equals x. The natural logarithm uses base e, approximately 2.71828. Combinatorics counts arrangements and selections. The number of ordered arrangements (permutations) of r objects from n distinct objects is nPr = n! / (n - r)!. The number of unordered selections (combinations) is nCr = n! / (r! * (n - r)!). Pascal's triangle arranges these binomial coefficients so that each entry equals the sum of the two entries directly above it. The Fibonacci sequence, defined by F(1) = 1, F(2) = 1, and F(n) = F(n-1) + F(n-2), appears throughout nature and connects deeply to the golden ratio via Binet's formula.

History

The history behind the Equation of a Circle Calculator traces back through the following developments. Mathematics as a systematic discipline traces to ancient Mesopotamia. Babylonian clay tablets dating to around 1800 BCE demonstrate knowledge of quadratic equations, Pythagorean triples, and base-60 arithmetic, suggesting a practical mathematical tradition far preceding Greek formalism. Euclid of Alexandria compiled the Elements around 300 BCE, establishing the axiomatic method that would define rigorous mathematics for over two thousand years. His work organized plane geometry, number theory, and proportion into logically chained propositions derived from a small set of postulates. The algorithm bearing his name for computing GCDs appears in Book VII and remains in use today. In the 9th century, the Persian scholar Muhammad ibn Musa Al-Khwarizmi wrote Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the treatise whose title gave algebra its name. He systematized the solution of linear and quadratic equations and described procedures that operated on unknowns as objects, a conceptual leap away from purely numerical calculation. Rene Descartes introduced coordinate geometry in 1637 by uniting algebra and Euclidean geometry, allowing curves to be studied through equations. This synthesis set the stage for calculus. Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus during the 1660s and 1670s, triggering a priority dispute that lasted decades and divided British and Continental mathematicians. Carl Friedrich Gauss proved the Fundamental Theorem of Algebra in 1799, showing that every nonconstant polynomial has at least one complex root. His Disquisitiones Arithmeticae of 1801 established modern number theory. David Hilbert's formalist program at the turn of the 20th century sought to place all of mathematics on an explicit axiomatic foundation, a project that Kurt Godel's incompleteness theorems of 1931 showed to be fundamentally limited. Alan Turing's work in the 1930s on computability introduced the theoretical model of the stored-program computer and linked mathematical logic directly to the limits of algorithmic calculation. His proof that no algorithm can decide in general whether an arbitrary program will halt or run forever placed fundamental boundaries on what mathematics can mechanically determine, and it opened the discipline now known as theoretical computer science.

Share this calculator

Explore More

Frequently Asked Questions

The standard form of a circle equation is (x - h)^2 + (y - k)^2 = r^2, where (h, k) is the center of the circle and r is the radius. This form directly reveals the center and radius, making it the most intuitive representation. The equation states that every point (x, y) on the circle is exactly r units away from the center (h, k), which is the geometric definition of a circle. For a circle centered at the origin, this simplifies to x^2 + y^2 = r^2. To graph a circle from standard form, plot the center point, then measure r units in all directions to find points on the circle. The standard form is particularly useful for identifying transformations: h represents a horizontal shift and k represents a vertical shift from the origin.
To find a circle through three non-collinear points (x1,y1), (x2,y2), (x3,y3), substitute each point into the general form x^2 + y^2 + Dx + Ey + F = 0 to get three linear equations in D, E, and F. For example, with points (1,1), (5,1), and (3,5): substituting gives 2 + D + E + F = 0, 26 + 5D + E + F = 0, and 34 + 3D + 5E + F = 0. Solving this system yields D, E, F, from which the center is (-D/2, -E/2) and radius is sqrt(D^2/4 + E^2/4 - F). An alternative geometric method finds the perpendicular bisectors of any two chords formed by the three points; their intersection is the center. Three collinear points do not define a circle. This construction appears in computational geometry and circumscribed circle calculations for triangles.
To determine a point's position relative to a circle, compute the distance from the point to the center and compare it to the radius. For point (px, py) and circle with center (h, k) and radius r, calculate d^2 = (px - h)^2 + (py - k)^2. If d^2 < r^2, the point is inside the circle. If d^2 = r^2, the point is exactly on the circle. If d^2 > r^2, the point is outside the circle. Using d^2 instead of d avoids computing a square root, which is a common optimization in computer graphics and game programming. Equivalently, substitute the point into the left side of the standard form equation: if the result is less than r^2, the point is inside. This test is fundamental to collision detection algorithms and geographic information systems.
At a point (x1, y1) on a circle centered at origin with radius r, the tangent line equation is x1*x + y1*y = r^2. For a general circle (x-h)^2 + (y-k)^2 = r^2 with tangent point (x1, y1), the equation is (x1-h)(x-h) + (y1-k)(y-k) = r^2. The tangent line is perpendicular to the radius at the point of tangency. The slope of the radius from center (h,k) to point (x1,y1) is (y1-k)/(x1-h), so the tangent slope is -(x1-h)/(y1-k). For an external point, there are two tangent lines whose lengths equal sqrt((px-h)^2 + (py-k)^2 - r^2). Finding tangent lines is essential in optics for reflection calculations, in mechanical engineering for cam design, and in computer graphics for smooth curve rendering.
To find where line y = mx + b intersects circle (x-h)^2 + (y-k)^2 = r^2, substitute the line equation into the circle equation: (x-h)^2 + (mx+b-k)^2 = r^2. Expanding gives a quadratic in x: (1+m^2)x^2 + 2(m(b-k)-h)x + (h^2+(b-k)^2-r^2) = 0. The discriminant determines the number of intersections: positive means two intersection points (secant line), zero means exactly one point (tangent line), and negative means no intersection (line misses the circle). For a vertical line x = c, substitute directly to get (y-k)^2 = r^2 - (c-h)^2. This calculation is fundamental to ray tracing in computer graphics, circle packing problems, and geometric construction algorithms.
The x-intercepts occur where y = 0, found by solving (x-h)^2 + k^2 = r^2, giving x = h plus or minus sqrt(r^2 - k^2). Real x-intercepts exist only when |k| is less than or equal to r (the circle reaches or crosses the x-axis). Similarly, y-intercepts occur where x = 0, found by solving h^2 + (y-k)^2 = r^2, giving y = k plus or minus sqrt(r^2 - h^2). Real y-intercepts exist when |h| is less than or equal to r. A circle can have 0, 1, or 2 intercepts on each axis. When |k| = r, the circle is tangent to the x-axis (one x-intercept). When the circle passes through the origin, both x = 0 and y = 0 satisfy the equation simultaneously. Intercepts are useful for graphing and for finding where circular paths cross reference axes.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

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

The standard form equation defines all points (x,y) at distance r from center (h,k). The general form x^2 + y^2 + Dx + Ey + F = 0 relates to the standard form by D = -2h, E = -2k, F = h^2 + k^2 - r^2.

Worked Examples

Example 1: Standard Form from Center and Radius

Problem: Write the equation of a circle with center (3, -2) and radius 5.

Solution: Center (h, k) = (3, -2), radius r = 5\nStandard form: (x - 3)^2 + (y + 2)^2 = 25\nGeneral form: x^2 + y^2 - 6x + 4y - 12 = 0\nD = -6, E = 4, F = -12\nCircumference = 2pi(5) = 31.4159\nArea = pi(25) = 78.5398

Result: (x - 3)^2 + (y + 2)^2 = 25 | Area = 78.540 sq units

Example 2: Convert General Form to Standard Form

Problem: Convert x^2 + y^2 - 6x + 4y - 12 = 0 to standard form.

Solution: D = -6, E = 4, F = -12\nCenter: h = -D/2 = 3, k = -E/2 = -2\nr^2 = h^2 + k^2 - F = 9 + 4 + 12 = 25\nr = 5\nStandard form: (x - 3)^2 + (y + 2)^2 = 25

Result: Center: (3, -2) | Radius: 5 | Standard: (x-3)^2 + (y+2)^2 = 25

Frequently Asked Questions

What is the standard form equation of a circle?

The standard form of a circle equation is (x - h)^2 + (y - k)^2 = r^2, where (h, k) is the center of the circle and r is the radius. This form directly reveals the center and radius, making it the most intuitive representation. The equation states that every point (x, y) on the circle is exactly r units away from the center (h, k), which is the geometric definition of a circle. For a circle centered at the origin, this simplifies to x^2 + y^2 = r^2. To graph a circle from standard form, plot the center point, then measure r units in all directions to find points on the circle. The standard form is particularly useful for identifying transformations: h represents a horizontal shift and k represents a vertical shift from the origin.

How do you find the equation of a circle from three points?

To find a circle through three non-collinear points (x1,y1), (x2,y2), (x3,y3), substitute each point into the general form x^2 + y^2 + Dx + Ey + F = 0 to get three linear equations in D, E, and F. For example, with points (1,1), (5,1), and (3,5): substituting gives 2 + D + E + F = 0, 26 + 5D + E + F = 0, and 34 + 3D + 5E + F = 0. Solving this system yields D, E, F, from which the center is (-D/2, -E/2) and radius is sqrt(D^2/4 + E^2/4 - F). An alternative geometric method finds the perpendicular bisectors of any two chords formed by the three points; their intersection is the center. Three collinear points do not define a circle. This construction appears in computational geometry and circumscribed circle calculations for triangles.

How do you determine if a point is inside, on, or outside a circle?

To determine a point's position relative to a circle, compute the distance from the point to the center and compare it to the radius. For point (px, py) and circle with center (h, k) and radius r, calculate d^2 = (px - h)^2 + (py - k)^2. If d^2 < r^2, the point is inside the circle. If d^2 = r^2, the point is exactly on the circle. If d^2 > r^2, the point is outside the circle. Using d^2 instead of d avoids computing a square root, which is a common optimization in computer graphics and game programming. Equivalently, substitute the point into the left side of the standard form equation: if the result is less than r^2, the point is inside. This test is fundamental to collision detection algorithms and geographic information systems.

What is the equation of a tangent line to a circle?

At a point (x1, y1) on a circle centered at origin with radius r, the tangent line equation is x1*x + y1*y = r^2. For a general circle (x-h)^2 + (y-k)^2 = r^2 with tangent point (x1, y1), the equation is (x1-h)(x-h) + (y1-k)(y-k) = r^2. The tangent line is perpendicular to the radius at the point of tangency. The slope of the radius from center (h,k) to point (x1,y1) is (y1-k)/(x1-h), so the tangent slope is -(x1-h)/(y1-k). For an external point, there are two tangent lines whose lengths equal sqrt((px-h)^2 + (py-k)^2 - r^2). Finding tangent lines is essential in optics for reflection calculations, in mechanical engineering for cam design, and in computer graphics for smooth curve rendering.

How do you find the intersection of a line and a circle?

To find where line y = mx + b intersects circle (x-h)^2 + (y-k)^2 = r^2, substitute the line equation into the circle equation: (x-h)^2 + (mx+b-k)^2 = r^2. Expanding gives a quadratic in x: (1+m^2)x^2 + 2(m(b-k)-h)x + (h^2+(b-k)^2-r^2) = 0. The discriminant determines the number of intersections: positive means two intersection points (secant line), zero means exactly one point (tangent line), and negative means no intersection (line misses the circle). For a vertical line x = c, substitute directly to get (y-k)^2 = r^2 - (c-h)^2. This calculation is fundamental to ray tracing in computer graphics, circle packing problems, and geometric construction algorithms.

What are the x-intercepts and y-intercepts of a circle?

The x-intercepts occur where y = 0, found by solving (x-h)^2 + k^2 = r^2, giving x = h plus or minus sqrt(r^2 - k^2). Real x-intercepts exist only when |k| is less than or equal to r (the circle reaches or crosses the x-axis). Similarly, y-intercepts occur where x = 0, found by solving h^2 + (y-k)^2 = r^2, giving y = k plus or minus sqrt(r^2 - h^2). Real y-intercepts exist when |h| is less than or equal to r. A circle can have 0, 1, or 2 intercepts on each axis. When |k| = r, the circle is tangent to the x-axis (one x-intercept). When the circle passes through the origin, both x = 0 and y = 0 satisfy the equation simultaneously. Intercepts are useful for graphing and for finding where circular paths cross reference axes.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy