How to Find the Distance Between Two Points: 6 Steps (2024)

  • Categories
  • Education and Communications
  • Studying
  • Mathematics
  • Geometry
  • Coordinate Geometry

Download Article

Explore this Article

Other Sections

Tips and Warnings

Related Articles

References

Article Summary

Reviewed byGrace Imson, MA

Last Updated: June 14, 2023References

Download Article

Think of the distance between any two points as a line. The length of this line can be found by using the distance formula: How to Find the Distance Between Two Points: 6 Steps (3).

Things You Should Know

  • Jot down the coordinates that you're measuring the distance between.
  • Plug these coordinates into the distance formula: How to Find the Distance Between Two Points: 6 Steps (4).
  • Solve the formula by squaring the differences of the x and y values, adding these differences together, and finding the square root of the remaining sum.

Steps

Download Article

  1. 1

    Take the coordinates of two points you want to find the distance between. Call one point Point 1 (x1,y1) and make the other Point 2 (x2,y2). It does not terribly matter which point is which, as long as you keep the labels (1 and 2) consistent throughout the problem.[1]

    • x1 is the horizontal coordinate (along the x axis) of Point 1, and x2 is the horizontal coordinate of Point 2. y1 is the vertical coordinate (along the y axis) of Point 1, and y2 is the vertical coordinate of Point 2.
    • For an example, take the points (3,2) and (7,8). If (3,2) is (x1,y1), then (7,8) is (x2,y2).
  2. 2

    Know the distance formula. This formula finds the length of a line that stretches between two points: Point 1 and Point 2. The linear distance is the square root of the square of the horizontal distance plus the square of the vertical distance between two points.[2] More simply put, it is the square root of: How to Find the Distance Between Two Points: 6 Steps (8)

    Advertisem*nt

  3. 3

    Find the horizontal and vertical distance between the points. First, subtract y2 - y1 to find the vertical distance. Then, subtract x2 - x1 to find the horizontal distance. Don't worry if the subtraction yields negative numbers. The next step is to square these values, and squaring always results in a positive number.[3]

    • Find the distance along the y-axis. For the example points (3,2) and (7,8), in which (3,2) is Point 1 and (7,8) is Point 2: (y2 - y1) = 8 - 2 = 6. This means that there are six units of distance on the y-axis between these two points.
    • Find the distance along the x-axis. For the same example points (3,2) and (7,8): (x2 - x1) = 7 - 3 = 4. This means that there are four units of distance separating the two points on the x-axis.
  4. 4

    Square both values. This means that you will square the x-axis distance (x2 - x1), and that you will separately square the y-axis distance (y2 - y1).

    • How to Find the Distance Between Two Points: 6 Steps (11)
    • How to Find the Distance Between Two Points: 6 Steps (12)
  5. 5

    Add the squared values together. This will give you the square of the diagonal, linear distance between your two points. In the example of the points (3,2) and (7,8), the square of (8 - 2) is 36, and the square of (7 - 3) is 16. 36 + 16 = 52.

  6. 6

    Take the square root of the equation. This is the final step in the equation. The linear distance between the two points is the square root of the sum of the squared values of the x-axis distance and the y-axis distance.[4]

    • To carry on the example: the distance between (3,2) and (7,8) is sqrt (52), or approximately 7.21 units.
  7. Advertisem*nt

Calculator, Practice Problems, and Answers

Sample Finding the Distance Between Two Points Calculator

Sample Finding the Distance Between Two Points Practice Problems

Sample Finding the Distance Between Two Points Practice Answers

Community Q&A

Search

