Geo Distance Calculator (Haversine Formula)

РазработчикМатематикаНетворкинг
РЕКЛАМА · УДАЛЯТЬ?

Point A

DD MM SS N/S
DDD MM SS E/W

Point B

DD MM SS N/S
DDD MM SS E/W


Preset City Pairs

Distance Results

Единица Расстояние
Kilometers (km) -
Miles (mi) -
Nautical Miles (nmi) -
Метры (м) -
Футы (ft) -


Map


Haversine Formula

The Haversine formula calculates the great-circle distance between two points on a sphere:

a = sin²(Δlat/2) + cos(lat₁) · cos(lat₂) · sin²(Δlon/2)
d = 2R · arcsin(√a)

Where R = 6,371 km (mean Earth radius). Initial bearing:
θ = atan2(sin(Δlon) · cos(lat₂), cos(lat₁) · sin(lat₂) − sin(lat₁) · cos(lat₂) · cos(Δlon))
РЕКЛАМА · УДАЛЯТЬ?

Гид

Geo Distance Calculator (Haversine Formula)

Geo Distance Calculator

Calculate the exact great-circle distance between two geographic coordinates using the Haversine or Vincenty formula. Enter locations as decimal degrees or DMS (degrees, minutes, seconds), get results in kilometers, miles, nautical miles, meters, and feet — plus initial bearing and an interactive map.

Как использовать

Select your input mode (decimal degrees or DMS), enter the latitude and longitude for Point A and Point B, choose the Haversine or Vincenty formula, and the distance results appear instantly. Use the preset city pairs for quick testing. Enable multi-point route mode to calculate total distance across multiple waypoints. The interactive map shows your points and the path between them.

Функции

  • Haversine Formula – Calculates great-circle distance assuming a perfect sphere (mean Earth radius 6,371 km)
  • Vincenty Formula – Higher-accuracy calculation using the WGS-84 oblate ellipsoid model
  • Несколько единиц измерения – Results in kilometers, miles, nautical miles, meters, and feet
  • DMS Input – Enter coordinates as degrees, minutes, seconds with compass direction
  • Initial Bearing – Shows the compass heading from Point A to Point B
  • Interactive Map – Leaflet.js-powered map displaying both points and the connecting path
  • Multi-Point Routing – Add waypoints to calculate cumulative route distance
  • Preset City Pairs – Quick-select common routes like New York to London

РЕКЛАМА · УДАЛЯТЬ?

Часто задаваемые вопросы

  1. What is the Haversine formula and when should I use it?

    The Haversine formula calculates the shortest distance between two points on a sphere using their latitudes and longitudes. It assumes Earth is a perfect sphere with radius 6,371 km. It is accurate to within about 0.3% for most practical distances and is the standard formula for navigation and mapping applications.

  2. How does the Vincenty formula differ from Haversine?

    The Vincenty formula models Earth as an oblate ellipsoid (WGS-84) rather than a perfect sphere. This accounts for the fact that Earth is slightly flattened at the poles, providing accuracy to within 0.5 mm. It is preferred for geodetic surveying and high-precision applications, especially over long distances.

  3. What is a great-circle distance?

    A great-circle distance is the shortest path between two points on the surface of a sphere, measured along the surface. It follows the arc of a great circle, which is a circle whose center coincides with the center of the sphere. Airline flight paths roughly follow great-circle routes to minimize fuel consumption.

  4. What is initial bearing and how is it calculated?

    Initial bearing (or forward azimuth) is the compass direction you would face when starting a journey from Point A toward Point B along the great-circle path. It is calculated using the atan2 function applied to the difference in longitudes and the latitudes of both points. The bearing changes continuously along a great-circle route.

Хотите убрать рекламу? Откажитесь от рекламы сегодня

Установите наши расширения

Добавьте инструменты ввода-вывода в свой любимый браузер для мгновенного доступа и более быстрого поиска

в Расширение Chrome в Расширение края в Расширение Firefox в Расширение Opera

Табло результатов прибыло!

Табло результатов — это интересный способ следить за вашими играми, все данные хранятся в вашем браузере. Скоро появятся новые функции!

РЕКЛАМА · УДАЛЯТЬ?
РЕКЛАМА · УДАЛЯТЬ?
РЕКЛАМА · УДАЛЯТЬ?

новости с техническими моментами

Примите участие

Помогите нам продолжать предоставлять ценные бесплатные инструменты

Купи мне кофе
РЕКЛАМА · УДАЛЯТЬ?