• 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
      • International Olympiad
    • 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
    • TALLENTEX
    • AOSAT
    • ALLEN e-Store
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
NCERT SolutionsCBSE NotesCBSE Exam
Home
Maths
Distance Formula

Distance Formula

The distance formula in maths, especially in coordinate geometry, is used to find the distance between two points in an XY plane. It is a fundamental topic that is covered in the Distance Formula class 9.

1.0What is the Distance Formula?

To calculate distance formula between two points (x1,y1) and (x2,y2) in a two-dimensional plane, you have to:

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

Here, 

  • D is the distance between two points.
  • (x1,y1) and (x2,y2) are the coordinates of the points. 

2.0Derivation of the Distance Formula

The distance formula geometry is based on the Pythagorean theorem, which states:

a2 + b2 = c2

Here, c represents the length of the hypotenuse in a right triangle; a and b are the other sides. 

Considering the two points A (x1,y1) and B(x2,y2), we can form a right triangle by drawing a horizontal and a vertical line from these two points. The horizontal distance (x2 - x1) represents one leg of the triangle, and the vertical difference (y2-y1) represents the other leg. So, applying the Pythagorean theorem, we get: 

​D2=(x2​−x1​)2+(y2​−y1​)2D=(x2​−x1​)2+(y2​−y1​)2​​

3.0Distance Formula Example

Let’s take distance formula examples and solve them so you can grasp the concept better. 

Example: Find the distance between the points A (2,3) and B (6,7)

Solution: Using the distance formula in Maths, we can see, 

​D=(x2​−x1​)2+(y2​−y1​)2​D=(6−2)2+(7−3)2​D=(4)2+(4)2​D=32​D≈5.66​

Thus, the distance between the two points is 5.66 units.

4.0Distance Formula in Different Coordinate Systems

Refer to the table below for the distance formula geometry in different coordinate systems: 

Coordinate System

Distance Formula

2D Cartesian Plane

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

3D Cartesian Plane

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

Polar Coordinates

D=r12​+r22​−2r1​r2​Cosθ​

5.0Distance Formula Problems

To master the concept of distance formula, one needs to look closely at distance formula examples with answers. Let’s look at some distance formula problems to understand how to apply the concepts mathematically and in real-life situations. 

Problem 1: Find the distance between the points (4, –2) and (–3, 5).

Solution: 

​D=(x2​−x1​)2+(y2​−y1​)2​D=(−3−4)2+(5−(−2))2​D=(−7)2+(7)2​D=49+49​=98​D≈9.90​

Problem 2: The distance between the points A(4, 5) and B(x, 9) is 5 units. Find the possible values of x.

Solution: Let A(4, 5) be A(x1,y1), and B(x, 9) be B(x2,y2). Now according to the question: 

​D=(x2​−x1​)2+(y2​−y1​)2​5=(x−4)2+(9−5)2​5=(x−4)2+(4)2​​

Squaring both sides: 

25 = x2+16–8x +16

x2 – 8x + 7 = 0

x2 – 7x – x +7 =0

x(x-7) – 1(x–7)=0

(x – 1)(x–7) = 0

x = 1, 7 

Problem 3: Three vertices of a triangle are given as A(0, 0), B(6, 0), and C(6, 8). Prove whether it is a right-angled triangle.

Solution: Let’s use distance formula (D=(x2​−x1​)2+(y2​−y1​)2​) to prove if the vertices belong to a right-angled triangle or not. 

​AB=(6−0)2+(0−0)2​=6BC=(6−6)2+(8−0)2​=8AC=(6−0)2+(8−0)2​=100​=10​

Now, applying Pythagoras Theorem: Check if AC2 = AB2 + BC2

AC2 = (10)2 = 100

AB2 + BC2 = 62 .+ 82 = 36 + 64 = 100

Here, AC2 = AB2 + BC2, hence ABC is a right-angled triangle. 

6.0Distance Formula Problem-Solving Tips

While doing distance formula problem-solving, you should keep in mind the following tips and tricks to efficiently master the exercises. 

  • Plot the Points: Visual aids work better than just numbers. You can always plot the points in a graph to understand the problem better. 
  • Check Coordinates Carefully: Check the coordinates carefully before making the calculations. Small mistakes can lead to an incorrect result in the end.
  • Square Each Difference First: Always compute the square difference first before adding.
  • Use Approximation When Needed: Some square roots may not be exact, so you should round off accordingly.

7.0Applications of the Distance Formula

The distance formula in math is an important concept that has crucial real-life applications. 

  • Navigation Systems: It is used in GPS technology to calculate the distance between two locations.
  • Physics: Helps in motion analysis and speed calculations.
  • Computer Graphics: It is essential for rendering objects in a three-dimensional space. 
  • Sports Analytics: It is used in various sports to understand player movements and ball trajectories.

8.0Practice Questions

Below are a few distance formula problems the students can use to strengthen their understanding of the distance formula.

  • Find the distance between the points (5, 8) and (2, 3).
  • Calculate the distance between (-7, 4) and (1, -2).
  • A triangle has vertices at (0, 0), (3, 4), and (6, 0). Find the length of each side.

9.0Sample Questions

  1. How do you calculate the distance formula?

The distance between two points (x1,y2) and (x2,y2) in a Cartesian plane would be

D=(x2​−x1​)2+(y2​−y1​)2​⋅​((x2​−x1​)2+(y2​−y1​)2)

10.0Conclusion

The distance formula is a powerful tool in mathematics that has great real-life applications. Understanding the distance formula with real-life examples and problems would improve the understanding of students on this particular subject matter. By mastering this concept, students can confidently tackle real-world distance-related problems. 

Table of Contents


  • 1.0What is the Distance Formula?
  • 2.0Derivation of the Distance Formula
  • 3.0Distance Formula Example
  • 4.0Distance Formula in Different Coordinate Systems
  • 5.0Distance Formula Problems
  • 6.0Distance Formula Problem-Solving Tips
  • 7.0Applications of the Distance Formula
  • 8.0Practice Questions
  • 9.0Sample Questions
  • 10.0Conclusion

Frequently Asked Questions

The distance formula in maths finds the distance between two points in an XY plane.

The distance formula in maths is derived from the Pythagorean theorem.

A distance formula in maths is typically used in real-life scenarios like navigation systems, computer graphics, and sports analytics.

While you calculate distance formula, one should remember to check the coordinates carefully before making the calculations. One should also always compute the square differences first before adding. Some square roots may not be exact, so you would need to use approximations when needed.

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
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • NEET Mock Test
    • Olympiad
    • NEET 2025 Answer Key

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

ISO