This distance formula calculator lets you calculate the distance between two points, from a point to a line, or between two parallel lines in a 2–D plane.
The calculator will tell you not only the distance, but also how to calculate it.
Choose your calculator☝️
Enter the coordinates
Enter the coordinates
This distance formula calculator lets you calculate the distance between two points, from a point to a line, or between two parallel lines in a 2–D plane.
The calculator will tell you not only the distance, but also how to calculate it.
Each input can be a real number in any format — integers, decimals, fractions, or even mixed numbers. Here are a few examples.
IMPORTANT — When providing inputs for the linear equation, the coefficients of and cannot both be at the same time. That would eliminate both variables from the equation and hence it will no longer be a linear equation.
If you would like to see an example of the calculator's working, just click the "example" button.
As mentioned earlier, the calculator won't just tell you the answer but also the steps you can follow to do the calculation yourself. The "show/hide solution" button would be available to you after the calculator has processed your input.
We would love to see you share our calculators with your family, friends, or anyone else who might find it useful.
By checking the "include calculation" checkbox, you can share your calculation as well.
Here's a quick overview of the distance formulas.
In analytical geometry, we often need to find the distance between two points or two parallel lines or from a point to a line.
Let's look at the formulas we can use to find the distance for each of the three cases.
The distance between points and is given by —
The distance of a point from a line is given by —
The distance between parallel lines and would be —
Note — For parallel lines, the –coefficients will be equal and the –coefficients will be equal too. If they are not equal, they can always be made equal multiplying/dividing any one of the equations by an appropriate factor.
That's why we have used the same coefficients, and for the two lines.
We use cookies to provide and improve our services. By using the site you agree to our use of cookies. Learn more