Midpoint Calculator
The midpoint is the point exactly halfway between two others. Enter the coordinates of both endpoints to get the midpoint, the length of the segment and the distance from each end to the middle.
- Midpoint x
- 2
- Midpoint y
- 5
- Length of the segment
- 6.3246
- Distance from each end
- 3.1623
Saved setups
Save a set of inputs you reuse — your usual rate, your loan, your room sizes — and load it back in one tap.
Your recent calculations
Results you calculate here are kept on this device so you can come back to them.
Formula
Midpoint = ((x₁ + x₂) ÷ 2, (y₁ + y₂) ÷ 2)
Segment length = √((x₂ − x₁)² + (y₂ − y₁)²)
How to use it
- Enter the first endpoint.
- Enter the second endpoint.
- Read the midpoint: its x is the average of the two x-values and its y is the average of the two y-values.
Worked examples
Between (1, 2) and (3, 8)
- Midpoint
- (2, 5)
- Midpoint x
- 2
- Midpoint y
- 5
- Length of the segment
- 6.3246
Between (−4, 7) and (6, −2)
- Midpoint
- (1, 2.5)
- Midpoint x
- 1
- Midpoint y
- 2.5
- Length of the segment
- 13.4536
- Distance from each end
- 6.7268
Just two averages
Finding a midpoint is nothing more than averaging the x-coordinates and averaging the y-coordinates separately. Negative numbers need care: the midpoint of −4 and 6 is (−4 + 6) ÷ 2 = 1, not 5.
Questions people ask
What is the midpoint of (1, 2) and (3, 8)?
((1 + 3) ÷ 2, (2 + 8) ÷ 2) = (2, 5).
What is the midpoint of (−4, 7) and (6, −2)?
(1, 2.5).
How do I find an endpoint if I know the midpoint?
Double the midpoint and subtract the known endpoint. The endpoint calculator does this for you.
Related calculators
Endpoint CalculatorFind the missing endpoint from one endpoint and the midpoint.Distance Formula CalculatorDistance between two points in 2D or 3D, exact and decimal.Slope CalculatorSlope, angle and equation of the line through two points.Slope-Intercept Form CalculatorWrite a line as y = mx + b from two points or a point and slope.Average CalculatorThe average (mean) of a list of numbers, with sum and count.