OML Search

Distance Formula


In these lessons, we will learn

  • how to derive the distance formula from the Pythagorean Theorem.
  • how to use the distance formula.

We also have a distance formula calculator that can calculate the distance between two points. Use it to check your answers.

Related Topics:
More Geometry Lessons

More Algebra Lessons

In the coordinate plane, we can use the distance formula to find the distance between any two points. The distance formula can be derive from the Pythagorean Theorem.

The distance between the two points (x1,y1) and (x2,y2) is given by the distance formula.


To find the distance between the points P(2, 3) and Q(1, 1). We can sketch the right-angled triangle PQR with PQ as the hypotenuse.


Using Pythagoras theorem: PQ2 = (2 – 1)2 + (3 –1)2
   ⇒ PQ =

In general, the distance between two points P(x1,y1) and Q(x2,y2) is given by the distance formula:

Find the distance between the points A(1, 2) and B(-3, -2).

Using the distance formula:
Distance =
                   = 5.66 (correct to 2 decimal places)

Worksheet 1, Worksheet 2 to calculate the distance between two points.


This video shows how the distance formula comes from the Pythagorean Theorem, and do one simple example of finding the distance between two points.

The following videos show the Distance Formula and how to find the Distance Between Two Points.

The following video gives another example of using the distance formula.


This distance formula calculator can calculate the distance between two given points on the coordinate plane.

Rotate to landscape screen format on a mobile phone or small tablet to use the Mathway widget, a free math problem solver that answers your questions with step-by-step explanations.

You can use the free Mathway calculator and problem solver below to practice Algebra or other math topics. Try the given examples, or type in your own problem and check your answer with the step-by-step explanations.

OML Search

We welcome your feedback, comments and questions about this site or page. Please submit your feedback or enquiries via our Feedback page.

[?] Subscribe To This Site

follow us in feedly
Add to My Yahoo!
Add to My MSN
Subscribe with Bloglines