Distance Between Two Points Calculator with Graph
The distance between two points on a coordinate grid is the length of the straight line joining them. This calculator uses the distance formula, which comes from Pythagoras: square the horizontal and vertical gaps, add them, and take the square root. Answers are exact where possible, and the midpoint is shown too.
How to use the distance between two points calculator
- Enter the first point (x₁, y₁).
- Enter the second point (x₂, y₂).
- Press Calculate to see the distance and the steps.
Formula
Worked example: (1, 2) and (4, 6)
- x₁: 1
- y₁: 2
- x₂: 4
- y₂: 6
✓ Answer checked
- Midpoint
Step-by-step working (4 steps)
Use the distance formula Distance formula
It is Pythagoras: the horizontal and vertical gaps are the two shorter sides.
Find the gaps
Subtract the coordinates.
Square and add
Square each gap and add them.
Take the square root
The result is a perfect square.
Formulas used
How this was checked
- ✓ An independent hypotenuse calculation gives the same distance.
Frequently asked questions
What is the distance formula?
d = √((x₂ − x₁)² + (y₂ − y₁)²). It is the Pythagorean theorem applied to the horizontal and vertical gaps.
What is the distance between (1, 2) and (4, 6)?
5. The gaps are 3 and 4, and √(9 + 16) = 5.
Does the order of the points matter?
No. The gaps are squared, so swapping the points gives the same distance.
People also search for
distance between two pointsdistance formula calculatordistance calculator coordinatesdistance between two points calculator with graphdistance between two points calculator with stepsfree distance between two points calculator online
