• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Offline Courses
      • Distance Learning
      • Hindi Medium Courses
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • NEW
    • JEE MAIN 2025
    • NEET
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
    • ALLEN e-Store
    • AOSAT
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
JEE PhysicsJEE Chemistry
Home
JEE Maths
Distance Between Two Points

Distance Between Two Points

In geometry, one of the most fundamental and essential concepts is determining the distance between two points. Whether you are solving problems in mathematics, physics, or even in real-life scenarios like navigation, knowing how to find the distance between two points is crucial.

1.0What is Distance?

The distance between two points is simply the length of the straight line that connects them. In simple terms, it's the shortest path between two points, no matter the space in which those points exist. This concept can be applied in both two-dimensional (2D) and three-dimensional (3D) spaces, and the formula to calculate it slightly changes based on the dimensions.

2.0Distance Formula in 2D

Let’s start by considering two points on a two-dimensional plane. The coordinates of these points are:

  • PointA:(x1​,y1​)
  • PointB:(x2​,y2​)

The distance formula in a 2D plane is derived from the Pythagorean theorem. According to the theorem, in a right-angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. To calculate the distance between the two points, we treat the difference in the x-coordinates as one side of a right triangle and the difference in the y-coordinates as the other side.

The formula for distance in 2D is:

d=(x2​−x1​)2+(y2​−y1​)2​

Where:

  • d is the distance between the points A and B,
  • (x1​,y1​)and(x2​,y2​) are the coordinates of points A and B.

Example:

If you have the points A(1, 2) and B(4, 6), the distance between these two points can be calculated as:

d=(4−1)2+(6−2)2​ 

d=32+42​ 

d=9+16​=25​=5

So, the distance between points A and B is 5 units.

3.0Distance Formula in 3D

In three-dimensional space, we need to account for the additional z-coordinate. If the coordinates of two points in 3D space are:

  • PointA:(x1​,y1​,z1​)
  • PointB:(x2​,y2​,z2​)

The formula for the distance between the two points in 3D space becomes:

d=(x2​−x1​)2+(y2​−y1​)2+(z2​−z1​)2​

This formula follows the same principle as the 2D distance formula, but we add the difference in the z-coordinates.

Example:

If you have the points A(1, 2, 3) and B(4, 6, 8), the distance can be calculated as:

d=(4−1)2+(6−2)2+(8−3)2​ 

d=32+42+52​ 

d=9+16+25​=50​≈7.07

So, the distance between points A and B in 3D space is approximately 7.07 units.

4.0Real-Life Applications of Distance Between Two Points

The concept of distance between two points is not just theoretical; it is used in many real-life applications:

  1. Navigation and GPS Systems:
    The distance formula is fundamental to navigation systems like GPS. Whether you’re walking, driving, or flying, GPS systems calculate the distance between your location and your destination using similar concepts, though they often consider more factors (like the Earth's curvature in long distances).
  2. Physics and Engineering:
    In physics, calculating the distance between two points is critical for determining displacement, velocity, and acceleration. Engineers often use these calculations when designing structures or when calculating forces in mechanical systems.
  3. Computer Graphics:
    The distance between two points is essential in 3D modeling and computer graphics. It's used in rendering, creating realistic animations, and even in the collision detection algorithms in video games.
  4. Data Science and Machine Learning:
    In data science, the distance between points in multidimensional space (often called Euclidean distance) is used in clustering algorithms, recommendation systems, and classification tasks.

Table of Contents


  • 1.0What is Distance?
  • 2.0Distance Formula in 2D
  • 3.0Distance Formula in 3D
  • 4.0Real-Life Applications of Distance Between Two Points

Frequently Asked Questions

The distance will be 0.

It’s the same as the distance formula, since any two points define a straight line.

It uses the horizontal and vertical differences as the legs of a right triangle.

Yes, distance is always non-negative (≥ 0).

It depends on the units of the coordinates (e.g., meters, kilometers, etc.).

Absolutely. It's often used to find lengths of sides in triangles, rectangles, etc.

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
    • CUET Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • NEET Mock Test
    • CUET
    • Olympiad
    • JEE Main 2 Solved Papers

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO