If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Distance formula review

Review the distance formula and how to apply it to solve problems.

What is the distance formula?

The formula gives the distance between two points (x1,y1) and (x2,y2) on the coordinate plane:
(x2x1)2+(y2y1)2
It is derived from the Pythagorean theorem.
The first quadrant of a coordinate plane with two tick marks on the x axis labeled x one and x two. There are two tick marks on the y axis labeled y one and y two. There is a point at x one, y one and another point at x two, y two. A line connects the two points. A third unlabeled point is at x two, y one with a line connecting from it to the point at x two, y two and another line connecting from it to the point at x one, y one forming a right triangle. The hypotenuse of the right triangle is unknown and the side made from the point at x one, y one and x two, y one is labeled x two minus x one. The third side is labeled y two minus y one.
Want to learn more about the distance formula? Check out this video.

What problems can I solve with the distance formula?

Given two points on the plane, you can find their distance. For example, let's find the distance between (1,2) and (9,8):
=(x2x1)2+(y2y1)2=(91)2+(82)2Plug in coordinates=82+62=100=10
Notice: we were careful to put the x-coordinates together and the y-coordinates together and not mix them up.

Check your understanding

Problem 1
What is the distance between (4,2) and (8,5)?
Choose 1 answer:

Want to try more problems like this? Check out this exercise.

Want to join the conversation?