Distance Formula - Math Steps, Examples & Questions (2024)

High Impact Tutoring Built By Math Experts

Personalized standards-aligned one-on-one math tutoring for schools and districts

Request a demo

In order to access this I need to be confident with:

Substitution

Coordinates math

Straight line graphs

Rate of change formula

Perpendicular lines Absolute value

Introduction

What is the distance formula?

Common Core State Standards

How to use the distance formula

Distance formula examples

Example 1: Distance between two points on a coordinate axes in the first quadrant.Example 2: Find the distance between two points on a coordinate axes.Example 3: Find the distance between two given points with positive coordinates.Example 4: Find the distance between any two given points. Example 5: Finding a missing value given the distance.Example 6: Finding a missing value given the distance.

Teaching tips for distance formula

Easy mistakes to make

Related graphing linear equation lessons

Practice distance formula questions

Distance formula FAQs

Next lessons

Still stuck?

Math resources Algebra Graphing linear equation

Distance formula

Here you will learn about the distance formula, including how to find the distance between two coordinates.

Students first learn about the distance formula in 8th grade as a part of geometry, and again in high school geometry as a part of expressing geometric properties with equations.

What is the distance formula?

The distance formula (also known as the Euclidean distance formula) is an application of the Pythagorean theorem a^2+b^2=c^2 in coordinate geometry.

It will calculate the distance between two cartesian coordinates on a two-dimensional plane, or coordinate plane.

To do this, find the differences between the x- coordinates and the difference between the y- coordinates, square them, then find the square root of the answer.

This can be written as the distance formula,

d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}

where d is the distance between the points \left(x_1, y_1\right) and \left(x_2, y_2\right).

For example,

Distance Formula - Math Steps, Examples & Questions (3)

The line segment between the first point and the second point forms the hypotenuse of a right angled triangle.

The length of the hypotenuse of the right triangle is the distance between the two end points of the line segment.

What is the distance formula?

Distance Formula - Math Steps, Examples & Questions (4)

Common Core State Standards

How does this relate to 8 th grade math?

  • Grade 8 – Geometry (8.G.B.8)
    Apply the Pythagorean Theorem to find the distance between two points in a coordinate system.

Distance Formula - Math Steps, Examples & Questions (5)

[FREE] Algebra Worksheet (Grade 6 to 8)

Distance Formula - Math Steps, Examples & Questions (6)

Use this quiz to check your grade 6 – grade 8 students’ understanding of algebra. 10+ questions with answers covering a range of 6th to 8th grade algebra topics to identify areas of strength and support!

DOWNLOAD FREE

x

Distance Formula - Math Steps, Examples & Questions (7)

[FREE] Algebra Worksheet (Grade 6 to 8)

Distance Formula - Math Steps, Examples & Questions (8)

Use this quiz to check your grade 6 – grade 8 students’ understanding of algebra. 10+ questions with answers covering a range of 6th to 8th grade algebra topics to identify areas of strength and support!

DOWNLOAD FREE

How to use the distance formula

In order to use the distance formula, you need to:

  1. Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.
  2. Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.
  3. Solve the equation.

Distance formula examples

Example 1: distance between two points on a coordinate axes in the first quadrant

Find the distance between the points A and B.

Distance Formula - Math Steps, Examples & Questions (9)
  1. Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.

A=(3,1) and B=(6,5).

Let \left(x_{1}, y_{1}\right)=(3,1) and \left(x_{2}, y_{2}\right)=(6,5).

2Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\&=\sqrt{(6-3)^2+(5-1)^2}\end{aligned}

Distance Formula - Math Steps, Examples & Questions (10)

3Solve the equation.

\begin{aligned}& d=\sqrt{(6-3)^2+(5-1)^2} \\\\& =\sqrt{3^2+4^2} \\\\& =\sqrt{9+16} \\\\& =\sqrt{25} \\\\& =5\end{aligned}

Example 2: find the distance between two points on a coordinate axes

Find the distance between the points A and B.

Give your answer to 1 decimal place.

Distance Formula - Math Steps, Examples & Questions (11)

Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.

Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.

Solve the equation.

\begin{aligned}d&=\sqrt{(6-1)^2+(2-(-5))^2} \\\\&=\sqrt{5^2+7^2} \\\\&=\sqrt{25+49} \\\\&=\sqrt{74} \\\\&=8.6 \text { (1dp)}\end{aligned}

