Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Circle Center Calculator

Find a circle's centre coordinates and radius from the two endpoints of a diameter, using the midpoint of the pair and half the distance between them.

Circle Center Calculator

Centre x-coordinate
3
The x-coordinate of the circle's centre: the average of the two endpoints' x values, in your coordinate units.
Centre y-coordinate
4
Radius
5

Background.

Finding the middle of something round is an old workshop problem. A woodturner needs the centre of a blank before mounting it on the lathe, a machinist needs the axis of a drilled bore, and a draughtsman may need the centre of an arc taken from a drawing. If you can identify two points that sit exactly opposite each other, the ends of a diameter, the rest is arithmetic: the centre lies halfway between them and the radius is half the distance across.

The hard part is being sure the two points really are opposite. Any two points on a circle are joined by a chord, and the centre lies somewhere on the perpendicular bisector of that chord, not necessarily at its midpoint. The points (0, 0) and (6, 8) sit on a circle centred at (3, 4) with radius 5, but they also sit on one centred at (−1, 7) with radius about 7.071. Only in the first case are they a diameter, and two points alone cannot tell the circles apart.

There are dependable ways to find a true diameter. Place the corner of a carpenter's square on the rim of a disc, and its two arms cross the rim again at the ends of a diameter, because any angle inscribed in a semicircle is a right angle. A machinist centring on a bore touches opposite walls along one axis, moves to the midpoint, then touches along the other axis; that second pair of touches lies on a diameter.

Enter both endpoints in the same unit and from the same origin, and you get the centre as an x and y pair with the radius in that unit. With three points on the rim and no known diameter, you need the circle through three points instead.

What is circle center calculator?

The centre of a circle is the one point at the same distance from every point on the circle. Every diameter passes through it and is cut exactly in half there. So when you know the two endpoints of a diameter, (x₁, y₁) and (x₂, y₂), the centre is their midpoint, whose coordinates are simply the averages of the two x values and the two y values. The radius is the distance from the centre to the rim, half the length of the diameter.

How to use this calculator.

  1. Start from two points you know are diametrically opposite: marked on the object with a carpenter's square, read off a drawing, or given in a problem as the ends of a diameter.
  2. Enter the first endpoint's x and y coordinates, then the second's. Negative coordinates are fine, and it makes no difference which point you call the first.
  3. Measure both points from the same origin in the same unit, such as millimetres from one corner of a drawing or metres on a site grid; the radius is returned in that unit.
  4. Read the centre's x and y and the radius. To confirm the points really were a diameter, take a third point on the rim and check that its distance from the centre equals the radius.

The formula.

Centre is the midpoint of diameter endpoints; r = endpoint distance / 2

The centre is h = (x₁ + x₂) ÷ 2 and k = (y₁ + y₂) ÷ 2, the midpoint formula, which averages each coordinate. The radius is r = √((x₂ − x₁)² + (y₂ − y₁)²) ÷ 2: the distance formula, which is Pythagoras' theorem applied to the horizontal and vertical gaps between the endpoints, halved because a diameter is twice the radius. No constants enter. Sliding both points by the same amount slides the centre by that amount and leaves the radius alone, since the radius depends only on the gaps between the points. If the two endpoints are the same point, the radius comes out as 0, a degenerate circle that signals an entry slip rather than a real result. With h, k and r in hand, the circle's equation is (x − h)² + (y − k)² = r².

A worked example.

Example

The example takes endpoints (0, 0) and (6, 8). The centre's x-coordinate is (0 + 6) ÷ 2 = 3 and its y-coordinate is (0 + 8) ÷ 2 = 4, so the centre is (3, 4). The endpoints are 6 apart horizontally and 8 vertically, so the diameter is √(6² + 8²) = √(36 + 64) = √100 = 10, and the radius is 10 ÷ 2 = 5. The circle is (x − 3)² + (y − 4)² = 25, and the origin checks out: 3² + 4² = 25. If those two points were merely somewhere on the rim rather than opposite each other, they could belong to a circle centred at (−1, 7), since both lie √50, about 7.071, from that point. The page would still report (3, 4), which is why the inputs must be a genuine diameter.

y10
x10
y28
x26

Frequently asked questions.

Can I find the centre from two points that are not opposite each other?
Not from those two alone. Infinitely many circles pass through any two points, with centres strung along the perpendicular bisector of the segment between them. You need one more piece of information, either a third point on the circle or the radius, and with three rim points the circle-through-three-points calculation gives the centre directly.
How do I mark a diameter on a real round object?
Lay a carpenter's square across the disc with its corner exactly on the edge, and mark where its two arms cross the edge again. Those marks are the ends of a diameter, because an angle inscribed in a semicircle is always a right angle. Repeat at a second spot and the two diameters cross at the centre, a useful check on the arithmetic.
How can I check that my two points really form a diameter?
Take any third point on the rim and test whether the lines to the two endpoints meet at a right angle. With endpoints (0, 0) and (6, 8), the rim point (6, 0) gives direction vectors (6, 0) and (0, −8), whose dot product is 0, and its distance from (3, 4) is exactly 5. Both tests confirm a diameter.
How do I get the circumference and area once I have the radius?
Circumference is 2πr and area is πr². For the example's radius of 5, that is about 31.42 units around and about 78.54 square units inside. Both come out in the unit you used for the coordinates, so a radius in millimetres gives an area in square millimetres.
Can I enter latitude and longitude as the coordinates?
Not directly. A degree of longitude shrinks as you move away from the equator while a degree of latitude stays nearly constant, so degrees are not equal distances in both directions and the radius would be distorted. Convert the points to a flat grid in metres, such as UTM, before entering them.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
Centre is the midpoint of diameter endpoints; r = endpoint distance / 2
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon