Skip to content
FiftyCalc Free calculators for all 50 states

Endpoint Calculator

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

Enter the known endpoint A and the midpoint M of the segment.

Result

Sample figures

Other endpoint B: x = 2xₘ − x₁—

Other endpoint B: y = 2yₘ − y₁ —

  • Length of the segment AB—

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

Endpoint Calculator

Known endpoint A: x: enter a number. Prefilled example: 1.

Known endpoint A: y: enter a number. Prefilled example: 2.

Midpoint M: x: enter a number. Prefilled example: 4.

Midpoint M: y: enter a number. Prefilled example: -1.

How to use this calculator

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

  1. Known endpoint A: x: enter a number.
  2. Known endpoint A: y: enter a number.
  3. Midpoint M: x: enter a number.
  4. Midpoint M: y: enter a number.
  5. Read the result: Other endpoint B: x = 2xₘ − x₁; the panel also shows Other endpoint B: y = 2yₘ − y₁ and Length of the segment AB.

How this calculator works

The midpoint formula M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2) solved for the missing endpoint gives x₂ = 2xₘ − x₁ and y₂ = 2yₘ − y₁.

The segment is twice as long as the distance from A to M: AB = 2√((xₘ − x₁)² + (yₘ − y₁)²).

The formula

  1. X2=2×xm−x1+0
Symbols used in the formula
SymbolMeaning
x1Known endpoint A: x
xmMidpoint M: x
X2Other endpoint B: x = 2xₘ − x₁

Worked example

Known endpoint A: x1
Known endpoint A: y2
Midpoint M: x4
Midpoint M: y-1
Other endpoint B: y = 2yₘ − y₁-4
Length of the segment AB8.4853
  1. X2=2×4−1+0=7

Other endpoint B: x = 2xₘ − x₁ 7

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

Frequently asked questions

If A = (1, 2) and the midpoint is (4, −1), what is B?

B = (2 × 4 − 1, 2 × (−1) − 2) = (7, −4); AB is about 8.4853 long.

If the midpoint is the origin, where is B?

At the opposite of A: A = (−3, 5) gives B = (3, −5).

Questions answered

Related calculators