Distance Calculator
Find the straight-line distance between two points on the coordinate plane using the Pythagorean-derived distance formula. The calculator also reports the horizontal and vertical offsets, the midpoint and the slope of the connecting segment.
TheCalculators — Distance Calculator
Printed thecalculators.com
Distance
5 units
√(3² + 4²) = √25
- Point A
- (0, 0)
- Point B
- (3, 4)
- Δx (horizontal)
- 3
- Δy (vertical)
- 4
- Distance
- 5 units
- Midpoint
- (1.5, 2)
- Slope
- 1.3333
Distance formula, step by step
- 1Write the formulad = √((x₂ − x₁)² + (y₂ − y₁)²)
- 2Substitute the pointsd = √((3 − 0)² + (4 − 0)²)
- 3Compute the offsetsd = √((3)² + (4)²) = √(9 + 16)
- 4Add and take the rootd = √25 = 5 units
- 5Midpoint (bonus)M = ((x₁+x₂)/2, (y₁+y₂)/2) = (1.5, 2)
This is straight-line (Euclidean) distance on a flat plane — ideal for geometry and mapping over short ranges. Driving distance along streets will always be longer.
Most useful next
Formula
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Pro tips
- • The formula is just the Pythagorean theorem: Δx and Δy are the two legs of a right triangle whose hypotenuse is the distance.
- • Squaring makes signs irrelevant — the distance from A to B always equals the distance from B to A.
- • For 3-D points, add (z₂ − z₁)² under the same square root.
FAQ
Related Calculators
More Everyday tools you might need.
Pythagorean Theorem Calculator
Solve a² + b² = c² for the missing side, plus angles, area and perimeter.
CalculateSlope Calculator
Find slope, angle of incline, distance and y = mx + b from two points, step by step.
CalculateTriangle Calculator
Solve any triangle: area, perimeter and angles from base & height or three sides (Heron).
CalculateCircle Calculator
From a radius get the diameter, circumference and area of a circle with worked steps.
Calculate