How to use this tool
- Enter first point: x, first point: y, second point: x, second point: y.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| First point: x | Numeric value. | 0 |
| First point: y | Numeric value. | 0 |
| Second point: x | Numeric value. | 3 |
| Second point: y | Numeric value. | 4 |
Result for these sample inputs
5 units
- Horizontal change
- 3
- Vertical change
- 4
- Midpoint
- 1.5, 2
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
Distance = square root of ((x₂ − x₁)² + (y₂ − y₁)²). The midpoint averages the two x coordinates and the two y coordinates separately.
The points (0, 0) and (3, 4) are 5 units apart. Their midpoint is (1.5, 2).
What to keep in mind
For Cartesian coordinates with the same scale on both axes. Geographic latitude and longitude require a geodesic calculation; road distance is not modeled.
Common questions
Can I enter negative coordinates?
Yes. Each coordinate may be positive, zero or negative.
What if both points are the same?
Their distance is zero and the midpoint is the point itself.
Methodology maintained by ClarityKit. How these tools are built and checked.