Last updated on July 4th, 2025
A distance formula helps us find the length of the straight line connecting two points. The distance between two points is just the length of the line segment joining them. It is based on the Pythagorean theorem and works in both two-dimensional and three-dimensional spaces. In co-ordinate geometry, it helps calculate distance between two points on the XY plane.
To determine the distance between two points, there are a few formulas that children should learn. Let’s look at the formulas related to distance:
Formula 1: Distance Formula in a 2D plane
Distance = √((x2 -x1)2 + (y2 - y1)2)
This formula is used to find the straight line distance between two points (x1 , y1) and (x2 ,y2) on a two-dimensional plane.
For example, Points A (3 , 4) and B (7 , 1) = Distance = (7 -3)2 + (1 - 4)2 = 5
Formula 2: Distance Formula in a 3D plane
Distance = √((x2 -x1)2 + (y2 - y1)2 + (z2-z1)2)
This formula is used to find the straight line distance between two points (x1 , y1 , z1) and (x2 , y2 , z2) in a three-dimensional plane.
For example, Points A(1 , 2 , 3) and B(4 , 6 , 8) = Distance = '√((4 -1)2 + (6 - 2)2+(8-3)2) = 7.07
Formula 3: Distance between a point and a line (2D)
Distance = Ax1 + By1+C/'√(A2 + B2)
This formula is used to find the shortest distance between a point (x1 , y1) and a line given by the equation Ax + By + C =0.
For Example, Point P(1 , 2) and line 3x-4y+5=0 ; Distance 3(1)-4(2)+5/ '√(32+(-4)2) = 1.
Formula 4: Distance between two parallel lines
Distance = C2 - C3/ '√(A2+B2)
This formula is used to calculate the perpendicular distance between two parallel lines Ax + By + C1 = 0 and Ax + By + C2 = 0.
Distance formulas are very useful in math and everyday life. They make solving problems easier and help us think logically.
Memorizing math formulas can sometimes be tricky, but with the right methods, it becomes easier and more manageable. When kids use these tips and tricks , they will not only memorize formulas faster but also be able to apply them confidently to solve problems. Let’s look at some ways to make students understand better:
While learning distance formulas, students often make a few common mistakes. Understanding these mistakes and how to avoid them can help students get a better understanding of distance formulas. Let’s look at a few common mistakes and how to avoid them.
Find the distance between the points P (3,4) and Q (7,1) in a 2D plane.
The distance between the points P(3 , 4) and Q(7 , 1) is 5 units.
Use the 2D distance formula:
D= √((x2 -x1)2 + (y2 - y1)2)
Substitute the coordinates of points P(3 , 4) and Q (7 , 1):
√((7 -3)2 + (1 - 4)2) = √(42 + (-3)2)
√(16 + 9) = √25 = 5.
Find the distance between the points A(1, 2, 3) and B(4, 6, 8) in 3D space.
The distance between A (1, 2, 3) and B (4, 6, 8) is approximately 7.07 units.
Use the 3D distance formula:
D= √((x2 -x1)2 + (y2 - y1)2 + (z2-z1)2)
Substitute the coordinates of points A (1, 2 , 3) and B (4 , 6, 8):
√ ((4-1)2 + (6-2)2+(8-3)2) = √ (9+ 16+ 25)
= √ 50 = 7.07.
Find the distance between P (0 , 0) and Q (6 , 8) on a straight line.
The distance between P (0 , 0) and Q ( 6, 8) is approximately 10 units.
D = √((6-0)2 +(8-0)2) = √(36+64) = √100 = 10
Find the distance from A (3 , 4) to the origin (0 , 0).
The distance between A(3 , 4) to the origin (0, 0) 5 units.
D = √((3)2 +(4)2) = √(9+16) = √25 = 5
Hiralee Lalitkumar Makwana has almost two years of teaching experience. She is a number ninja as she loves numbers. Her interest in numbers can be seen in the way she cracks math puzzles and hidden patterns.
: She loves to read number jokes and games.