Unit & Measurement Calculators

Distance Calculator

Calculate the straight-line distance between two geographic points using latitude and longitude coordinates with this free online distance calculator.

Bluehost

Distance Calculator

Enter the latitude and longitude of two points to calculate the straight-line distance between them.

Point 1

Enter a value from -90 to 90 degrees.
Enter a value from -180 to 180 degrees.

Point 2

Enter a value from -90 to 90 degrees.
Enter a value from -180 to 180 degrees.

Distance

Kilometres
Metres
Miles
Feet

This is the great-circle, straight-line distance between the two coordinates. It does not represent driving distance or a navigable route.

F-Secure

What Is a Distance Calculator?

A distance calculator determines the distance between two points. This Distance Calculator uses the latitude and longitude coordinates of two geographic locations to calculate the shortest distance between them across the Earth's surface.

The tool is useful for checking approximate distances between cities, locations, geographic coordinates and other points on Earth. It provides the result in kilometres, metres, miles and feet, allowing you to work with either metric or imperial measurements.

Why Use the Distance Calculator?

Calculating the distance between geographic coordinates manually can involve trigonometric calculations. This tool performs the calculation automatically and presents the result in several commonly used units.

1

Coordinate-Based

Calculate distance using latitude and longitude coordinates for two geographic points.

2

Multiple Units

View the calculated distance in kilometres, metres, miles and feet.

3

Great-Circle Distance

Uses the Haversine formula to calculate the great-circle distance between two coordinates.

4

Worldwide Coordinates

Use coordinates from anywhere on Earth within the valid latitude and longitude ranges.

5

Instant Calculation

The calculation is performed immediately in your browser without sending coordinates to a server.

6

Free to Use

Calculate distances online for free without installing additional software.

How to Use the Distance Calculator

Follow these steps to calculate the distance between two geographic coordinates.

  1. Enter Point 1 coordinates — Enter the latitude and longitude of the first location.
  2. Enter Point 2 coordinates — Enter the latitude and longitude of the second location.
  3. Check the coordinate ranges — Latitude must be between -90 and 90 degrees and longitude must be between -180 and 180 degrees.
  4. Calculate the distance — Select Calculate Distance to display the result in kilometres, metres, miles and feet.

Calculate Distance Between Two Points

The distance between two geographic points can be calculated from their latitude and longitude coordinates. Latitude identifies a position north or south of the Equator, while longitude identifies a position east or west of the Prime Meridian. Together, these coordinates provide a geographic position on Earth.

This calculator uses the Haversine formula to determine the great-circle distance between the two points. The calculation accounts for the Earth's curved surface rather than treating the coordinates as points on a flat two-dimensional plane.

What Is the Haversine Formula?

The Haversine formula is commonly used to calculate the great-circle distance between two points on a sphere when their latitude and longitude are known. It uses the angular difference between the two locations and an assumed Earth radius to calculate the surface distance.

Latitude and Longitude Coordinates

Latitude ranges from -90 degrees at the South Pole to 90 degrees at the North Pole. Longitude ranges from -180 degrees westward or eastward around the globe. Positive and negative decimal values can therefore be used to represent locations in different hemispheres.

Understanding Distance Results

The result produced by this calculator represents the great-circle distance between the two supplied coordinates. It is the shortest surface distance between the points when the Earth is approximated as a sphere.

This result should not be confused with road distance, driving distance, walking distance or travel distance. A real journey may be longer because roads, terrain, borders, waterways and available routes can prevent travel along the direct path between two locations.

The calculator uses an Earth radius of approximately 6,371 kilometres for its calculation. As the Earth is not a perfect sphere, the result is an approximation of geographic surface distance rather than a survey-grade geodetic measurement.

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 and calculates the straight-line, great-circle distance between the two points.
Enter the latitude and longitude coordinates for two points and select Calculate Distance. The calculator uses the Haversine formula to determine the great-circle distance between the coordinates.
Latitude values must be between -90 and 90 degrees, while longitude values must be between -180 and 180 degrees. Decimal-degree coordinates can be entered as positive or negative numbers.
Yes. The result includes kilometres, metres, miles and feet, allowing you to view the calculated distance using either metric or imperial units.
No. This calculator determines the straight-line distance between two geographic coordinates. It does not calculate road distance, travel routes or driving directions.
Yes. The YesTools Distance Calculator is free to use online and does not require software installation or payment.

Explore More Free Tools

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

Browse All Categories
hide.me VPN