How to Find Distance of Two Points? (+FREE Worksheet!)
Find the distance between two points on a coordinate plane using their coordinates and the distance formula.
Find Distance of Two Points: what to notice and how to work it
What to notice first
Common student mistake
Key formulas and cues
A reliable path
- Label the diagramWrite each given measurement on the figure.
- Choose the formulaMatch the formula to distance, midpoint, area, volume, or angle relationships.
- Check unitsUse linear, square, or cubic units as appropriate.
Worked examples
Rectangle area
- Area of a rectangle is length times width.
- Substitute 8 and 3.
- Use square units.
Midpoint
- Average the x-values.
- Average the y-values.
- Write the ordered pair.
Try one before moving on
Find Distance of Two Points: pop-up practice
The distance formula lets you calculate the exact length of any line segment on a coordinate plane using only the coordinates of its two endpoints. It comes directly from the Pythagorean theorem, so understanding one makes the other intuitive. Mastering this formula is a key skill for coordinate geometry throughout Algebra 1 and geometry.
What Is the Distance Formula?
For two points \(\color{blue}{(x_{1}, y_{1})}\) and \(\color{blue}{(x_{2}, y_{2})}\), the distance \(\color{blue}{d}\) between them is:
d = √((x2 − x1)2 + (y2 − y1)2)
You are finding the hypotenuse of a right triangle whose legs are the horizontal and vertical distances between the two points.
How to Use the Distance Formula
Step 1: Label the coordinates
Identify \(\color{blue}{(x_{1}, y_{1})}\) and \(\color{blue}{(x_{2}, y_{2})}\).
Step 2: Subtract x-coordinates and y-coordinates
Compute \(\color{blue}{x_{2} – x_{1}}\) and \(\color{blue}{y_{2} – y_{1}}\).
Step 3: Square each difference
\(\color{blue}{(x_{2} – x_{1})^{2}}\) and \(\color{blue}{(y_{2} – y_{1})^{2}}\). Note: squaring removes negative signs.
Step 4: Add and take the square root
Add the two squared differences and take the square root. Simplify if the result is a perfect square.
- Distance from \(\color{blue}{(0, 0)}\) to \(\color{blue}{(3, 4)}\): \(\color{blue}{d = \sqrt{(9 + 16)} = \sqrt{25} = 5}\)
Step-by-Step Summary
- Write down both endpoints and label them.
- Find \(\color{blue}{(x_{2} – x_{1})}\) and \(\color{blue}{(y_{2} – y_{1})}\).
- Square both differences.
- Add the squares.
- Take the positive square root of the sum.
- Simplify if possible.
Watch: Distance Formula (Video Lesson)
Khan Academy derives the distance formula from the Pythagorean theorem and works through examples:
Finding Distance of Two Points – Worked Examples
Example 1: Find the distance between \(\color{blue}{(0, 0)}\) and \(\color{blue}{(3, 4)}\).
\(\color{blue}{d = \sqrt{((3 – 0)}^{2} + (4 – 0)^{2}) = \sqrt{(9 + 16)} = \sqrt{25} = 5}\)
Answer: \(\color{blue}{5}\)
Example 2: Find the distance between \(\color{blue}{(1, 2)}\) and \(\color{blue}{(4, 6)}\).
\(\color{blue}{d = \sqrt{((4 – 1)}^{2} + (6 – 2)^{2}) = \sqrt{(9 + 16)} = \sqrt{25} = 5}\)
Answer: \(\color{blue}{5}\)
Example 3: Find the distance between \(\color{blue}{(-1, 3)}\) and \(\color{blue}{(2, 7)}\).
\(\color{blue}{d = \sqrt{((2 – (-1)})^{2} + (7 – 3)^{2}) = \sqrt{(9 + 16)} = \sqrt{25} = 5}\)
Answer: \(\color{blue}{5}\)
Example 4: Find the distance between \(\color{blue}{(-3, -4)}\) and \(\color{blue}{(3, 4)}\).
\(\color{blue}{d = \sqrt{((3 – (-3)})^{2} + (4 – (-4))^{2}) = \sqrt{(36 + 64)} = \sqrt{100} = 10}\)
Answer: \(\color{blue}{10}\)
More Practice: Distance Formula Video
This video works through finding the distance between two coordinate points with full step-by-step solutions:
Exercises for Finding the Distance Between Two Points
Try these 10 questions one at a time. After each answer you will see a step-by-step explanation, so you can learn from every question, right or wrong.
Question 1 of 10
1. What is the distance between (1, 2) and (4, 6)?
- 5
- 7
- 25
- √7
Show the answer and explanation
Answer: A. 5
Use the distance formula: d = √((x₂ − x₁)² + (y₂ − y₁)²).
Differences: 4 − 1 = 3 and 6 − 2 = 4. So d = √(9 + 16) = √25.
d = 5. This is the 3-4-5 right triangle hiding in the coordinates.
2. Find the distance between (0, 0) and (6, 8).
Type your answer.
Show the answer and explanation
Answer: 10
Differences: 6 and 8.
d = √(6² + 8²) = √(36 + 64) = √100.
d = 10. Distance is always positive, because it comes from a square root.
3. Find the distance between (−2, 1) and (3, 13).
- 13
- 12
- 17
- √119
Show the answer and explanation
Answer: A. 13
Differences: 3 − (−2) = 5 and 13 − 1 = 12.
d = √(25 + 144) = √169.
d = 13. Distance is always positive, because it comes from a square root.
4. Find the distance between (2, 5) and (2, −3).
Type your answer.
Show the answer and explanation
Answer: 8
The x-coordinates are the same, so the points are on a vertical line.
The distance is just the difference in y: |5 − (−3)| = 8.
The formula gives the same: √(0² + 8²) = 8.
5. Find the distance between (1, 1) and (4, 5).
- 5
- 7
- √7
- 25
Show the answer and explanation
Answer: A. 5
Differences: 3 and 4.
d = √(9 + 16) = √25 = 5.
Squaring removes any negative signs, so the order of the points does not matter.
6. Find the distance between (−3, −4) and (0, 0).
Type your answer.
Show the answer and explanation
Answer: 5
Differences: 0 − (−3) = 3 and 0 − (−4) = 4.
d = √(9 + 16) = √25.
d = 5. Distance is always positive, because it comes from a square root.
7. Find the distance between (0, 0) and (1, 1).
- 1
- 2
- √2
- √1
Show the answer and explanation
Answer: C. √2
Differences: 1 and 1.
d = √(1 + 1) = √2.
That is about 1.414, the diagonal of a 1 by 1 square.
8. Find the distance between (5, 2) and (−7, 7).
Type your answer.
Show the answer and explanation
Answer: 13
Differences: −7 − 5 = −12 and 7 − 2 = 5.
d = √((−12)² + 5²) = √(144 + 25) = √169.
d = 13. Distance is always positive, because it comes from a square root.
9. Where does the distance formula come from?
- The Pythagorean theorem
- The area formula
- The slope formula
- The midpoint formula
Show the answer and explanation
Answer: A. The Pythagorean theorem
The horizontal and vertical differences form the two legs of a right triangle.
The distance between the points is the hypotenuse.
So d² = (difference in x)² + (difference in y)², which is the Pythagorean theorem.
10. Find the distance between (−1, 3) and (7, −3).
Type your answer.
Show the answer and explanation
Answer: 10
Differences: 7 − (−1) = 8 and −3 − 3 = −6.
d = √(64 + 36) = √100.
d = 10. Distance is always positive, because it comes from a square root.
Frequently Asked Questions
What is the formula for finding distance between two points?
The distance formula is d = √((x₂ − x₁)² + (y₂ − y₁)²). Subtract the x-coordinates, subtract the y-coordinates, square both differences, add them and take the square root. For the points (1, 2) and (4, 6), the differences are 3 and 4, so d = √(9 + 16) = √25 = 5 units.
How do you find the distance between two points on a coordinate plane?
Label one point (x₁, y₁) and the other (x₂, y₂), then plug them into the distance formula. For (−2, 5) and (4, −3): x₂ − x₁ = 4 − (−2) = 6 and y₂ − y₁ = −3 − 5 = −8. Squaring gives 36 and 64, which add to 100, and √100 = 10. It does not matter which point you call first, because squaring removes any negative sign.
How do you find the distance between two points without the distance formula?
Use the Pythagorean theorem directly, which is where the distance formula comes from. Plot both points, draw a right triangle with one horizontal and one vertical leg, and count the length of each leg. Then use a² + b² = c². From (0, 0) to (3, 4), the legs are 3 and 4, so c² = 9 + 16 = 25 and the distance is 5.
How do you find the distance between points on a horizontal or vertical line?
When two points share the same y-coordinate, the line is horizontal, so the distance is the absolute value of the difference in x-coordinates. When they share an x-coordinate, subtract the y-coordinates instead. From (2, 7) to (9, 7), the distance is |9 − 2| = 7. From (−3, −1) to (−3, 6), it is |6 − (−1)| = 7. No square roots are needed.
How do you find the distance between points in 3D?
In three dimensions, add a third term for the z-coordinates: d = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²). For (1, 2, 3) and (3, 5, 9), the differences are 2, 3 and 6, so d = √(4 + 9 + 36) = √49 = 7. It is the same idea as the 2D formula, just applied along one more axis.
What is the distance between the points (0, 0) and (36, 15)?
The distance is 39 units. Using the distance formula, d = √((36 − 0)² + (15 − 0)²) = √(1,296 + 225) = √1,521 = 39. When one point is the origin, the formula shortens to √(x² + y²). These numbers form a 5-12-13 right triangle scaled up by 3, since 15 = 3 × 5, 36 = 3 × 12 and 39 = 3 × 13.
Related Topics
Related to This Article
More math articles
- Dive into Fractions: How to Solve Addition and Subtraction Word Problems
- IRR Calculator: Internal Rate of Return
- Articles of Confederation and Western Lands: Powers and Ordinances
- Nevada SBAC Grade 3 Math at Home — 49 Free Single-Skill PDF Worksheets
- Top 10 7th Grade MAP Math Practice Questions
- Representative samples
- The Best Grade 5 Math Book for Oklahoma Students
- ISEE Upper-Level Math FREE Sample Practice Questions
- Relationships, Marriage, and Family
- Top 10 Free Websites for TASC Math Preparation







What people say about "How to Find the Distance Between Two Points"?
No one replied yet.