Distance Calculator

Find the distance between two points — cities or addresses — in driving miles and as the crow flies, on one map.

Distance between two cities

Type one city into Point A and another into Point B — the map draws the line between them and shows both the straight-line and the driving distance at once, for any two cities worldwide (using OpenStreetMap data). To try it, enter your two cities above, or click the map to drop each point, and read the two figures in the results panel.

Straight-line (great-circle) distance for common routes — or type your own two places in the tool above to also get the driving distance and estimated drive time.

RouteStraight-Line
New York to Los Angeles2,451 mi
New York to Chicago713 mi
Los Angeles to San Francisco347 mi
Miami to New York1,090 mi
Dallas to Houston225 mi
Seattle to Portland145 mi
Boston to Washington DC394 mi
Denver to Phoenix586 mi

International great-circle distances and mile/km conversions are further down the page.

Mileage between two places

“Mileage” usually means the miles you would actually drive along the road network — that is the driving distance figure here, routed over real roads. It is the number you want for fuel, reimbursement, or trip planning. Set Point A and Point B and the mileage between the two places appears with the estimated drive time beside it.

Driving distance

Driving distance follows the roads, so it is always longer than a straight line — and much longer where water, mountains, or one-way streets force a detour. The tool routes the drive and shows the distance plus the estimated time. Once both points are set, the purple “by road” line on the map is the driving route.

As the crow flies distance (straight line)

“As the crow flies” is the straight-line, great-circle distance — also called aerial distance — between two points, the shortest possible distance, ignoring roads entirely. It is what you want for coverage radius, proximity, or a quick sense of how far apart two places really are. The blue dashed line on the map is the straight-line distance, shown in miles, kilometres, and nautical miles.

Air distance and flight distance between cities

Air distance is the same great-circle, straight-line distance — the minimum a plane could cover between two cities. A real flight path is usually a little longer because of departure and arrival routing and air-traffic control, so treat the straight-line figure as the floor, not the exact flight distance. Read the straight-line result above; it now also shows the distance in nautical (air) miles.

Nautical miles and DOT air miles

One nautical mile equals exactly 1.852 km, or 1.15078 statute miles, and an air mile is the same unit as a nautical mile. The straight-line result shows the distance in nautical miles, so you can read it as air miles directly. The DOT/FMCSA short-haul rule (49 CFR 395.1(e)(1)) is written in air miles: 150 air miles equals 172.6 statute miles from the work-reporting location. This tool is a distance reference only, not compliance advice.

See a 150 air-mile radius on the map →

How to Measure Distance on the Map

1

Set Point A

Type a place or click the map

2

Set Point B

Your destination

3

See Distances

Straight-line + road + drive time

4

Add Stops

Optional — Point C, D… up to 10

Just wondering how far a distance like 10 miles actually is — or how long it takes to drive or walk — rather than the gap between two points? Try Miles to Minutes instead.

5 Real-World Distance Measurement Examples

1. Road Trip Planning (US Route 66)

A family planning a road trip from Chicago, IL to Los Angeles, CA uses the distance calculator to understand the journey scope.

Straight-Line Distance
1,745 miles
(2,809 km)
Road Distance (by route)
Routed on the map
Always longer than the straight line

Use case: Read the routed road distance and estimated drive time to budget fuel and plan overnight stops along the way.

2. Flight Distance & Frequent Flyer Miles (NYC to London)

A business traveler calculates New York (JFK) to London (LHR) to understand how many miles they'll earn on their frequent flyer account.

Great Circle Distance
3,459 miles
(5,567 km)
Great-Circle Basis
3,459 mi
Same figure airlines use for miles

Use case: Airlines calculate award miles using great-circle distance, so the straight-line figure is the base distance before any airline-specific bonuses.

3. Home Buying: Commute Analysis (San Francisco Bay Area)

A couple house-hunting compares commute distance from two different suburbs to their office in San Francisco (Financial District).

From LocationStraight-Line
Walnut Creek, CA18 mi
San Mateo, CA19 mi

