Distance Between Cities Calculator

This distance between cities calculator shows crow-flies distance plus miles, nautical miles, bearing, and midpoint. New York → Los Angeles is 2445.6 mi — not interstate mileage.

Inputs

Two fields are enough: origin and destination from the list. The result is straight-line distance. Open the options (round trip, time estimate) only when you need them.

Popular U.S. and nearby pairs

Options: round trip, time estimate

These fields are not required for distance alone. Leave them empty if you only want the mileage number.

Sample speeds

Result

Enter cities in the From and To fields — the result will appear here.

The result is a straight line. You can also turn distance and speed into time with the travel time calculator. For unit conversion alone, use kilometers and miles.

How it works

This distance between cities calculator uses list coordinates and the haversine (great-circle) formula with a mean Earth radius of 6371 km. Warsaw → Krakow is 252 km (156.6 mi, 136.1 NM); New York → Los Angeles is 3935.7 km (2445.6 mi) as the crow flies.

It also shows initial bearing and the great-circle midpoint. Those figures come from spherical geometry, not from a road map.

You can mark round trip or enter an average speed for a time estimate. Leave speed empty if you only want the distance.

The calculator only accepts cities on the list. Warsaw and Warszawa are the same record.

This is not a map, not GPS, and not a timetable. To work only with distance and speed, open the travel-time calculator.

Formula

Distance uses the haversine formula (mean sphere, R = 6371 km). The calculator also reports initial bearing and the great-circle midpoint.

d = 2R arcsin(√(sin²(Δφ/2) + cos φ₁ cos φ₂ sin²(Δλ/2)))

θ = atan2(sin Δλ · cos φ₂, cos φ₁ · sin φ₂ − sin φ₁ · cos φ₂ · cos Δλ)

R = 6371 km · 1 mi = 1.609344 km · 1 NM = 1.852 km

φ and λ are latitude and longitude in radians. θ is the initial bearing (starting heading).

The midpoint lies halfway along the air path from A to B. The time estimate is distance divided by speed, plus any optional minutes you enter.

Example: Warsaw → Krakow gives 252 km, 156.6 mi, 136.1 NM, and bearing 197.6°.

Diagram: two cities → great-circle arc → distance, bearing, and midpoint
New York Los Angeles φ₁, λ₁ 40.71°, -74.01° φ₂, λ₂ 34.05°, -118.24° 2445.6 mi 3935.7 km · 2125.1 NM Initial bearing 273.7° W Arc midpoint 39.51°, -97.16° d = 2R arcsin(√(hav Δφ + cos φ₁ cos φ₂ hav Δλ)) · R = 6371 km
  • City A
  • Arc midpoint
  • City B
  • Arrow — initial great-circle bearing

How to use

  1. In From, enter New York (or tap a sample pair).
  2. In To, enter Los Angeles, or use ↔ to swap the cities.
  3. Click Calculate to see miles, kilometres, nautical miles, bearing, and midpoint.
  4. For a time estimate, open Options and enter a speed in the units shown in the page header (U.S. example: 65 mph).

Glossary

A short glossary of terms used on this page.

Haversine
Great-circle distance formula on a sphere.
Bearing
Starting heading on the great circle, in degrees from north.
Midpoint
Halfway point along the air path between A and B.
NM
Nautical mile = 1.852 km.
R
6371 km — mean Earth radius in this model.
Round trip
One-way distance × 2.

Crow-flies distance between cities (U.S. pairs)

These are pairs people ask about often in a city distance calculator: haversine distance, nautical miles, and initial bearing. A phone map usually shows a longer driving route, because highways do not follow the great circle.

Selected U.S. and reference pairs (R = 6371 km, one way)
PairkmmiNMBearing
New York → Los Angeles3935.72445.62125.1273.7°
Boston → Miami2025.31258.51093.6207.2°
Warsaw → Krakow252156.6136.1197.6° SSW

New York–Los Angeles is about 2445.6 mi straight-line. Driving coast to coast takes more miles because highways follow terrain and cities — great-circle distance and road mileage are different measures.

Examples

Example 1 — New York → Los Angeles

  • From: New York
  • To: Los Angeles

2445.6 mi

Crow flies: New York→Los Angeles 3935.7 km / 2445.6 mi / 2125.1 NM straight-line.

Example 2 — Boston → Miami

  • From: Boston
  • To: Miami

1258.5 mi

Distance between cities: Boston→Miami 2025.3 km / 1258.5 mi straight-line.

Example 3 — NY → LA at 500 mph

  • From: New York
  • To: Los Angeles
  • Speed: 500 mph
  • Add-on: 30 min

2445.6 mi · ≈ 5 h 23 min

How far NYC→LA as the crow flies: 2445.6 mi; at 500 mph + 30 min ≈ 5 h 23 min.

Related calculators

Frequently asked questions

Is this driving distance?

No. This distance between cities calculator gives a straight-line (haversine) figure. Road mileage and map arrival times are usually longer.

How far is New York to Los Angeles as the crow flies?

New York → Los Angeles is 2445.6 mi (3935.7 km, 2125.1 NM) with R = 6371 km. A coast-to-coast drive is longer because interstates bend around terrain and cities.

What is the difference between crow-flies and driving distance?

Crow-flies (great-circle) distance is the shortest arc on a sphere. Driving distance follows roads. This calculator reports the crow-flies number, not a highway route.

Is this a great circle / haversine distance calculator?

Yes. It uses the haversine formula on a mean sphere (R = 6371 km) with city coordinates from the list. It also shows initial bearing and the arc midpoint.

What are bearing and midpoint?

Initial bearing is the starting compass heading on the great circle, in degrees from north. The midpoint is halfway along that air path — not a highway exit.

Why show nautical miles (NM)?

1 NM = 1.852 km. Aviation and marine navigation use nautical miles. The calculator shows them beside statute miles and kilometres.

How does the time estimate work?

Optionally enter an average speed and minutes of add-on. At 500 mph plus 30 minutes, New York → Los Angeles is about 5 h 23 min. That is not a timetable or GPS ETA.

What does round trip do?

It doubles the distance. New York → Los Angeles round trip is 4891.1 mi. Bearing and midpoint still describe the one-way A → B direction.

How is this different from Google Maps driving distance?

Maps tools usually optimize a road route. This city distance calculator returns air-line distance between two list cities, plus bearing and midpoint.

Is this a map or GPS?

No. The calculator does not draw a road route, does not use live traffic, and does not replace navigation.

Distance between cities calculator: NY→LA 2445.6 mi crow flies; Warsaw→Krakow 252 km / 156.6 mi.

Sources

Haversine distance, bearing, and midpoint belong to spherical geometry. This page is not a highway mileage table.

Page updated in November 2026.