Coordinate Distance Calculator
Calculate the distance between two points on a coordinate plane, plus midpoint, slope, and the distance formula breakdown.
Inputs
Results
Distance
5
How to Use This Calculator
- Enter the coordinates of the two points: (x₁, y₁) and (x₂, y₂).
- Distance is computed using the Euclidean formula: d = √((x₂−x₁)² + (y₂−y₁)²), which is the Pythagorean theorem applied to coordinate geometry.
- Midpoint coordinates are ((x₁+x₂)/2, (y₁+y₂)/2) — the exact center of the segment.
- Slope of the line segment is (y₂−y₁)/(x₂−x₁); vertical lines (x₁=x₂) have undefined slope.
- Coordinates can be positive or negative; all real number inputs are supported.
How the result changes with Y₂
| Y₂ | Distance |
|---|---|
| -8,000 | 8,000.0006 |
| -3,000 | 3,000.0015 |
| 3,000 | 3,000.0015 |
| 8,000 | 8,000.0006 |
What each input means
- X₁
- X-coordinate of the first point.
- Y₁
- Y-coordinate of the first point.
- X₂
- X-coordinate of the second point.
- Y₂
- Y-coordinate of the second point.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersX₁ = 0, Y₁ = 0, X₂ = 3, Y₂ = 4 = 4 input(s) provided
- Calculate DistanceDistance5 = 5
- Calculate Midpoint XMidpoint X1.5 = 1.5
- Calculate Midpoint YMidpoint Y2 = 2
Engine last updated .
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Slope Calculator
Calculate the slope, distance, midpoint, and line equation from two points. Visualize rise over run.
Geometry & MeasurementPythagorean Theorem Calculator
Find the missing side of a right triangle using the Pythagorean theorem. Calculate area, perimeter, and angles.
Travel & TourismDistance Calculator
Calculate the great-circle distance between two coordinates using the Haversine formula. Get distance in miles, kilometers, and nautical miles.
Aviation & Pilot ToolsGreat Circle Distance Calculator
Shortest distance between two coordinates.
Surveying & GISBearing & Distance Calculator
Calculate bearing (azimuth and quadrant) and horizontal distance between two survey coordinate points.
More in Math & Statistics.