Insight: Two suburbs can sit at nearly the same straight-line distance yet have very different commutes — San Mateo has direct highway access (US-101), while Walnut Creek requires crossing the Bay Bridge. Set each as Point B to compare the routed road distance and drive time.

4. Trucking Exemption: 150 Air-Mile Radius (FMCSA)

A trucking company determines if drivers qualify for the DOT short-haul exemption (150 air-mile radius from dispatch location in Dallas, TX).

To: Oklahoma City, OK
165 air mi
(190 statute mi)
Over 150 air miles
To: Waco, TX
76 air mi
(87 statute mi)
Within 150 air miles
To: Austin, TX
158 air mi
(182 statute mi)
Over 150 air miles

Regulatory note: The 150 air-mile radius uses straight-line air (nautical) miles, not road miles — 150 air miles equals 172.6 statute miles. Whether a driver actually qualifies for the short-haul exemption depends on other conditions too, so treat this as a distance reference only, not compliance advice.

5. Marathon Training Route Verification (Boston Marathon)

A runner training for the Boston Marathon creates a point-to-point training route from Hopkinton to Boston and verifies the distance.

Official Course Distance
26.2 miles
42.195 km (marathon standard)
Straight-Line Distance
21.3 miles
34.3 km (as the crow flies)

Training insight: The actual course is longer than the straight line because of its winding path. Runners use this to plan pickup locations for support crews at specific mileage points.

When Each Measurement Matters

Straight-Line Distance Is Used For:

  • Aviation and flight distance calculations
  • Shipping regulations (FMCSA 150 air-mile exemption)
  • Insurance zone calculations and rates
  • Military and defense planning
  • Quick approximate distance estimates
  • Radio/wireless coverage radius planning

Road Distance Is Used For:

  • Driving directions and navigation
  • Delivery and logistics route planning
  • Fuel cost and consumption calculations
  • IRS mileage reimbursement (rate updated annually — see IRS.gov)
  • Vehicle lease mileage limits
  • Travel time and ETA estimation

Common Distance Reference Tables

International Flight Distances

RouteDistanceNotes
New York (JFK) to London (LHR)3,459 miTransatlantic route
Los Angeles (LAX) to Tokyo (NRT)5,451 miTrans-Pacific route
New York (JFK) to Paris (CDG)3,628 miEurope gateway
Miami (MIA) to São Paulo (GRU)4,170 miSouth America connection
San Francisco (SFO) to Sydney (SYD)7,417 miTrans-Pacific route
London (LHR) to Dubai (DXB)3,414 miMiddle East route

Distance Conversion Quick Reference

1 mile
= 1.609 km
= 1,609 m
= 5,280 ft
5 miles
= 8.05 km
= 8,047 m
= 26,400 ft
10 miles
= 16.09 km
= 16,093 m
= 52,800 ft
100 miles
= 160.9 km
= 160,934 m
= 528,000 ft

How We Calculate: The Haversine Formula

Straight-line distances on Earth's curved surface are calculated using the Haversine formula, which accounts for the Earth's spherical shape:

a = sin²(Δlat/2) + cos(lat₁) × cos(lat₂) × sin²(Δlon/2)
c = 2 × atan2(√a, √(1-a))
d = R × c

Where:
  R = Earth's radius (3,959 miles / 6,371 km)
  lat₁, lat₂ = Latitude of points 1 and 2 (in radians)
  Δlat = Difference in latitude
  Δlon = Difference in longitude
  d = Great-circle distance

The spherical-Earth approximation introduces sub-percent error only at continental distances — irrelevant for typical use. For extremely precise geodetic calculations (surveying, GPS), more complex formulas like Vincenty's are used.

Why "Great Circle"?

A great circle is the largest circle that can be drawn on a sphere's surface. The shortest path between any two points on Earth follows a great circle arc. This is why flight paths on a flat map appear curved — they're actually following the shortest route on a sphere.

Frequently Asked Questions

