Distance Formula Calculator
This calculator finds the distance between two points in the plane or in space. It also gives the squared distance, the difference in each coordinate and the midpoint.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Distance Formula Calculator online
- Choose two or three dimensions. Pick the number of coordinates.
- Type both points. Enter the coordinates of each.
- Read the distance. The distance and its square appear.
- See the midpoint. The differences and the midpoint are listed.
Why use this free Distance Formula Calculator
- Two and three dimensions
- Squared distance
- Differences by direction
- Midpoint
- Any unit
- Share by link
Distance between points
The distance formula comes from the Pythagorean theorem. In the plane, the distance between (x1, y1) and (x2, y2) is √((x2 − x1)² + (y2 − y1)²). In three dimensions a third squared difference is added under the root.
How to use it
Choose two or three dimensions, then type the coordinates of both points. The distance appears with the squared distance, which is useful when you want to compare distances without taking roots, the differences in each direction and the midpoint.
A worked example
The points (0, 0) and (3, 4) are 5 apart, since 3² + 4² = 25. In three dimensions, (0, 0, 0) and (3, 4, 12) are 13 apart, because 9 + 16 + 144 = 169. The first is the 3, 4, 5 triple and the second is a three-dimensional version.
Straight-line distance
The formula gives the shortest distance, in a straight line. For travel along roads or grids, the real distance is longer. On the Earth's curved surface, distances between places use another formula, which this page does not cover.
Checking your numbers
Distance is never negative and is 0 only when the points are the same. If you swap the two points, the distance stays the same. These facts make a quick check on a result.
Using the calculator
Change any box of the Distance Formula Calculator and the answers move straight away. Keep a result as scenario A, change a number and compare both.
Distance Formula Calculator: frequently asked questions
What is the distance formula?
How do I find distance in 3D?
Why is the squared distance useful?
Does the order of the points matter?
Does it work for places on Earth?
Does the Distance Formula Calculator store my numbers?
Can I save a Distance Formula Calculator calculation?
Related searches for Distance Formula Calculator
- Distance Formula Calculator online
- free Distance Formula Calculator
- Distance Formula Calculator online free
- Distance Formula Calculator for mobile
- Distance Formula Calculator without sign up
- distance formula formula
- distance formula calculator with table
- Distance Formula Calculator – Math, Stats & Charts
Distance Formula Calculator is a free online tool on MAITBOX, in the Math, Stats & Charts group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.