Automotive Calculators

Distance Calculator

Calculate the straight-line distance between two locations using latitude and longitude coordinates, with results in multiple units.

Bluehost

Distance Calculator

Enter the latitude and longitude of two locations to calculate the distance between them.

Location 1

Range: -90 to 90 degrees.

Range: -180 to 180 degrees.

Location 2

Range: -90 to 90 degrees.

Range: -180 to 180 degrees.

Distance Results

Kilometres —
Miles —
Metres —
Feet —

This is the approximate straight-line distance between the two coordinates. It is not a road or driving distance.

F-Secure

What Is a Distance Calculator?

A distance calculator determines how far apart two locations or points are. This calculator uses latitude and longitude coordinates to calculate the approximate straight-line distance between two points on the Earth's surface.

It can be useful for comparing locations, checking approximate geographical distances, planning journeys, working with mapping data, or performing calculations where the distance between two coordinates is required.

Why Use the Distance Calculator?

This free distance calculator provides a quick way to calculate geographical distance without requiring specialist mapping software or manual mathematical calculations.

1

Coordinate Based

Calculate distance directly from latitude and longitude coordinates.

2

Kilometres

View the calculated distance in kilometres for convenient metric measurements.

3

Miles

See the equivalent distance in miles for imperial measurements.

4

Metres and Feet

Get smaller-unit measurements in metres and feet for additional precision.

5

Instant Results

Calculate the result immediately in your browser without submitting data to a server.

6

Free to Use

Use the distance calculator as often as needed without registration or payment.

How to Use the Distance Calculator

Enter the coordinates for the two locations and the calculator will determine the approximate straight-line distance between them.

  1. Enter Location 1 — Enter the latitude and longitude of the first point.
  2. Enter Location 2 — Enter the latitude and longitude of the second point.
  3. Check the coordinates — Make sure each latitude is between -90 and 90 and each longitude is between -180 and 180.
  4. Calculate the distance — Select Calculate Distance to display the result in kilometres, miles, metres and feet.

How to Calculate Distance Between Two Points

The distance between two geographical coordinates can be calculated using the Haversine formula. This formula takes the latitude and longitude of each point into account and calculates the approximate great-circle distance between them across the Earth's surface.

Distance calculations based on coordinates are useful when you know the exact geographical positions of two points but do not need a road route. For example, they can be used to estimate the separation between cities, landmarks, GPS coordinates, or other geographical points.

What Is the Haversine Formula?

The Haversine formula calculates the great-circle distance between two points on a sphere from their latitudes and longitudes. It accounts for the curvature of the Earth rather than treating the coordinates as points on a flat surface.

Straight-Line Distance vs Driving Distance

Straight-line distance is the shortest geographical distance between two coordinates, whereas driving distance follows available roads. A driving route can therefore be significantly longer because of road layouts, junctions, geographical obstacles, restricted roads and the selected route.

Distance Calculator Accuracy and Limitations

The result is an approximate great-circle distance based on the latitude and longitude coordinates entered. The accuracy therefore depends on the accuracy of the coordinates. The calculation does not account for roads, traffic, terrain, borders, travel restrictions or the route a vehicle would need to take.

For travel planning, the straight-line result should not be treated as a driving, cycling or walking distance. A route-based mapping service is more appropriate when the actual distance travelled along roads or paths is required.

James William Steven Parker, creator of YesTools
Created by

James William Steven Parker

Creator & Developer of YesTools

James William Steven Parker is a web developer and technology professional with extensive experience in web development, web design, SEO, web hosting, systems analysis and cybersecurity. He created YesTools to provide fast, practical and free online tools for everyday tasks and technical work.

Learn more about James and YesTools

Frequently Asked Questions

A distance calculator determines the distance between two points. This calculator uses latitude and longitude coordinates to calculate the straight-line distance between the points.
The calculator uses the latitude and longitude of two locations and applies the Haversine formula to determine the approximate great-circle distance between them.
You need the latitude and longitude coordinates for both locations. Latitude ranges from -90 to 90 degrees, while longitude ranges from -180 to 180 degrees.
Yes. The results include kilometres, miles, metres and feet so you can use the unit that best suits your needs.
No. This calculator provides straight-line distance between coordinates. Driving distance follows roads and may therefore be considerably longer.
The calculation provides a mathematical approximation of the great-circle distance based on the coordinates supplied. The result depends on the accuracy of those coordinates and does not account for roads, terrain or travel routes.

Explore More Free Tools

Explore the YesTools collection of free online tools, calculators, converters, generators and utilities.

Browse All Categories
hide.me VPN