Endpoint Calculator

Find the missing endpoint of a line segment from its midpoint and the other endpoint, with a midpoint check.

100% FreeNo sign-upPrivate — runs in your browser
—

other endpoint

Other endpoint
—
Distance between endpoints
—
Midpoint check
—
Recomputed midpoint from both endpoints

Copied to clipboard

How to use this tool

1
Enter the midpoint

Type the x and y coordinates of the midpoint of the line segment.

2
Enter the endpoint you know

Type the x and y coordinates of one endpoint of the segment.

3
Read the other endpoint

The calculator mirrors the known endpoint through the midpoint to find the missing one.

4
Verify with the midpoint check

The recomputed midpoint from both endpoints is shown — it must match the midpoint you entered.

Formula & worked example

The midpoint is the average of the endpoints: M = ((x₁ + x₂)/2, (y₁ + y₂)/2). Solving for the missing endpoint gives x₂ = 2·Mₓ − x₁ and y₂ = 2·Mᵧ − y₁. The segment length is √((x₂ − x₁)² + (y₂ − y₁)²).

Midpoint (5, 5) and known endpoint (2, 3) give the other endpoint (8, 7), since 2 × 5 − 2 = 8 and 2 × 5 − 3 = 7. The segment length is √(36 + 16) = 7.2111.

Limitations — read this before you rely on it

This is plane (2D) coordinate geometry only. It assumes the given point really is the midpoint of the segment; if it is not, the answer is still the point that would make it the midpoint, which may not be what you intended. For 3D segments, apply the same formula to the z-coordinate as well.

Frequently asked questions

If M is the midpoint and one endpoint is (x₁, y₁), the other endpoint is (2Mₓ − x₁, 2Mᵧ − y₁). It mirrors the known endpoint through the midpoint.

Double the midpoint coordinates and subtract the known endpoint: midpoint (5, 5) and endpoint (2, 3) give (8, 7).

The midpoint of (x₁, y₁) and (x₂, y₂) is ((x₁ + x₂)/2, (y₁ + y₂)/2) — the average of the coordinates.

Only for a zero-length segment (both endpoints the same point). Otherwise the midpoint lies strictly between the two endpoints.

Yes — the formula is pure arithmetic and works in all four quadrants.