Midpoint Calculator

Find the midpoint and the distance between two points, with every midpoint-formula and distance-formula step shown so you can see exactly how the answer was reached.

Midpoint
Distance between points

How to Find the Midpoint

Enter two points to see their midpoint, the distance between them, and the working.

1

Enter both points

Type the x and y coordinates of your two points, like (0, 0) and (4, 6). Negative numbers and decimals both work.

2

The calculator applies both formulas

It averages the x-values and the y-values to get the midpoint, then applies the distance formula — really the Pythagorean theorem on the horizontal and vertical gaps — to get the length between the two points.

3

Read the result and steps

The midpoint and distance appear at the top, with every arithmetic step listed below. Need just the two-leg distance instead? The Pythagorean Theorem Calculator solves for any missing side of a right triangle.

Frequently Asked Questions

What is the midpoint formula?
The midpoint formula finds the exact point halfway between two coordinates: M = ((x1 + x2) / 2, (y1 + y2) / 2). It simply averages the two x-values and the two y-values separately. For the points (0, 0) and (4, 6), the midpoint is ((0 + 4) / 2, (0 + 6) / 2) = (2, 3).
How is the midpoint different from the distance between two points?
The midpoint is a location — the point exactly halfway between two other points — while the distance is a length, the straight-line span between them found with the distance formula, d = √((x2 - x1)² + (y2 - y1)²), which is really the Pythagorean theorem applied to the horizontal and vertical gaps. This calculator returns both from the same two points: the midpoint coordinates and the distance between them.
Can the midpoint formula be used in 3D?
Yes — for two points in three dimensions the formula just adds a z-coordinate: M = ((x1 + x2) / 2, (y1 + y2) / 2, (z1 + z2) / 2), averaging each axis independently. This calculator works with 2D points (x, y); for 3D points, average the z-values the same way alongside the x and y results shown here.
How do you find the midpoint of a line segment on a graph?
Read the coordinates of the segment's two endpoints, add the x-values together and divide by 2, then add the y-values together and divide by 2 — the result is the midpoint, and it always lies exactly on the segment itself. Enter the two endpoints' x1, y1, x2, y2 values above to get the midpoint and the segment's length instantly, with the working shown.