Add New Question

  • Question

    How do I find the horizontal distance between (3, 4) and (8, 4)?

    How to Find the Distance Between Two Points: 6 Steps (18)

    Community Answer

    Subtract 3 from 8 since both are at 4 on the y axis. So distance is: 8-3=5.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 74Helpful 99

  • Question

    What is the distance from the x-axis to (7,-2)?

    How to Find the Distance Between Two Points: 6 Steps (19)

    Community Answer

    This is an ambiguous question. I will assume you mean the shortest distance. Then, your second point will be (7,0) because the line that goes through (7,0) and (7,-2) is perpendicular to the x-axis. So your answer is 2.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 69Helpful 55

  • Question

    What is the distance between (2, 3) and (-8,12)?

    How to Find the Distance Between Two Points: 6 Steps (20)

    Community Answer

    Using the distance formula shown in the above article, find the horizontal distance between the two points by subtracting (-8) from 2, which is 10. Then find the vertical distance between the points by subtracting 12 from 3, which is -9. We then add together the squares of those two distances: 3² + (-9)² = 9 + 81 = 90. Find the square root of that sum: √90 = 9.49. That's the distance (in "units") between the two points.

    Thanks! We're glad this was helpful.
    Thank you for your feedback.
    If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission.Support wikiHow

    YesNo

    Not Helpful 104Helpful 47

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Tips

      • It doesn't matter if you get a negative number after subtracting y2 - y1 or x2 - x1. Because the difference is then squared, you will always get a positive distance in your answer.[5]

        Thanks

        Helpful0Not Helpful0

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Submit

      Thanks for submitting a tip for review!

      Advertisem*nt

      You Might Also Like

      How toUse Distance Formula to Find the Length of a LineHow toFind the Slope of a Line Using Two Points
      How to Calculate the Slope of a LineHow toFind the Length of the Hypotenuse2 Simple Ways to Calculate the Angle Between Two VectorsHow toFind the Vertex of a Quadratic EquationHow toFind the Perpendicular Bisector of Two PointsHow toFind Vertical Asymptotes of a Rational FunctionHow toGraph a ParabolaHow toUse the Pythagorean TheoremHow toFind the Equations of the Asymptotes of a HyperbolaHow toGraph an EquationHow toFind the Equation of a Perpendicular Line Given an Equation and PointHow toFind the Magnitude of a Vector

      Advertisem*nt

      About This Article

      How to Find the Distance Between Two Points: 6 Steps (36)

      Reviewed by:

      Grace Imson, MA

      Math Teacher

      This article was reviewed by Grace Imson, MA. Grace Imson is a math teacher with over 40 years of teaching experience. Grace is currently a math instructor at the City College of San Francisco and was previously in the Math Department at Saint Louis University. She has taught math at the elementary, middle, high school, and college levels. She has an MA in Education, specializing in Administration and Supervision from Saint Louis University. This article has been viewed 972,115 times.

      329 votes - 76%

      Co-authors: 25

      Updated: June 14, 2023

      Views:972,115

      Categories: Coordinate Geometry

      Article SummaryX

      To find the distance between two points on a line, take the coordinates of the two points. Label one as Point 1, with the coordinates x1 and y1, and label the other Point 2, with the coordinates x2 and y2. Plug these values into the distance formula, which is the square of X2 minus X1 plus the square of Y2 minus Y1, then the square root of that result. To see the distance formula written out, read on!

      Did this summary help you?

      In other languages

      Spanish

      Russian

      French

      Indonesian

      Thai

      Dutch

      Chinese

      Arabic

      Turkish

      Hindi

      Korean

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 972,115 times.

      Reader Success Stories

      • How to Find the Distance Between Two Points: 6 Steps (37)

        Happy U.

        Feb 19

        "Very good, made me pass Computer Science."

      More reader storiesHide reader stories

      Did this article help you?

      Advertisem*nt

      How to Find the Distance Between Two Points: 6 Steps (2024)

      References

      Top Articles
      Latest Posts
      Article information

      Author: Stevie Stamm

      Last Updated:

      Views: 6425

      Rating: 5 / 5 (80 voted)

      Reviews: 87% of readers found this page helpful

      Author information

      Name: Stevie Stamm

      Birthday: 1996-06-22

      Address: Apt. 419 4200 Sipes Estate, East Delmerview, WY 05617

      Phone: +342332224300

      Job: Future Advertising Analyst

      Hobby: Leather crafting, Puzzles, Leather crafting, scrapbook, Urban exploration, Cabaret, Skateboarding

      Introduction: My name is Stevie Stamm, I am a colorful, sparkling, splendid, vast, open, hilarious, tender person who loves writing and wants to share my knowledge and understanding with you.