How do I find the distance between two cities?
Type each city into the Point A and Point B fields (or click the map). The tool shows the straight-line “as the crow flies” distance and the driving distance by road, plus the estimated drive time — for example, New York to Los Angeles is about 2,451 miles straight-line and 2,790 miles by road.
What's the difference between driving distance and straight-line distance?
Straight-line (“as the crow flies”) is the shortest distance between two points, ignoring roads. Driving distance follows the road network and is always longer — much longer where mountains, water, or indirect roads get in the way. This tool shows both.
Is this more accurate than Google Maps?
For road distance, accuracy is comparable — both use detailed road network data (OpenStreetMap in our case). For straight-line distance, our tool explicitly calculates and displays it using the Haversine formula, while Google Maps only shows driving distance by default. You'd need to use Google Earth's ruler tool to measure straight-line distance there.
Can I measure distance between more than two points?
Yes. Click additional points to create a multi-stop route. The tool shows cumulative distance for all points in order. This is useful for planning delivery routes, road trips with multiple stops, or walking paths through several waypoints.
How is the driving time calculated?
Driving time is estimated by the routing engine from road types and typical free-flow speeds in the OpenStreetMap data. It does not account for current traffic, construction, weather, or other real-time factors, so expect it to run longer at rush hour.
What's the difference between "as the crow flies" and geodesic distance?
They're the same thing with different names. "As the crow flies" is the colloquial term for the shortest distance between two points on Earth's surface. "Geodesic distance" and "great-circle distance" are the technical terms used in geography and navigation. All three refer to the calculation our tool displays as "straight-line distance."
Can I use this for flight mile calculations?
Yes! Our straight-line distance uses the same great-circle calculation airlines use for frequent flyer miles. Enter your departure and arrival airports (or city centers) to see the distance. Note that actual award miles may vary slightly based on the airline's exact airport coordinates and any bonus multipliers.
Does this work for measuring distances overseas?
Straight-line distance works worldwide — you can measure from any point to any other point on Earth. Road distance requires a connected road network, so it works within continents but not across oceans. For example, you can get road distance from Madrid to Moscow, but not from New York to London.
What is the 150 air-mile exemption for trucking?
The FMCSA (Federal Motor Carrier Safety Administration) offers a "short-haul exemption" for commercial drivers who operate within 150 air miles of their work reporting location and meet other requirements. These drivers don't need electronic logging devices (ELDs). The key is that it's 150 air miles(straight-line distance), not road miles — our straight-line measurement shows exactly this.
How accurate is the distance measurement?
Straight-line distance is highly accurate using the Haversine formula on a WGS84 spheroid model — the spherical-Earth approximation introduces sub-percent error only at continental distances. Road distance accuracy depends on OpenStreetMap data quality for your region, and is most reliable in well-mapped areas such as the US, Europe, and major cities worldwide.
What does “as the crow flies” mean?
“As the crow flies” is the straight-line distance between two points — the shortest possible path, ignoring roads, rivers, and terrain. It is the same as the great-circle distance on a globe. This tool shows it as the blue dashed line, in miles, kilometres, and nautical miles.
Is flight distance the same as straight-line distance?
Almost. The straight-line (great-circle) distance is the shortest possible distance between two points, so it is the minimum a flight could cover. A real flight path is usually a little longer because of departure and arrival routing and air-traffic control, so use the straight-line figure as a lower bound rather than the exact flight distance.
What is an air mile?
An air mile is another name for a nautical mile. One air mile = one nautical mile = 1.852 km = 1.15078 statute miles. The straight-line result on this tool shows the distance in nautical (air) miles alongside statute miles and kilometres.
What is the DOT 150 air-mile rule?
Under 49 CFR 395.1(e)(1), certain short-haul drivers who stay within a 150 air-mile radius of their work-reporting location may keep simpler records. 150 air miles equals 172.6 statute miles. This tool shows air-mile distances for reference only — it is not compliance advice; verify eligibility against the FMCSA regulation.