The distance and midpoint calculator works with two points in a 2D Cartesian plane. Enter A(x1,y1) and B(x2,y2) to get signed dx and dy, Euclidean straight-line distance, Manhattan distance, and the midpoint of the segment.
It is useful for analytic geometry, grid movement, graph reading, segment bisection, and homework checks. Grouping the related results avoids re-entering the same points for distance and midpoint formulas. It is not a map-navigation or geographic-information tool.
For addresses, cities, latitude/longitude, roads, Earth curvature, 3D coordinates, or obstacle-aware paths, use a geographic, 3D, or routing tool instead.
The page needs four coordinates: x1 and y1 for the first point, and x2 and y2 for the second. Coordinates may be integers, negative values, or ordinary decimals such as A(-2, 1.5) and B(3, .25).
The fields accept ordinary decimal numbers only. Do not type unit text such as 10 m, thousands separators such as 1,000, or scientific notation such as 1e3. The page does not convert units, so keep the x and y coordinate units consistent if they represent measurements.
It shows both Euclidean straight-line distance and Manhattan distance. The first is the shortest segment between the points; the second adds the absolute coordinate changes for axis-aligned movement.
The midpoint averages the two x coordinates and the two y coordinates: `((x1+x2)/2, (y1+y2)/2)`.
Yes. Ordinary decimals and negative values such as `-2`, `1.5`, or `.25` work; the fields do not accept units, commas, or scientific notation.
No. The page uses a flat Cartesian plane and does not account for Earth curvature, latitude/longitude, addresses, roads, or travel routes.
It currently supports two-dimensional points and Euclidean and Manhattan distance only. It does not calculate 3D, Chebyshev distance, vector angles, or obstacle-aware paths.
Enter two 2D Cartesian points to calculate dx, dy, Euclidean straight-line distance, Manhattan distance, and the midpoint, separate from geographic distance.