Example 3: find the distance between two given points with positive coordinates

Find the distance between the points (1,4) and (7,12).

Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.

Let \left(x_{1}, y_{1}\right)=(1,4) and \left(x_{2}, y_{2}\right)=(7,12).

Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}\\\\&=\sqrt{(7-1)^2+(12-4)^2}\end{aligned}

Solve the equation.

\begin{aligned}d&=\sqrt{(7-1)^2+(12-4)^2} \\\\&=\sqrt{6^2+8^2} \\\\&=\sqrt{36+64} \\\\&=\sqrt{100} \\\\&=10\end{aligned}

Example 4: find the distance between any two given points

Find the distance between the points (-2,5) and (6,-7).

Give your answer to 1 decimal place.

Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.

Let \left(x_{1}, y_{1}\right)=(-2,5) and \left(x_{2}, y_{2}\right)=(6,-7).

Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}\\\\&=\sqrt{(6-(-2))^2+(-7-5)^2}\end{aligned}

Solve the equation.

\begin{aligned}d&=\sqrt{(6-(-2))^2+(-7-5)^2}\\\\&=\sqrt{8^2+(-12)^2} \\\\&=\sqrt{64+144} \\\\&=\sqrt{208} \\\\&=14.4 \text { (1dp)}\end{aligned}

Example 5: finding a missing value given the distance

The distance between the points (1,5) and (16,k) is 17.

Find the value of k, where k is negative.

Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.

Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}\\\\17&=\sqrt{(16-1)^2+(k-5)^2}\end{aligned}

Solve the equation.

Example 6: finding a missing value given the distance

The distance between the points (2,9) and (f,10) is 15.

Find the value of f, where f is positive.

Identify the two points and label them \bf{\left(\textbf{x}_{1}, \textbf{y}_{1}\right)} and \bf{\left(\textbf{x}_{2}, \textbf{y}_{2}\right)}.

Substitute the values into the formula, \bf{\textbf{d}=\sqrt{\left(\textbf{x}_2-\textbf{x}_1\right)^2+\left(\textbf{y}_2-\textbf{y}_1\right)^2}}.

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2}\\\\15&=\sqrt{(f-2)^2+(10-9)^2}\end{aligned}

Solve the equation.

Teaching tips for distance formula

  • Use visual aids such as coordinate planes that highlight the x- axis and y- axis, graphs, or geometric shapes to visually represent the distance formula.
  • Introduce real-world scenarios where distance calculations are essential. For example, discuss scenarios involving mapping or measuring distances between points in various contexts to allow students to see the relevance of the concept.
  • Allow students to explore the distance formula through hands-on activities such as measuring distances on a coordinate plane or calculating distances between objects in the classroom.

