Distance Calculator

Calculate distance between two points in 2D space.

Distance
5.0000
ΔX / ΔY
3 / 4
Midpoint
(1.50, 2.00)
Share results:

What is Distance Calculator?

A distance calculator computes the distance between two points on a map using their coordinates, via the Haversine formula.

It is used for travel planning, logistics, and geography.

How does the Distance Calculator work?

Haversine: d = 2R × asin(√(sin²(Δφ/2) + cos φ1 × cos φ2 × sin²(Δλ/2)))

The formula accounts for the Earth's curvature using latitude and longitude.

The calculator shows the distance in kilometres and miles.

How to use the Distance Calculator?

  1. Enter the latitude and longitude of both points.
  2. The calculator shows the great-circle distance.

Example

Example calculation

  1. Enter 1 as the point 1 x.
  2. Enter 1 as the point 1 y.
  3. Enter 3 as the point 2 x.
  4. Enter 4 as the point 2 y.
  5. The results update instantly.
Distance: 3.61

Benefits of using the Distance Calculator

  • Plan routes between cities.
  • Estimate travel distances.
  • Solve geography problems.

Who should use the Distance Calculator?

  • Students practising problems and verifying homework answers.
  • Teachers preparing examples and checking student work.
  • Engineers and analysts who need quick, reliable calculations.
  • Anyone who wants to double-check manual arithmetic.

Tips for getting the most out of the Distance Calculator

  • Check your inputs for typos — a single wrong digit changes the result completely.
  • Use the result to verify your manual working, not to replace understanding.
  • Try a simple case first (like 0 or 1) to make sure the output makes sense.

Frequently Asked Questions

What is the great-circle distance?

The shortest path between two points on a sphere, following the Earth's curvature.

How accurate is the Haversine formula?

Within about 0.5% for most distances, which is sufficient for planning.

From quick homework checks to on-the-job arithmetic, the Distance Calculator keeps the maths honest without slowing you down.

Related Calculators