Skip to content

Search topics

Practise for free Sign in

Calculator Coordinate geometry in the (x, y) plane

Circle equation builder

In one sentence

Writes the equation of a circle from its centre and radius or from a diameter's ends.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Circle equation builder

Formula ref
(x − a)² + (y − b)² = r²
Topic
Coordinate geometry in the (x, y) plane

Inputs

  • centre (a, b) and radius r, or two diameter end points

Worked input

  • Input diameter ends (−2, 1) and (6, 5).
  • Centre (2, 3); r = ½√(64 + 16) = √20.
  • (x − 2)² + (y − 3)² = 20.
  • Take centre (3, −2) and radius 5, the standard input, where the sign of the y-coordinate flips inside the bracket. The equation is (x − 3)² + (y + 2)² = 25. The brackets in the standard form have the opposite sign to the centre coordinates, so a centre with a negative y gives a plus sign in the bracket, and this is where many sign errors begin. Check: the centre has y = −2, so the bracket (y + 2) is zero there, and the point (8, −2) at distance 5 to the right satisfies 25 + 0 = 25.
  • Take a diameter with ends (1, 2) and (7, 10), so the tool finds the centre as the midpoint (4, 6). The radius squared is a quarter of 36 + 64, which is 25, and the equation is (x − 4)² + (y − 6)² = 25. A diameter gives the centre as the midpoint and the radius as half the length, and since the equation stores the radius squared you can avoid the square root completely. Check: both ends are at distance 5 from the centre, because 9 + 16 = 25 for each.
  • Take centre (0, 0) and radius √7, a circle at the origin whose radius is not a whole number. Both brackets lose their shifts, leaving x² + y² = 7. A circle at the origin has the simplest form, and when the radius squared is not a perfect square the equation still looks clean, which is the advantage of working with the square of the radius. Check: the equation stores r² and not r, so the surd never appears on the page, and the point (√7, 0) satisfies it.

How to use it

  • Enter the centre and radius.
  • For a diameter AB, the centre is the midpoint and r is half of AB.

Circle equation builder for your study of A-level maths: where it comes from and what it covers.

See also Optimisation calculator: open box, Circle centre and radius calculator, Parametric curve point and gradient and Tangent to a circle calculator.

Study brief

  • In the study of coordinate geometry, learners preparing for the Pearson Edexcel Level 3 Advanced GCE in Mathematics must master various circle equations. One standard form is (x - a)2 + (y - b)2 = r2. Another equation utilized is x2 + y2 + 2fx + 2gy + c = 0. To find the radius and the centre of a circle from such equations, completing the square is a necessary technique. Geometric properties are also vital, such as noting that the angle in a semicircle is a right angle, or that a perpendicular from the centre to a chord bisects that chord. Additionally, the radius at a point on the circumference is perpendicular to the tangent at that point. Parametric equations can also describe circles. For instance, x = 3cos t, y = 3sin t represents a circle with centre O and radius 3. Alternatively, x = 2 + 5cos t, y = -4 + 5sin t defines a circle with centre (2, -4) and radius 5. Understanding these conversions between Cartesian and parametric forms is essential for solving problems within the (x, y) plane.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction