Skip to content
FiftyCalc Free calculators for all 50 states

Circle Equation From Diameter Endpoints Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter the two endpoints of a diameter of the circle.

Result

Sample figures

Center x: h = (x₁ + x₂) ÷ 2—

Center y: k = (y₁ + y₂) ÷ 2 —

  • r² in (x − h)² + (y − k)² = r²—
  • Radius r = half the distance between the endpoints—
  • General form: D = −2h—
  • General form: E = −2k—
  • General form: F = h² + k² − r²—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Circle Equation From Diameter Endpoints Calculator

Endpoint 1: x₁: enter a number. Prefilled example: -1.

Endpoint 1: y₁: enter a number. Prefilled example: 2.

Endpoint 2: x₂: enter a number. Prefilled example: 5.

Endpoint 2: y₂: enter a number. Prefilled example: 10.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Endpoint 1: x₁: enter a number.
  2. Endpoint 1: y₁: enter a number.
  3. Endpoint 2: x₂: enter a number.
  4. Endpoint 2: y₂: enter a number.
  5. Read the result: Center x: h = (x₁ + x₂) ÷ 2; the panel also shows Center y: k = (y₁ + y₂) ÷ 2, Radius r = half the distance between the endpoints, r² in (x − h)² + (y − k)² = r², General form: D = −2h, General form: E = −2k and General form: F = h² + k² − r².

How this calculator works

The center of a circle is the midpoint of any diameter: h = (x₁ + x₂) ÷ 2, k = (y₁ + y₂) ÷ 2. The radius is half the length of the diameter, r = √((x₂ − x₁)² + (y₂ − y₁)²) ÷ 2. Standard form: (x − h)² + (y − k)² = r².

Expanding gives the general form x² + y² + Dx + Ey + F = 0 with D = −2h, E = −2k and F = h² + k² − r² (which also equals x₁x₂ + y₁y₂).

The formula

  1. H=x1+x22+0
Symbols used in the formula
SymbolMeaning
x1Endpoint 1: x₁
x2Endpoint 2: x₂
HCenter x: h = (x₁ + x₂) ÷ 2

Worked example

Endpoint 1: x₁-1
Endpoint 1: y₁2
Endpoint 2: x₂5
Endpoint 2: y₂10
Center y: k = (y₁ + y₂) ÷ 26
Radius r = half the distance between the endpoints5
r² in (x − h)² + (y − k)² = r²25
General form: D = −2h-4
General form: E = −2k-12
General form: F = h² + k² − r²15
  1. H=−1+52+0=2

Center x: h = (x₁ + x₂) ÷ 2 2

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the circle with diameter endpoints (−1, 2) and (5, 10)?

Center (2, 6) and radius 5: (x − 2)² + (y − 6)² = 25, or x² + y² − 4x − 12y + 15 = 0.

And with endpoints (0, 0) and (4, 0)?

Center (2, 0), radius 2: (x − 2)² + y² = 4, or x² + y² − 4x = 0.

Questions answered

Related calculators