How to Calculate Midpoint
What is Midpoint?
The midpoint of two points is the point exactly halfway between them. In 2D: midpoint = ((x₁+x₂)/2, (y₁+y₂)/2). In 3D: add the z-coordinates and divide by 2. Midpoints are used in geometry, GPS coordinate averaging, and computer graphics.
Step-by-Step Guide
- 1Midpoint x: (x₁ + x₂) / 2
- 2Midpoint y: (y₁ + y₂) / 2
- 3Distance formula: √((x₂-x₁)² + (y₂-y₁)²)
- 4Midpoint lies on the line segment between the two points
Worked Examples
Input
Points (2, 4) and (8, 10)
Result
Midpoint = (5, 7)
(2+8)/2=5, (4+10)/2=7
Input
3D points (1,2,3) and (5,6,7)
Result
Midpoint = (3, 4, 5)
Average each coordinate
Ready to calculate? Try the free Midpoint Calculator
Try it yourself →