Midpoint Calculator
Calculate midpoint instantly in your browser.
Loading calculator…
What this tool does
Calculate midpoint instantly in your browser. The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
How to use the Midpoint Calculator
- Enter or select x₁.
- Enter or select y₁.
- Enter or select x₂.
- Enter or select y₂.
- Read the calculated result; change any measurement to compare alternatives.
Formula
midpoint = ((x₁+x₂)/2, (y₁+y₂)/2) — simply average the x-coordinates and average the y-coordinates of the two endpoints.
- x1
- x₁
- y1
- y₁
- x2
- x₂
- y2
- y₂
The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
Worked example
For midpoint calculator, the following measurements illustrate the exact method: x₁: 1; y₁: 2; x₂: 5; y₂: 8.
Inputs
- x₁1
- y₁2
- x₂5
- y₂8
Result
- Midpoint(3, 5)
- Midpoint x3
- Midpoint y5
- Segment length7.21
Results explained
- Midpoint
- Midpoint from the formula above. The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
- Midpoint x
- Midpoint x from the formula above. The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
- Midpoint y
- Midpoint y from the formula above. The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
- Segment length
- Segment length from the formula above. The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
Frequently asked questions
midpoint = ((x₁+x₂)/2, (y₁+y₂)/2) — simply average the x-coordinates and average the y-coordinates of the two endpoints.
The midpoint is exactly halfway along the segment: it is the same distance from both endpoints.
Where mathematically meaningful, yes. Fields specify permitted ranges and undefined operations display an error.
Exact integer calculations use safe integers; decimal calculations use browser floating point, so small rounding differences can occur.
All values remain in your browser and are never uploaded.