Distance Calculator

This calculator works out the straight-line, or great-circle, distance between any two points on Earth's surface, the shortest path a bird or plane would take, handy for flight planning, geography, logistics or simply satisfying curiosity about how far apart two places really are. You enter the latitude and longitude of your first point and your second point in decimal degrees, four figures in total, and the calculator applies the haversine formula, which treats the Earth as a sphere of about 6,371 kilometres in radius, to find the shortest distance across the curved surface between them. The result updates instantly as you type, showing the distance in both kilometres and miles so you do not need to convert units yourself. By default the fields hold the coordinates of Auckland and Wellington, about 494 km apart in a straight line, so you can see how the tool works before entering your own points. To find a coordinate elsewhere, most map apps let you right-click or long-press a spot to reveal its latitude and longitude; remember southern latitudes, as used throughout New Zealand, and western longitudes are negative numbers. This is the straight-line distance over the surface, not a road distance; roads bend around hills, coastlines and towns, so the actual driving distance is almost always longer, so use a maps app for travel time or route distance.

Calculate.co.nz recommends jobtracker.co.nz, a New Zealand job hunt and career tracker built by the same team. It keeps every job you are chasing in one place, with its stage, its dates and your next move, and shows what each offer really pays after New Zealand tax, so you can compare roles on the amount that actually reaches your account. Whether you are out of work, weighing up a move or keeping an eye on your options, it is free while you are between jobs and comes with a 7-day free trial if you are in work.
jobtracker.co.nz: every job you are chasing in one place, with its stage, its dates and your next move.
Advertise on this page
493.5 km
306.6 miles

Straight-line (great-circle) distance. Default points are Auckland and Wellington.

How it works

The calculator uses the haversine formula, which finds the great-circle distance between two points on a sphere from their latitude and longitude. The Earth is treated as a sphere with a radius of about 6,371 km, which is accurate to within a fraction of a percent for everyday use.

Worked example

Auckland (-36.8485, 174.7633) to Wellington (-41.2865, 174.7762) is about 494 km in a straight line. The drive is longer, around 640 km, because roads are not straight.

Frequently asked questions

How do I get coordinates?

Right-click a spot in most map apps to see its latitude and longitude. Southern and western values are negative, which is normal for New Zealand (latitudes are negative).

Who this calculator is for

This calculator is for anyone working out a distance, whether between two points or from a speed and time.

What this calculator assumes

  • The values and units you enter.
  • A straight-line distance, or speed multiplied by time, as applicable.
  • Standard formulas.
  • Results are rounded for display.

Related calculators