1. Home
  2. Math
  3. Distance and Midpoint Calculator

Quick guide

What This Calculator Does

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.

When to Use It

  • You need the shortest straight-line distance between two points on a plane.
  • You want the horizontal and vertical changes from one point to another.
  • You need the midpoint for a segment, symmetry, or a follow-up coordinate calculation.
  • You want to compare straight-line distance with axis-aligned Manhattan distance.
  • You are checking a coordinate-geometry or grid-movement calculation.

For addresses, cities, latitude/longitude, roads, Earth curvature, 3D coordinates, or obstacle-aware paths, use a geographic, 3D, or routing tool instead.

Inputs Explained

Point One and Point Two

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.

Read the full guide

Frequently Asked Questions

Which distance does this tool calculate?

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.

How is the midpoint calculated?

The midpoint averages the two x coordinates and the two y coordinates: `((x1+x2)/2, (y1+y2)/2)`.

Are negative and decimal coordinates supported?

Yes. Ordinary decimals and negative values such as `-2`, `1.5`, or `.25` work; the fields do not accept units, commas, or scientific notation.

Is this a map or GPS distance calculator?

No. The page uses a flat Cartesian plane and does not account for Earth curvature, latitude/longitude, addresses, roads, or travel routes.

Does it support 3D points or other metrics?

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.

计算器工具网
OneCalculators

Provides various useful online calculation tools to help you quickly solve calculation problems in daily life and work.

Links

  • About Us
  • Terms of Use
  • Privacy Policy
  • Disclaimer
  • Contact Us
  • Sitemap
  • Release Notes

Calculator Categories

  • Mathematics
  • Financial Calculators
  • Health Calculators
  • Legal Calculators
  • Unit Converters
  • Date & Time

Contact Us

Contact UsGitHubTwitter

© 2026 Calculator Tools. All rights reserved.

Monitor your Domain Rating with FrogDRLaunched on FazierGood AI Tools

Distance and Midpoint Calculator

Enter two 2D Cartesian points to calculate dx, dy, Euclidean straight-line distance, Manhattan distance, and the midpoint, separate from geographic distance.

Point Input

Point Input

Enter two 2D Cartesian points; ordinary decimals and negative values are supported, but not units, commas, or scientific notation.