Omni Calculator logo

Distance Between Two Points Calculator

Created by Luciano Miño
Reviewed by Davide Borchia, MD
Last updated: Jan 16, 2024


Our distance between two points calculator can quickly find the distance between any two points confined to a two-dimensional plane.

Within this short text, we will cover:

  • How to find the distance between two points;
  • How to use the distance between two points formula; and
  • What is the shortest distance between two points.

Let's start!

Prefer watching rather than reading? Learn all you need in 90 seconds with this video we made for you:

What is distance? Distance between two points definition

In its simplest definition, the distance between two points in a 2D plane is the length of the line segment connecting them.

For example, if we put into a graph the points (0,4)(0, 4) and (4,4)(4, 4), draw a line between them, and measure this line segment's length, we would get 44 as a result.

This definition is derived from the Euclidean distance definition, and we can also define 1D, 3D, 4D, and any finite dimension Euclidean distance.

Of course, plotting and measuring lines anytime we want to find the distance between two points is not practical. That's where the distance between two points formula comes in.

Distance between two points formula

We can obtain the mathematical distance definition from the Euclidean distance formula for a two-dimensional plane:

d=(x2x1)2+(y2y1)2d = \sqrt{(x_{2}-x_{1})^{2}+(y_{2}-y_{1})^{2}}

where:

  • x1x_{1} and y1y_{1} are the coordinates of any of the two points;
  • x2x_{2} and y2y_{2} are the coordinates of the other point; and
  • dd is the distance between them.

💡 This definition is what makes the shortest distance between two points on a two-dimensional plane always a line! Don't worry. We won't dwell deeper into math in this distance between two points calculator 😉.

How do you find the distance between two points?

To find the distance between two points, simply follow these steps:

  1. Find the XY coordinates of the first point (x₁, y₁). It doesn't matter which point we choose as long as we don't mix coordinates between them.

  2. Find the XY coordinates of the other point (x₂, y₂).

  3. Replace these values in the distance between two points formula:

    √[(x₂ - x₁)² + (y₂ - y₁)²].

Other useful tools

If you enjoyed this distance between two points calculator and want to learn more about other distance definitions, check any of our other distance calculation tools:

🙋 Give it a try! Type any two points' coordinates in the distance between two points calculator, and it will automatically output the distance between them.

FAQ

What is the shortest distance between two points?

The shortest distance between two points is a straight line connecting them. This definition only applies to flat surfaces or spaces. In a sphere, for example, the shortest distance between two points is an arc called great circle distance.

What is the distance between (5, 10) and (8, 9)?

3.16228. We can find the distance between points (5, 10) and (8, 9) by replacing them in the distance between two points formula:

√[(8 - 5)² + (9 - 10)²] = 3.16228.

Luciano Miño
Two points on a two dimensional plane.
First point
x₁
y₁
Second point
x₂
y₂
Result
Distance
Check out 45 similar coordinate geometry calculators 📈
Average rate of changeBilinear interpolationCatenary curve… 42 more
People also viewed…

Car heat

The hot car calculator shows how fast a car's interior heats up during a summer day.

Conic sections

Just by cutting a cone with a plane, you can get many interesting curves, the conic sections! Try our conic section calculator to know the types of conic sections and how to calculate their eccentricity, and much more!

Steps to calories

Steps to calories calculator helps you to estimate the total amount to calories burned while walking.

Unit rate

The unit rate calculator is here to give you your fraction's equivalent with one in the denominator (i.e. unit rate).
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service