Skip to content
FiftyCalc Free calculators for all 50 states

Midpoint Calculator

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

Enter the coordinates of the two endpoints. The midpoint is the point halfway between them, found by averaging the x-coordinates and the y-coordinates.

Result

Sample figures

Midpoint M—

Midpoint x = (x₁ + x₂) ÷ 2 —

  • Midpoint y = (y₁ + y₂) ÷ 2—
  • Segment length (same units as the coordinates)—
  • Distance from M to each endpoint (same units)—

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

Midpoint Calculator

First point x₁: enter a number. Prefilled example: 2.

First point y₁: enter a number. Prefilled example: 3.

Second point x₂: enter a number. Prefilled example: 8.

Second point y₂: enter a number. Prefilled example: -5.

How to use this calculator

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

  1. First point x₁: enter a number.
  2. First point y₁: enter a number.
  3. Second point x₂: enter a number.
  4. Second point y₂: enter a number.
  5. Read the result: Midpoint M; the panel also shows Midpoint x = (x₁ + x₂) ÷ 2, Midpoint y = (y₁ + y₂) ÷ 2, Segment length (same units as the coordinates) and Distance from M to each endpoint (same units).

How this calculator works

Midpoint formula: M = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2). Each coordinate of the midpoint is the average of the endpoints' coordinates.

Segment length, from the distance formula (Pythagorean theorem): d = √((x₂ − x₁)² + (y₂ − y₁)²). The midpoint sits at d ÷ 2 from each endpoint.

Results are shown with up to 4 decimal places.

Worked example

First point x₁2
First point y₁3
Second point x₂8
Second point y₂-5
Midpoint M(5, -1)
Midpoint x = (x₁ + x₂) ÷ 25
Midpoint y = (y₁ + y₂) ÷ 2-1
Segment length (same units as the coordinates)10
Distance from M to each endpoint (same units)5

Frequently asked questions

How do I find an endpoint if I know the midpoint?

Reverse the formula: x₂ = 2 × Mx − x₁ and y₂ = 2 × My − y₁.

Does the order of the points matter?

No. Averaging is symmetric, so swapping the two points gives the same midpoint and the same length.

Does it work for points in three dimensions?

The same rule applies: average the z-coordinates too. This calculator handles points in the plane.

Questions answered

Related calculators