Midpoint Calculator
Find the midpoint between two points on a 2D plane, with the distance between them.
By Konstantin Iakovlev · Updated September 2026 · Source: Khan Academy
Midpoint
(5.00, 5.00)
Distance
7.2111
Midpoint Formula
| Formula | M = ((x1+x2)/2, (y1+y2)/2) |
| Midpoint X | 5.00 |
| Midpoint Y | 5.00 |
| Midpoint | (5.00, 5.00) |
Use the Midpoint Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.
Disclaimer: This calculator is for informational purposes only. Results are estimates based on the information you provide and the assumptions described on this page.
How It Works
Finding the exact center between two coordinates is a small operation with surprisingly wide reach. Surveyors, urban planners siting a transit stop equidistant from two neighborhoods, and game developers placing an object squarely between two reference points all lean on the same idea: split the distance evenly along every axis. The tool works with two points on a flat 2D plane.
The math is the midpoint formula, which simply averages the matching coordinates of each point. Given two points P1(x1, y1) and P2(x2, y2), the midpoint M is ((x1 + x2)/2, (y1 + y2)/2). The calculator also reports the straight-line distance between the two points, √((x2 − x1)² + (y2 − y1)²), and the midpoint sits exactly half that distance from each of them. For points in 3D space, average the z-coordinates the same way; this calculator takes x and y only.
Watch your signs and stay consistent within one coordinate system, since a misplaced negative is the single most common reason a result lands far from where you expect. Mixed positive and negative values are fine as long as you enter them correctly. Note too that the answer is always one point, even when the inputs describe vectors or travel paths rather than fixed locations.
Example: A Hub Halfway Between Two Distribution Centers
- 1 A logistics company wants a new hub equidistant from two distribution centers on its map grid: Center A at (15.2, 8.7) and Center B at (23.8, 14.3), in kilometers east and north of a reference point.
- 2 Midpoint: x = (15.2 + 23.8)/2 = 39.0/2 = 19.5 and y = (8.7 + 14.3)/2 = 23.0/2 = 11.5, so the calculator shows (19.50, 11.50).
- 3 Distance: √((23.8 − 15.2)² + (14.3 − 8.7)²) = √(8.6² + 5.6²) = √(73.96 + 31.36) = √105.32 = 10.2626 km, so the hub sits about 5.13 km from each center.
- 4 The midpoint is the point halfway along the straight line between the two centers. Whether it is a workable site still depends on roads, zoning and land cost, which no coordinate formula captures.
Source: Khan Academy · Last updated: September 2026
Frequently Asked Questions
How do I find the midpoint between two points?
Can I find the midpoint in 3D space?
What is the midpoint used for in real life?
You might also need
Percentage Calculator
Calculate percentages three ways: what is X% of Y, X is what % of Y, and percentage change from X to Y.
Fraction Calculator
Add, subtract, multiply, and divide fractions. Results shown as fraction, mixed number, and decimal.
Standard Deviation Calculator
Calculate mean, variance, and standard deviation (population and sample) from a data set.