Easy mistakes to make

  • Confusing the distance formula with the midpoint formula
    An easy mistake to make is to find the midpoint instead of the distance.
    The midpoint formula is \left(\cfrac{x_{1}+x_{2}}{2}, \cfrac{y_{1}+y_{2}}{2}\right).
  • Squaring negative numbers to give a negative
    When using the distance formula, it is common to get negative values after the subtraction step. These values will be squared, so it is important to remember that the square of a negative value is positive.
    For example, (-3)^2=9.
  • Subtracting in the wrong order
    When subtracting, a common misconception is to switch the order of subtraction when plugging in the coordinates ( for example, using \left(x_{2}-x_{1}\right) and \left(y_{1}-y_{2}\right).
    Ensure that the subtraction is done in the same order for both coordinate values: \left(x_{2}-x_{1}\right) and \left(y_{2}-y_{1}\right).
  • Forgetting to simplify
    When solving, neglecting to simplify the expression inside the square root is a common mistake. After squaring each term, simplify the expression inside the square root before taking the square root.

Related graphing linear equation lessons

  • Graphing linear equations
  • Slope intercept form
  • How to find midpoint
  • How to find the y intercept
  • How to find the slope of a line
  • Linear interpolation

Practice distance formula questions

1. Find the distance between the point (6,8) and the origin.

Distance Formula - Math Steps, Examples & Questions (13)

14

Distance Formula - Math Steps, Examples & Questions (14)

10

Distance Formula - Math Steps, Examples & Questions (15)

3.74

Distance Formula - Math Steps, Examples & Questions (16)

100

Distance Formula - Math Steps, Examples & Questions (17)

The origin is (0,0) so let (x_{1},y_{1})=(0,0) and (x_{2},y_{2})=(6,8).

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\& =\sqrt{(6-0)^2+(8-0)^2} \\\\& =\sqrt{6^2+8^2} \\\\& =\sqrt{36+64} \\\\& =\sqrt{100} \\\\& =10\end{aligned}

Distance Formula - Math Steps, Examples & Questions (18)

2. Find the distance between the points (0,10) and (24,0).

34

Distance Formula - Math Steps, Examples & Questions (19)

5.83

Distance Formula - Math Steps, Examples & Questions (20)

26

Distance Formula - Math Steps, Examples & Questions (21)

14

Distance Formula - Math Steps, Examples & Questions (22)

Let \left(x_{1},y_{1}\right)=(0,10) and \left(x_{2},y_{2}\right)=(24,0).

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\& =\sqrt{(24-0)^2+(0-10)^2} \\\\& =\sqrt{24^2+(-10)^2} \\\\& =\sqrt{576+100} \\\\& =\sqrt{676} \\\\& =26\end{aligned}

3. Find the distance between the points (5,3) and (14,10).

Give your answer to 1 decimal place.

11.5

Distance Formula - Math Steps, Examples & Questions (23)

130

Distance Formula - Math Steps, Examples & Questions (24)

23.0

Distance Formula - Math Steps, Examples & Questions (25)

11.4

Distance Formula - Math Steps, Examples & Questions (26)

Let \left(x_{1},y_{1}\right)=(5,3) and \left(x_{2},y_{2}\right)=(14,10).

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\& =\sqrt{(14-5)^2+(10-3)^2} \\\\& =\sqrt{9^2+7^2} \\\\& =\sqrt{81+49} \\\\& =\sqrt{130} \\\\& =11.4 \text { (1dp)}\end{aligned}

4. Find the distance between the points (-2,4) and (-8,-9).

Give your answer to 1 decimal place.

14.3

Distance Formula - Math Steps, Examples & Questions (27)

19

Distance Formula - Math Steps, Examples & Questions (28)

16.4

Distance Formula - Math Steps, Examples & Questions (29)

7.8

Distance Formula - Math Steps, Examples & Questions (30)

Let \left(x_{1},y_{1}\right)=(-2,4) and \left(x_{2},y_{2}\right)=(-8,-9).

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\& =\sqrt{(-8-(-2))^2+(-9-4)^2} \\\\& =\sqrt{(-6)^2+(-13)^2} \\\\& =\sqrt{36+169} \\\\& =\sqrt{205} \\\\& =14.3 \text { (1dp)}\end{aligned}

5. The distance between the points (8,-3) and (15,a) is 25.

Find the value of a, where a is positive.

-27

Distance Formula - Math Steps, Examples & Questions (31)

21

Distance Formula - Math Steps, Examples & Questions (32)

27

Distance Formula - Math Steps, Examples & Questions (33)

-21

Distance Formula - Math Steps, Examples & Questions (34)

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\25&=\sqrt{(15-8)^2+(a-(-3))^2} \\\\25&=\sqrt{7^2+(a+3)^2} \\\\625&=49+(a+3)^2 \\\\576&=(a+3)^2 \\\\\pm 24&=a+3 \\\\a&=\pm 24-3\\\\a&=21 \text { or } a=-27\end{aligned}

As a is positive, a=21.

6. The distance between the points (b,4) and (6,-8) is 15.

Find the value of b, where b is negative.

3

Distance Formula - Math Steps, Examples & Questions (35)

-15

Distance Formula - Math Steps, Examples & Questions (36)

-3

Distance Formula - Math Steps, Examples & Questions (37)

15

Distance Formula - Math Steps, Examples & Questions (38)

\begin{aligned}d&=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\\\15&=\sqrt{(6-b)^2+(-8-4)^2} \\\\15&=\sqrt{(6-b)^2+(-12)^2} \\\\225&=(6-b)^2+144 \\\\81&=(6-b)^2 \\\\\pm 9&=6-b \\\\-b&=\pm 9-6\\\\-b&=3 \text { or }-b=-15 \\\\b&=-3 \text { or } b=15\end{aligned}

As b is negative, b=-3.

Distance formula FAQs

How do I use the distance formula to find the distance between two points?

The distance formula calculates the distance between two points by treating the vertical and horizontal distances as sides of a right triangle, and then finding the length of the line (hypotenuse of a right triangle) using the Pythagorean Theorem.

What is the Pythagorean Theorem?

The theorem is named after the ancient Greek mathematician, Pythagoras, and describes the relationships between the sides of a right triangle. It states that in a right triangle, the square of the length of the hypotenuse is equal to the sum of the squares of the lengths of the two other sides.

Can the distance formula be extended to a three dimensional space?

Yes, the distance formula can be extended to three dimensions. To find the distance between the two points \left(x_{1},y_{1},z_{1}\right) and \left(x_{2},y_{2},z_{2}\right) and using the following formula: d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2+\left(z_2-z_1\right)^2}

