Distance Between Two Points
Enter the coordinates of two points to calculate the straight-line (Euclidean) distance between them using the distance formula.
Distance Unit Converter
Convert any distance value from one unit to all major units including meters, kilometers, miles, feet, inches, yards, nautical miles, and centimeters.
Speed, Distance & Time Calculator
Calculate distance, speed, or time by entering two of the three values. Leave the field you want to find empty.
Midpoint Calculator
Find the exact midpoint between two coordinate points. The midpoint is the point that lies exactly halfway between two given points.
Distance Unit Reference Table
| Unit | Symbol | In Meters | Common Use |
|---|---|---|---|
| Millimeter | mm | 0.001 m | Engineering, precision |
| Centimeter | cm | 0.01 m | Height, clothing |
| Meter | m | 1 m | General SI unit |
| Kilometer | km | 1,000 m | Road distances |
| Inch | in | 0.0254 m | US/UK small lengths |
| Foot | ft | 0.3048 m | US/UK height, altitude |
| Yard | yd | 0.9144 m | US/UK fabric, sports |
| Mile | mi | 1,609.344 m | US/UK road distances |
| Nautical Mile | nmi | 1,852 m | Aviation, maritime |
What is Distance?
Distance is the numerical measurement of how far apart two points, objects, or places are. In mathematics, the most common type is Euclidean distance — the straight-line length between two points in a coordinate plane.
d = √[(x₂ − x₁)² + (y₂ − y₁)²]
Example: Distance from (2, 3) to (7, 8):
d = √[(7−2)² + (8−3)²] = √[25 + 25] = √50 ≈ 7.071
The Distance Formula
The distance formula is derived from the Pythagorean theorem. The horizontal difference (Δx) and vertical difference (Δy) form the two legs of a right triangle, and the distance is the hypotenuse.
Δx = 5 − 1 = 4
Δy = 7 − 4 = 3
d = √(4² + 3²) = √(16 + 9) = √25 = 5
Speed, Distance, and Time
The relationship between speed, distance, and time is one of the most practical distance concepts. Any one of the three values can be found when the other two are known.
Speed = Distance ÷ Time
Time = Distance ÷ Speed
Example: A car travels at 80 km/h for 2.5 hours.
Distance = 80 × 2.5 = 200 km
Midpoint Formula
The midpoint between two points is the point that lies exactly halfway between them. It is found by averaging the x-coordinates and y-coordinates separately.
Example: Midpoint of (0, 0) and (6, 4):
M = ((0+6)/2, (0+4)/2) = (3, 2)
Unit Conversions
Different regions and fields use different distance units. Converting between them requires exact conversion factors. All metric units are powers of 10; imperial units use fixed ratios.
1 mile = 1.60934 km = 5,280 feet
1 foot = 12 inches = 0.3048 m
1 nautical mile = 1.852 km = 1.15078 miles