You are on page 1of 11

6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

Maths (/maths/) >  Math Article (/maths/articles/) >  Distance Between Two Points Formula (/maths/distance-between-two-

points-formula/)

(https://byjus.com/byjus-classes-book-a-free-60-minutes-class/registration/?
utm_source=byjus.com&utm_medium=maths-topbanner&utm_campaign=byjus-classes-right-
tuitions)

Distance Between Two Points Formula

Distance between two points formula uses the coordinates of two points in space. In coordinate
geometry, the distance between two points can be calculated using distance formula
(https://byjus.com/maths/distance-formula/), present in a two-dimensional or three-dimensional
space. The distance formula for two points is also an application of the Pythagoras theorem. Let us
learn more in this article with examples.

What is Distance Between Two Points Formula?


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.

Distance Formula for Two Points


As discussed, the distance formula is used to find the distance between any two points, when we
already know the coordinates. The points could be present alone on the x-axis or y-axis or in both axes.

Let us consider, there are two points say A and B in an XY plane. The coordinates of point A are (x1,y1)
and of B are (x2,y2). Then the formula to find the distance between two points PQ is given by:

2 2
AB = √ [x2 − x1] + [y2 − y1]

Note: If the coordinates of two points P and Q are such that, (x1, 0) and (x2, 0), the distance between PQ
will be given by:
Hi there! Got any questions?
I can help you...
PQ = |x2 – x1|

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 1/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

Distance Between Two Points on a Coordinate Plane


Now in your neighbourhood
BYJU'S TUITION CENTRE
In case of a two-dimensional plane, the two points lie along x-axis and y-axis. The distance of a point
from the y-axis
Click is on
to Chat known as its x-coordinate or abscissa. The distance of a point from the x-axis is
known as its y-coordinate, or ordinate. The coordinates of a point on the x-axis and y-axis are of the
(https://bit.ly/3ocBPmE)
form (x, 0) and (0, y), respectively.

In the above graph, the distance between point origin O(0,0) and P(x,y) is given by:

OP = √((x2 – 0)² + (y2 – 0)²)

OP = √((x2)² + (y2)²)

or simply,

OP = √(x² + y²)

where x and y are coordinates of point other than origin.

Distance Between Two Points Formula in 3D Space


If we have to find the distance between the points in a three-dimensional space, then we consider here
an extra coordinate which is present in the z-axis.

Let us consider two points A(x1,y1,z1) and B(x2,y2,z2) in 3d space. Then, the distance formula
Hi there! for these two
Got any questions?
I can help you...
points is given by;

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
2 2 2
AB = √ [x − x ] + [y − y ] + [z − z ]
2 1 2 1 2 1
&
Distance
Win of any point P(x,y,z) in space from origin O(0,0,0), is given by,

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 2/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

2 2 2
AB = √ x + y + z
Now in your neighbourhood
BYJU'S TUITION CENTRE
Related Articles
Distance Between Two Points (https://byjus.com/maths/distance-between-points/)
(https://bit.ly/3ocBPmE)
Distance between Two Lines (https://byjus.com/maths/distance-between-two-lines/)

Midpoint theorem (https://byjus.com/maths/mid-point-theorem/)

Distance Between Two Points in Three Dimensions (https://byjus.com/maths/distance-between-


two-points-3d/)

Solved Examples
Q.1: What is the distance between two points A and B whose coordinates are (3, 2) and (9, 7),
respectively?

Solution: Given, A (3,2) and B(9,7) are the two points in a plane.

We have to find the distance between A and B.

Using distance between formula for two points, we know;

distance, d=√((x2 – x1)² + (y2 – y1)²)

Here, x1 = 3, x2 = 9, y1 = 2 and y2 = 7.

Thus, putting all the values of x and y in the formula, we get;

d=√((9-3)² + (7-2)²)

d = √(62 + 52)

d = √(36 + 25)

d = √61 unit.

Q.2: Find the distance of a point P(4, 3) from the origin.

Solution: Given, P(4, 3) is a point at a distance from the origin.

The coordinates of a point at the origin will be (0,0).

Using the distance between formula for two points, we know;


Hi there! Got any questions?
distance, d=√((x2 – x1)² + (y2 – y1)²) I can help you...

Here, x1 = 4, x2 = 0, y1 = 3 and y2 = 0.
(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win
Thus, putting all the values of x and y in the formula, we get;

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 3/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

d = √((0-4)² + (0-3)²)
Now in your neighbourhood
BYJU'S TUITION CENTRE
d = √(42 + 32)

d = √(16 + 9)
(https://bit.ly/3ocBPmE)
d = √25

d = 5 unit

MATHS Related Links

Fibonacci (https://byjus.com/maths/fibonacci-
Infinity
Numbers numbers/)

Recursive (https:
Area Of Parabola (https://byjus.com/jee/parabola/)
Function functio

Surface Area Of (https://byjus.com/maths/cuboid-and- All Properties Of (http


Cuboid cube/) Triangle of-tr

Square Root Of (https://byjus.com/maths/square-root-of-


Area Of Square (https://
9 9/)

Roots Of Quadratic (htt


Line Segment (https://byjus.com/maths/line-segment/)
Equation roo

Comments
Leave a Comment
Your Mobile number and Email id will not be published. Required fields are marked *
*

Mobile Number Send OTP

Hi there! Got any questions?


I can help you...

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 4/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples
*
Now in
Type your
your neighbourhood
message or doubt here...
BYJU'S TUITION CENTRE

(https://bit.ly/3ocBPmE)

Post My Comment

(https://byjus.com/byjus-classes-book-a-
free-60-minutes-class/registration/?
utm_source=byjus.com&utm_medium=maths-
sidebanner&utm_campaign=byjus-
classes-right-tuitions)

Hi there! Got any questions?


I can help you...

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win
(https://byjus.com/byjus-classes-book-a-

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 5/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

free-60-minutes-class/registration/?
Now in your neighbourhood
utm_source=byjus.com&utm_medium=maths-
BYJU'S TUITION CENTRE
sidebanner&utm_campaign=byjus-
classes-right-tuitions)

(https://bit.ly/3ocBPmE)

CBSE Sample Papers

CBSE Sample Papers Class 8 Maths

CBSE Sample Papers Class 9 Maths

CBSE Sample Papers Class 10


Maths

CBSE Sample Papers Class 11 Maths

CBSE Sample Papers Class 12 Maths

CBSE Previous Year Question


Papers

CBSE Previous Year Question


Papers Class 12 Maths

CBSE Previous Year Question


Papers Class 10 Maths

Hi there! Got any questions?


I can help you...
ICSE Sample Papers

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
& ICSE Sample Papers Class 8 Maths
Win

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 6/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

ICSE Sample Papers Class 9 Maths


Now in your neighbourhood
BYJU'S TUITION CENTRE

ICSE Sample Papers Class 10 Maths


(https://bit.ly/3ocBPmE)

ISC Sample Papers Class 11 Maths

ISC Sample Papers Class 12 Maths

ICSE Previous Year Question


Papers

ICSE Previous Year Question Papers


Class 10

ISC Previous Year Question Papers


Class 12 Maths

BYJU'S Tuition Centre for Class 4


to 10

Class 10 Tuition Centre

Class 9 Tuition Centre

Class 8 Tuition Centre

Hi there! Got any questions?


Class 7 Tuition Centre I can help you...

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win
Class 6 Tuition Centre

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 7/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

Now in your neighbourhood


Class 5 Tuition Centre
BYJU'S TUITION CENTRE

Class 4 Tuition Centre


(https://bit.ly/3ocBPmE)

(https://byjus.com/learn/home?
utm_source=byjus.com&utm_medium=maths-
askadoubt&utm_campaign=Ask_A_Doubt)

Join BYJU'S Learning Program


Name

Mobile Number

City

Hi there! Got any questions?


Grade/Exam I can help you...

Email Address
(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 8/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

Submit
Now in your neighbourhood
BYJU'S TUITION CENTRE

(https://bit.ly/3ocBPmE)

COURSES EXAMS

CBSE (/cbse/) CAT Exam (/cat/exam-info/)

ICSE (/icse/) CAT 2023 (/cat/cat-2023/)

CAT (/cat/) GATE Exam (/gate/gate-exam/)

IAS (/ias/) GATE 2024 (/gate/gate-2024/)

JEE (/jee/) IAS Exam (/ias-exam/)

NEET (/neet/) UPSC Exam (/free-ias-prep/upsc-exam/)

Commerce (/commerce/) UPSC Syllabus (/ias/upsc-syllabus/)

JEE Main (/jee/jee-main/) UPSC 2023 (/free-ias-prep/upsc-2023/)

NCERT (/ncert/) Bank Exam (/bank-exam/)

JEE Advanced (/jee-advanced/) Government Exams (/govt-exams/)

UPSC Prelims 2022 Question Paper (/free-ias-prep/upsc-prelims- Education News (/news/)


2022-question-papers-pdf/)

UPSC Prelims 2022 Answer Key (/free-ias-prep/upsc-prelims- CLASSES


answer-key-2022/)
Kids Learning (/kids-learning/)
IAS Coaching (/ias-coaching/)
Class 1st - 3rd (/disney-byjus-early-learn/)
CBSE Sample Papers (/cbse/cbse-sample-papers/)
Class 4th - 5th (/class-4-5/)
CBSE Question Papers (/cbse-study-material/cbse-previous-year-
question-paper/) Class 6th - 10th (/class-6-10/)

Class 11th - 12th (/class-11-12/)

BYJU'S Tuition Centre (/btc/)

EXAM PREPARATION COMPANY Hi there! Got any questions?


I can help you...
Free CAT Prep (/free-cat-prep/) About Us (/about-us/)

Free IAS Prep (/free-ias-prep/) Contact Us (/contact-us/)


(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Maths
Win (/maths/) Contact our Financial Partners
(https://byjus.com/our-financial-partners/)
Physics (/physics/)

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 9/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

Chemistry (/chemistry/) Investors (/our-investors/)


Now in your neighbourhood
Biology (/biology/) Careers (/careers-at-byjus/)
BYJU'S TUITION CENTRE
JEE 2023 (/jee/jee-2023/) BYJU'S in Media (/press/)

JEE Advanced 2023 Question Paper with Answers (/jee/jee- Social Initiative - Education for All
(https://bit.ly/3ocBPmE)
advanced-2023-question-paper/) (/educationforall/)

JEE Main Mock Test (/jee/jee-main-mock-test/) BYJU'S APP (/byjus-the-learning-app/)

JEE Main 2023 Question Papers with Answers (/jee/jee-main-2023- FAQ (/faq/)
question-papers/)
Students Stories - The Learning Tree
JEE Main 2022 Question Papers with Answers (/jee/jee-main-2022- (https://blog.byjus.com/the-learning-tree/)
question-papers/)
Support (/customer-care/)
JEE Advanced 2022 Question Paper with Answers (/jee/jee-
Faces of BYJU'S – Life at BYJU'S
advanced-2022-question-paper/)
(https://blog.byjus.com/life-at-byjus/)
NEET 2023 Question Paper (/neet/neet-2023-question-paper/)
Blog (https://blog.byjus.com/)
NEET 2023 Question Paper Analysis (/neet/neet-2023-question-
BYJU'S Give (/give/)
paper-analysis/)

NEET 2022 Answer Key (/neet/neet-2022-answer-key/)

RESOURCES

Worksheets (/worksheets/)

BYJU'S Answer (/question-answer/)

DSSL (/about-dssl/)

Home Tuition (/home-tuition/)

All Products (https://shop.byjus.com)

Calculators (/calculators/)

Formulas (/formulas/)

FREE TEXTBOOK SOLUTIONS STATE BOARDS

(/textbook-solutions/) Maharashtra (/msbshse/)


NCERT Solutions (/ncert-solutions/)
Gujarat (/gseb/)
NCERT Exemplar (/ncert-exemplar/)
Tamil Nadu (/tn-board/)
NCERT Solutions for Class 6 (/ncert-solutions-class-6/)
Karnataka (/kseeb/)
NCERT Solutions for Class 7 (/ncert-solutions-class-7/)
Kerala (/kbpe/)
NCERT Solutions for Class 8 (/ncert-solutions-class-8/)
Andhra Pradesh (/ap-board/)
NCERT Solutions for Class 9 (/ncert-solutions-class-9/)
Telangana (/telangana-board/)
NCERT Solutions for Class 10 (/ncert-solutions-class-10/)
Uttar Pradesh (/upmsp/)
NCERT Solutions for Class 11 (/ncert-solutions-class-11/) Hi there! Got any questions?
Bihar (/bihar-board/)
I can help you...
NCERT Solutions for Class 11 English (/ncert-solutions-class-11-
Rajasthan (/rajasthan-board/)
english/)

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
NCERT Solutions for Class 12 English (/ncert-solutions-class-12-
&
Madhya Pradesh (/mp-board/)

english/)
Win West Bengal (/west-bengal-board/)
NCERT Solutions for Class 12 (/ncert-solutions-class-12/)

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 10/11


6/11/23, 5:44 PM Distance Between Two Points Formula - Definition & Examples

RD Sharma Solutions (/rd-sharma-solutions/)


Now in your neighbourhood
RD Sharma Class 10 Solutions (/rd-sharma-class-10-solutions/)
BYJU'S TUITION CENTRE
ICSE Selina Solutions (/icse/selina-solutions/)

(https://bit.ly/3ocBPmE)
FOLLOW US

(https://www.facebook.com/byjuslearningapp/) (https://in.linkedin.com/company/byjus)

(https://www.kidsafeseal.com/certifiedproducts/byjus_india.html)

Disclaimer (/disclaimer/) Privacy Policy (/tnc_app/#privacydesc)


Terms of Services (/tnc_app/#tncdesc) Sitemap (/sitemap.xml)

© 2023, BYJU'S. All rights reserved.

Hi there! Got any questions?


I can help you...

(https://btla-androidk12.onelink.me/8UMP/u4ndbl63)
Play
&
Win

https://byjus.com/maths/distance-between-two-points-formula/#:~:text=Distance between two points is,coordinate plane or x-y plane. 11/11

You might also like