ToCalculator
Math

Midpoint Calculator

Midpoint calculator: find the point halfway between two coordinates and the distance between them.

Editorial review: Farrow (pseudonym; identity and professional credentials are not disclosed). This page is for educational purposes, not professional advice.

Updated

Your inputs

Results update as you type. Nothing you enter leaves your device.

Results

Midpoint
(4, 6)
Segment length
10
Slope
1.3333

Example with the starting values

These results use the calculator's initial inputs. Change the values above to calculate your own estimate.

Inputs

x1
1
y1
2
x2
7
y2
10

Results

Midpoint
(4, 6)
Segment length
10
Slope
1.3333

How does the Midpoint Calculator work?

The midpoint formula averages each coordinate: ((x1 + x2) / 2, (y1 + y2) / 2).

The segment length comes from the distance formula, the square root of the squared differences in x and y.

Frequently asked questions

What is the midpoint of (0, 0) and (6, 8)?

It is (3, 4), found by averaging the x values and the y values.

How do I find an endpoint from the midpoint?

Double the midpoint and subtract the known endpoint, for each coordinate.

Does it work in 3D?

Yes, average the z values too. This tool handles two dimensions.

How is the midpoint different from the average?

The midpoint is the average of two points, coordinate by coordinate. It sits halfway along the segment.

Related calculators

All math calculators