Distance Calculator
Free online Distance Calculator.
Calculator
Point A
Point B
How to Use
- Select calculation mode: speed-time-distance or coordinate distance
- For speed mode: enter any two values to find the third
- For coordinate mode: enter the two points (lat/long or x/y)
- View the distance in multiple unit systems
Formula
Distance = Speed x Time\n2D Points: d = sqrt((x2-x1)^2 + (y2-y1)^2)\n3D Points: d = sqrt((x2-x1)^2 + (y2-y1)^2 + (z2-z1)^2)\nHaversine (great circle): for GPS coordinates\n1 mile = 5,280 ft = 1.609 km = 1,609 m
Example Calculations
Speed and time
Input: Speed: 65 mph, Time: 3.5 hours
Result: Distance = 227.5 miles (366.1 km)
2D coordinate distance
Input: Point A: (3, 4), Point B: (7, 1)
Result: Distance = 5 units
About This Calculator
Calculate distance from speed and time or between coordinates. Free distance calculator for travel, physics, and geography with unit conversions.
Our distance calculator is free, easy to use, and provides instant results. All calculations are performed in your browser for privacy and speed.
Related Calculators
Frequently Asked Questions
How far is 1 light year?
1 light year = 5.879 trillion miles = 9.461 trillion km. It is the distance light travels in one year at 299,792 km/s.
How do I calculate distance between two GPS coordinates?
Use the Haversine formula for great-circle distance. It accounts for Earth's curvature. Example: NYC to London = 5,570 km (3,461 miles).
What is the distance formula for 2D coordinates?
d = sqrt((x2-x1)^2 + (y2-y1)^2). For points (3,4) and (7,1): d = sqrt(16+9) = sqrt(25) = 5 units.
How do I convert miles to kilometers?
Multiply miles by 1.609. Example: 100 miles x 1.609 = 160.9 km. To convert km to miles, divide by 1.609.