This endpoint calculator finds the missing end of a line segment from one known endpoint and the midpoint. If A is the known point and M is halfway along the segment, the missing point B lies the same distance beyond M in the same direction.
Enter the four coordinates separately. The calculator returns B = (x₂, y₂), the full segment length and a midpoint check. It works on a flat, two dimensional coordinate grid; it does not interpret latitude, longitude or a third coordinate.