Adblocker Detected

Uh Oh! It seems you’re using an Ad blocker!

We always struggled to serve you with the best online calculations, thus, there's a humble request to either disable the AD blocker or go with premium plans to use the AD-Free version for calculators.

Disable your Adblocker and refresh your web page 😊

distance formula Calculator

Distance Formula Calculator

Type in the coordinates of the points and the calculator will calculate the distance between them in one to four-dimensional space using latitude and longitude of angles.



First Point

Second Point

First Point

Second Point

Third Point

First Point

Line [y = mx + b]

Second Line [y = m₂x + b₂]

First Point

First Point

Second Point

Second Point

Second Point

Third Point

Third Point

Third Point

Get The Widget!


Add Distance Formula Calculator to your website through which the user of the website will get the ease of utilizing calculator directly. And, this gadget is 100% free and simple to use; additionally, you can add it on multiple online platforms.

Average on App

Download Distance Formula Calculator App for Your Mobile, So you can calculate your values in your hand.


This distance formula calculator assists you to computes the distance among points, parallel or straight lines that have coordinates (x, y, z, k) in one to four dimensions.

This calculator can deal with positive/negative numbers as well as with decimals.

About Distance:

Before knowing the details about the calculations of distances, we must know what is distance. In most simple words it can be defined as the space between any two points or lines. While explaining it we can say that it is a volume of space among two objects. As an example, it commonly denotes physical space between your home and parking.

Some basic rules to find the distance:

  • Whenever you go for distance calculation there should present two points.
  • Such points are always defined by their coordinates (x and y).
  • For each point, there are always going to be two elements or centers that are uniquely connected to that point.
  • The formula for distance takes account of each coordinate of every point very precisely.

Also, use this free endpoint calculator online that enables you to find midpoint when midpoint and other endpoint (start-point) are given.

How Do You Find The Distance Among Points?

In the following section, we will be resolving a couple of examples that will assist you in determining the distance between three points:

Example 1:

If you have two points along with their coordinates how will you find the distance among them?

Let’s assume two points:

  • Point 1: (–3, 2) (–3,2)
  • Point 2: (3, 5) (3,5)

First of all, we will label the pints as follows:

  • X1 = -3
  • X2 = 3
  • Y1 = 2
  • Y2 = 5

Let’s just put the values in the formula:

Result: hence, the distance between two points (–3, 2) and (3, 5) is = 3√5

Example 2:

  • X1 = 4
  • X2 = -2
  • X3 = 7
  • Y1 = 1
  • Y2 = 10
  • Y3 = 2

Now just recall the formula for distance:

  • D1=√(x2−x1)2+(y2−y1)2

Put the values in the above-mentioned equation

Values of coordinates: (-2, 4)2 and (10, 1)2

  • D = √(10 – -2)2 + (1 – 4)2
  • D = √(12)2 + (-3)2
  • D = √144 + 9
  • D = √153
  • D = 12.369
  • D2=√(x3−x2)2+(y3−y2)2
  • D2=√(7+2)2+(2−10)2
  • D2=√(9)2+(-8)2
  • D2=√81+64
  • D2=√145
  • D2=12.041
  • D2=√(7−4)2+(2−1)2
  • D2=√(3)2+(1)2
  • D2=√9+1
  • D2=√10
  • D2=3.162

Now we have:

How to Find the Distance Using Distance Formula Calculator?

To find the distance between two 2 points 3 points straight or parallel lines with the x and y coordinates value follow some simple steps of the calculator:


  • Very first, select the type of points from the drop-down menu among which you want to calculate the distance.
  • Very next, you have to select the dimension from the drop-down menu. It might be 1, 2, 3 or 4 dimensions.
  • Enter the values of 2 coordinates (X1 and X2) in case of 1 dimension
  • Enter the values of 4 coordinates (X1,X2,Y1 and Y2) in the case of 2 dimensions.
  • Enter the values of 6 coordinates (X1,X2, Y1,Y2, Z1,Z2) in case of 3 dimensions.
  • Enter the values of 8 coordinates (X1, X2, Y1,Y2, Z1, Z2, K1, K2) in the case of 4 dimensions.
  • Just hit the calculate button.


  • You will have a total distance.
  • You will have a complete solution according to the distance equation.
  • To find the distance between any other two points with a calculator just hit the recalculate button.


How do you calculate height and distance?

The height of any item can be computed just by taking measurements of the distance form item and the angle of altitude from the top. The curve of the angle is the object height that is divided by the distance from that item. A distance calculator is the common means to calcite the distance

Why is distance not negative?

The distance can never be negative and it is a very common phenomenon. Anyone can easily understand the fact that no one cannot travel less distance than they already are. On the other side if we talk about displacement then it can be negative for sure.

What is the distance in navigation?

In the case of navigation, Distance will be calculated on the latitude scale.

  • 1-minute latitude = 1 nautical mile on the same latitude.
  • 1 nautical mile = 1852 m.


This online distance formula calculator will support you to calculate the distance from any point to a line that is present in one to four dimensions. All you need to do is to enter the values of the respective coordinates. It eliminates the risk of error and makes calculation simple and easy.


From Wikipedia, the free encyclopedia – The Distance Formula – Mathematics – Geometry – Distance in Euclidean space – Explore all the terms of difference.

From the source of ChiliMath – Examples of Using the Distance Formula – Formula for the Distance as the Derivative of the Pythagorean Theorem

Recently updated from the source of wikihow – (Formula) How to Use to Find the Length of a Line – Setting up the Formula – Calculating the Distance

From the Source of Mathplanet (licensed by Creative Commons Attribution-NonCommercial) – Categorized – Algebra 2 / Conic Sections / – Distance between two points and the midpoint

From the source of CK-12 – Distance Between Parallel Lines – Length of a perpendicular segment between parallel lines – Calculating the Distance Between Two Points – Finding the Shortest Distance Between Two Lines – Multiple Examples: