Distance Calculator
Calculate the distance between two points in a 2D plane, 3D space, or between two locations using latitude and longitude.
2D Distance Calculator
Find the distance between two points on a 2D coordinate plane.
Point 1
Point 2
3D Distance Calculator
Find the distance between two points in 3D coordinate space.
Point 1
Point 2
Distance Between Two Locations
Calculate the shortest distance between two locations using their latitude and longitude.
Location 1
Location 2
Distance in a 2D Coordinate Plane
The distance between two points on a 2D coordinate plane can be calculated using the distance formula.
Distance in 3D Coordinate Space
The 3D distance formula extends the 2D formula by including the difference between the two z-coordinates.
Distance Between Two Locations
Latitude and longitude can be used to calculate the shortest approximate distance between two points on Earth's surface.
This is commonly referred to as the great-circle distance.
Examples
2D Example
For the points (1, 5) and (3, 2):
3D Example
For the points (1, 3, 7) and (2, 4, 8):
Frequently Asked Questions
How do I calculate distance between two points?
Enter the coordinates of both points in the 2D Distance Calculator and click Calculate.
Can I calculate distance in 3D?
Yes. Enter the x, y, and z coordinates of both points in the 3D Distance Calculator.
Can I calculate distance between two locations?
Yes. Enter the latitude and longitude of both locations to calculate their approximate surface distance.
Does the order of the two points matter?
No. The distance is the same regardless of which point is entered first, as long as the coordinates are entered correctly.
Disclaimer
This calculator is provided for general mathematical and educational purposes. While we aim to provide accurate results, SmartMyTools does not guarantee that the results are suitable for professional, surveying, navigation, engineering, or other specialized applications.