The next lessons are

  • Geometry
  • Angles
  • Angles in parallel lines
  • Angles in polygons
  • Rate of change
  • Systems of equations
  • Number patterns

Still stuck?

At Third Space Learning, we specialize in helping teachers and school leaders to provide personalized math support for more of their students through high-quality, online one-on-one math tutoring delivered by subject experts.

Each week, our tutors support thousands of students who are at risk of not meeting their grade-level expectations, and help accelerate their progress and boost their confidence.

Distance Formula - Math Steps, Examples & Questions (39)

Find out how we can help your students achieve success with our math tutoring programs.

Introduction

What is the distance formula?

Common Core State Standards

How to use the distance formula

Distance formula examples

Example 1: Distance between two points on a coordinate axes in the first quadrant.Example 2: Find the distance between two points on a coordinate axes.Example 3: Find the distance between two given points with positive coordinates.Example 4: Find the distance between any two given points. Example 5: Finding a missing value given the distance.Example 6: Finding a missing value given the distance.

Teaching tips for distance formula

Easy mistakes to make

Related graphing linear equation lessons

Practice distance formula questions

Distance formula FAQs

Next lessons

Still stuck?

x

[FREE] Common Core Practice Tests (Grades 3 to 6)

Prepare for math tests in your state with these Grade 3 to Grade 6 practice assessments for Common Core and state equivalents.

40 multiple choice questions and detailed answers to support test prep, created by US math experts covering a range of topics!

Download free

We use essential and non-essential cookies to improve the experience on our website. Please read our Cookies Policy for information on how we use cookies and how to manage or change your cookie settings.Accept

Distance Formula - Math Steps, Examples & Questions (2024)

FAQs

How to solve distance formula questions? ›

Distance Formula to find distance between two points (x1,y1) and (x2,y2) is D = √[(x2 – x1)2 + (y2 – y1)2 ]. The distance formula to find the distance of a point P(x, y) from the origin O(0,0) is D = √((x2 + y2).

What is the formula for distance and examples? ›

Distance between two points is the length of the line segment that connects the two points in a plane. The formula to find the distance between the two points is usually given by d=√((x2 – x1)² + (y2 – y1)²). This formula is used to find the distance between any two points on a coordinate plane or x-y plane.

How to remember distance formula? ›

There's an easy way to remember all three formulas. Just memorize the fraction “D/RT,” which we call the “DiRT” shortcut. As you may have guessed, D = Distance, R = Rate, and T = Time.

What is the distance formula trick? ›

If a person travels from point A to point B at a speed of S1 kilometers per hour (kmph) and returns back from point B to point A at a speed of S2 kmph, the total time taken for the round trip will be T hours. Distance between points A and B = T (S1S2/(S1+S2)).

What is the best way to calculate distance? ›

You calculate distance traveled by using the formula d=rt. You will need to know the rate at which you are traveling and the total time you traveled. You can then multiply these two numbers together to determine the distance traveled.

What is an example of distance? ›

If a car travels 100 meters north and then turns right and travels another 300 meters east, then the total distance that the car traveled can be found simply by adding the two segments of length traveled together. In this example, the total distance the car traveled is 400 meters.

What is the distance formula lesson? ›

Lesson Summary

The distance formula is a condensed version of the Pythagorean Theorem (a^2 + b^2 = c^2) and looks like this: d = sqrt((x2 - x1)^2 + (y2 - y1)^2). x1, x2, y1 and y2 are just the x and y coordinates of these two points.

What is distance answer in one sentence? ›

What Is Distance? Distance is the total movement of an object without any regard to direction.

How do you use distance formula step by step? ›

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.

What is the famous distance formula? ›

In two- and three-dimensional Euclidean space, the distance formulas for points in rectangular coordinates are based on the Pythagorean theorem. The distance between the points (a,b) and (c,d) is given by Square root of√(a − c)2 + (b − d)2.

What is the shortest possible distance formula? ›

Ans. The length of a straight line drawn from one point to the other is the shortest distance between the two places. (sqrt(x2-x1)2+(y2-y1)2) is the formula for the shortest distance between two points or lines whose coordinates are (x1, y1) and (x2, y2). The distance formula is another name for this concept.

How do you calculate for distance? ›

You calculate distance traveled by using the formula d=rt. You will need to know the rate at which you are traveling and the total time you traveled. You can then multiply these two numbers together to determine the distance traveled.

What is the formula for calculating total distance? ›

To calculate distance travelled in physics, you need to know the speed of an object and the amount of time it has been in motion. You can use the formula distance = speed x time to calculate the distance travelled. →What is speed in physics? Speed is a measure of how fast an object is moving.

Top Articles
The Secret to the Absolutely Best Soap Recipe
Orzo Rice Pilaf Recipe
Pr 127 Seat Map
Review: Chained Echoes (Switch) - One Of The Very Best RPGs Of The Year
Step 2 Score Release Thread
Nashville Tranny
Wgu Academy Phone Number
Guide to Gold Farming in Guild Wars 2 - MMOPIXEL
Stanley Steemer Medford Oregon
Unit 8 Lesson 2 Coding Activity
The Guardian Crossword Answers - solve the daily Crossword
Reforge Update – Which Reforges Are The Best? – Hypixel Skyblock - Sirknightj
Comenity Pay Cp
Th 8 Best Army
Chula Vista Tv Listings
How To Customise Mii QR Codes in Tomodachi Life?
Gas Buddy Prices Near Me Zip Code
Starfield PC, XSX | GRYOnline.pl
Water Leaks in Your Car When It Rains? Common Causes & Fixes
Meridamoonbeams
How Much Does Costco Gas Cost Today? Snapshot of Prices Across the U.S. | CostContessa
Yonkers Garbage Schedule 2023
Abby's Caribbean Cafe
Sun Commercial Obituaries
Free Time Events/Kokichi Oma
Filmy4Wap Xyz.com 2022
Shellys Earth Materials
Sport & Fitness in Hainbuch: Zubehör & Ausrüstung günstig kaufen
Bank Of America Financial Center Irvington Photos
William Sokol National Security Advisor Resigns
Walmart Tune Up Near Me
How Did Laura Get Narally Pregnant
No title - PDF Free Download
In Memoriam | September 2024
Associate Resources Aces-How To Create An Account And How Its Features Work
O'reilly's Eastman Georgia
Edenmodelsva
Lockstraps Net Worth
Kpq News Wenatchee Washington
6173770487
Directions To 401 East Chestnut Street Louisville Kentucky
Webworx Call Management
Neo Geo Bios Raspberry Pi 3
Trapshooters.com Discussion Forum
Lesson 2 Homework 4.1 Answer Key
Saqify Leaks
Myrtle Beach Pelicans Stadium Seating Chart
Georgiatags.us/Mvdkiosk
Used Go Karts For Sale Near Me Craigslist
Mets vs. Reds: Injury Report, Updates & Probable Starters – Sept. 7 - Bleacher Nation
Ladyva Is She Married
8X10 Meters To Square Meters
Latest Posts
Article information

Author: Ms. Lucile Johns

Last Updated:

Views: 6162

Rating: 4 / 5 (41 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Ms. Lucile Johns

Birthday: 1999-11-16

Address: Suite 237 56046 Walsh Coves, West Enid, VT 46557

Phone: +59115435987187

Job: Education Supervisor

Hobby: Genealogy, Stone skipping, Skydiving, Nordic skating, Couponing, Coloring, Gardening

Introduction: My name is Ms. Lucile Johns, I am a successful, friendly, friendly, homely, adventurous, handsome, delightful person who loves writing and wants to share my knowledge and understanding with you.