Getting started
How to use this distance calculator
- Type the two places. Start typing in the From and To boxes and pick the right match from the suggestions. More than 120 major cities are built in for instant results; anything else — a small town, a village, a landmark — is looked up automatically in OpenStreetMap data.
- Or start from where you are. The “Use my location” button fills the From box with your GPS position (your browser will ask permission first).
- Press Calculate distance. You will see the straight-line distance, the driving distance and drive time where a road route exists, an estimated flight time for trips over 100 miles, the midpoint, the initial compass direction, and the time difference when both places are in the built-in city list.
- Switch units freely. The miles/km toggle re-labels the headline results; the full breakdown always shows miles, kilometres and nautical miles side by side.
The other tabs cover special cases. GPS Coordinates accepts decimal degrees (40.7128, -74.0060) or degrees-minutes-seconds (40°42'46"N) — see the coordinates finder if you need the coordinates of an address first. Map Route lets you click point after point on the map to trace a path. Points (x, y) is the plain geometry version for homework and design work, and the distance formula calculator shows that method step by step.
The basics
Straight-line distance vs driving distance
The straight-line distance — often called the “as the crow flies” distance — is the shortest path between two points on the surface of the Earth. Because the planet is a sphere, that path is an arc of a great circle, calculated with the haversine formula. It is roughly the distance a plane follows, and it never changes no matter which road you take.
The driving distance is almost always longer, because roads bend around hills, rivers, lakes and city grids, and because you can only drive where a road actually goes. Across the United States, road routes typically run 15–40% longer than the straight line; the Denver to Phoenix route in the table below is a famous outlier, because the direct line crosses the Grand Canyon and the road has to go around it. Our guide to driving distance vs straight-line distance explains the gap in more detail, and how driving distance is calculated explains what a routing engine does under the hood.
Popular routes
Popular US city distances
These are the routes visitors ask about most. Every figure was computed from city-centre coordinates: straight-line by the haversine formula, driving distance and time from live OpenStreetMap routing (OSRM). Open any route for the full breakdown, a pre-filled calculator and trip notes.
| Route | Straight-line | Driving | Drive time |
|---|---|---|---|
| New York to Los Angeles | 2,445.6 mi | 2,794.2 mi | 49 h 48 min |
| New York to Chicago | 711.0 mi | 790.5 mi | 14 h 51 min |
| New York to Miami | 1,092.4 mi | 1,280.1 mi | 24 h 13 min |
| Los Angeles to San Francisco | 347.4 mi | 381.9 mi | 7 h 8 min |
| Los Angeles to Las Vegas | 228.4 mi | 270.4 mi | 4 h 59 min |
| Dallas to Houston | 224.8 mi | 238.3 mi | 4 h 13 min |
| Chicago to Houston | 941.9 mi | 1,086.4 mi | 19 h 52 min |
| Seattle to Los Angeles | 960.2 mi | 1,134.7 mi | 21 h 30 min |
| Denver to Phoenix | 585.5 mi | 820.6 mi | 15 h 33 min |
| Atlanta to Orlando | 401.5 mi | 437.4 mi | 7 h 57 min |
| Miami to Orlando | 205.3 mi | 234.2 mi | 4 h 24 min |
| New York to Boston | 190.2 mi | 213.6 mi | 4 h 41 min |
| Chicago to Atlanta | 588.8 mi | 684.4 mi | 13 h 21 min |
| Pittsburgh to Philadelphia | 257.1 mi | 304.7 mi | 5 h 45 min |
| San Jose to San Francisco | 42.0 mi | 48.4 mi | 1 h 1 min |
More routes with full breakdowns: Chicago to Atlanta (588.8 miles straight-line, 684.4 by road), Pittsburgh to Philadelphia (257.1 miles straight-line, 304.7 by road) and the short Bay Area hop from San Jose to San Francisco (42.0 miles straight-line, 48.4 by road).
Planning
How long does it take to travel…?
Travel time is just distance divided by speed — but keeping a feel for the numbers helps you plan. This table shows how long common distances take at three steady average speeds. Real journeys include stops, traffic and slower stretches, so treat these as best-case figures, and see the distance, speed and time formula guide and the average speed calculator to do your own sums.
| Distance | At 30 mph (town) | At 55 mph (highway) | At 70 mph (freeway) |
|---|---|---|---|
| 10 miles | 20 min | 11 min | 9 min |
| 50 miles | 1 h 40 min | 55 min | 43 min |
| 100 miles | 3 h 20 min | 1 h 49 min | 1 h 26 min |
| 500 miles | 16 h 40 min | 9 h 5 min | 7 h 9 min |
Precision
Distances between addresses and ZIP codes
Sometimes “New York” is not precise enough — you need door to door. The distance between addresses tool takes two full street addresses (or two ZIP/postal codes) and measures between those exact spots, straight-line and by road. One honest warning, covered in our distance between ZIP codes guide: a postal code covers an area, not a point, so code-to-code results are measured between the centres of the two areas and are approximate over short ranges. Need the raw numbers behind an address? The latitude and longitude finder turns any address into coordinates, and can reverse a coordinate pair back into the nearest address.
Expenses
Mileage for expenses, billing and tax
If the distance is for a claim rather than curiosity, the mileage calculator turns a route into claimable miles — one-way or round trip — and multiplies them by any per-mile rate you enter, such as the current IRS standard mileage rate in the US or your employer's own rate. The mileage and reimbursement guide explains how the maths is usually audited, why the rate changes most years, and how to keep a mileage log that a finance team will accept without argument.
On foot
Walking, running and measuring on the map
Not every journey has an address at both ends. The walking distance calculator lets you trace a route click by click — a dog-walking loop, a school run, a hiking path — and returns the distance with walking time at 3 mph, running time at ten minutes per mile, and an approximate step count. Its sibling, the map distance calculator, is the general-purpose measurer: same click-to-trace method, with totals in miles, kilometres, metres and feet for plots, boundaries and footprints. (The technique is the same one described in our guide to measuring distance on Google Maps.)
Meeting & coverage
Midpoints, radius circles and direction
Three results in the main calculator deserve a second look. The midpoint is the point halfway along the great-circle path — the dedicated midpoint calculator plots it on a map with copyable coordinates, and the meeting point guide explains when the geographic midpoint is — and is not — the fair meeting place once drive times differ. The radius tools work the other way round: the radius calculator draws a circle of any distance around a place, while the circle radius calculator handles the pure geometry of radius, diameter, circumference and area. A distance circle is not the same as a “within 30 minutes” area — the drive-time radius guide explains isochrones and the difference honestly. Finally, the initial direction in your results is the compass bearing you would follow at the start of the great-circle path — the heading a pilot sets after take-off.
Editorial standards
How our numbers are produced
Straight-line figures use the great-circle method on a spherical Earth with a mean radius of 3,958.8 miles — the standard approach, accurate to well within half a percent for the coordinates used (the full method is in our haversine formula guide). Driving distances and times come from live OpenStreetMap road data routed by OSRM at the moment you ask, so they reflect the current mapped road network — but they are traffic-free, and a closure, a new road or a different sensible route can shift them slightly. Flight times, walking times and step counts are labelled estimates built on stated assumptions (about 500 mph cruising plus 30 minutes; 3 mph walking; roughly 2,000 steps per mile). Our editorial policy sets out exactly how every number on this site is produced and which figures are estimates. Distances between two points on a flat grid, by contrast, use the Euclidean formula — right for graph paper and floor plans, wrong for the globe.
Toolkit
Distance tools
Every tool is free, needs no sign-up, and runs entirely in your browser.
- Driving Distance Calculator — road distance and drive time between two places, with the route drawn on a map.
- Distance Between Addresses — door-to-door distance between two street addresses or ZIP/postal codes.
- Map Distance Calculator — click points on the map to measure any path, in miles, kilometres, metres and feet.
- Air Miles Calculator — the flight distance between two places plus an estimated time in the air.
- Midpoint Calculator — the exact halfway point between two places, shown on a map.
- Radius Calculator — draw a circle of any radius around a place and see what falls inside it.
- Circle Radius Calculator — radius from diameter, circumference or area, with all values worked back out.
- Mileage Calculator — trip mileage for expenses and tax logs, one-way or round trip, at any per-mile rate.
- Average Speed Calculator — average speed from distance and time, or distance from speed and time.
- Distance Formula Calculator — distance between coordinate points, with every step of the working shown.
- Walking Distance Calculator — trace a route on the map and get distance, walking and running times, and a step estimate.
- Find Latitude and Longitude — turn any address into coordinates, or coordinates back into the nearest address.
Learn
Distance guides
Short, plain-English explainers on how distances are measured and how to do the maths yourself — the full set is indexed on the guides page.
- How to Measure Distance on Google Maps
- What “As the Crow Flies” Distance Really Means
- Driving Distance vs Straight-Line Distance
- How Driving Distance Is Calculated
- The Haversine Formula
- Euclidean Distance: The Flat-Plane Formula
- The Distance, Speed and Time Formula
- How to Calculate Speed
- Calculate Speed from Distance and Time
- Finding the Halfway Point Between Two Cities
- Choosing a Fair Meeting Point
- Distance Between ZIP Codes, Explained
- Drive-Time Radius (Isochrones) Explained
- How to Draw a Radius on a Map
- Google Maps Distance Calculator Alternatives
- Mileage and Reimbursement, Explained
Help
Frequently asked questions
How does this distance calculator work?
For two places, it looks up their coordinates, works out the straight-line (great-circle) distance with the haversine formula, and asks a live routing engine for the road route between them. Everything runs in your browser — there is no account and nothing to install.
What is the difference between straight-line and driving distance?
Straight-line distance is the shortest path over the Earth's surface, ignoring roads. Driving distance follows actual streets, so it is nearly always longer — typically by 15–40%. Our comparison guide explains why the gap varies.
How accurate are the results?
Straight-line figures are accurate to a fraction of a percent for the coordinates used. Driving distances come from OpenStreetMap data and the OSRM routing engine; they match the route shown on the map, but a different route choice, a road closure or a new road can change them slightly. See how we produce our numbers.
Can I measure distance using GPS coordinates?
Yes — open the GPS Coordinates tab and enter latitude and longitude in decimal degrees or in degrees, minutes and seconds. The calculator converts both formats automatically.
What is a nautical mile, and why show it?
A nautical mile is 1.15078 ordinary (statute) miles and equals one minute of latitude. Pilots and sailors plan in nautical miles, so flight and sea distances are shown in them alongside miles and kilometres.
How is the flight time estimated?
We divide the straight-line distance by a typical cruising speed of about 500 mph and add 30 minutes for take-off, climb, descent and landing. It is an estimate of time in the air, not a schedule — see the air miles calculator.
What exactly is the midpoint between two places?
It is the point that lies halfway along the great-circle path between them — equally far from both ends along the surface of the Earth. The midpoint calculator plots it on a map; note it is not always the same as the halfway town on a road trip.
Do you store the places I search for?
The calculators run on your device and this site keeps no search history. Place lookups and routes are fetched directly from OpenStreetMap services (Nominatim and OSRM) by your browser, subject to their own policies.
How do I find the distance between two ZIP codes?
Type the two ZIP codes into the calculator above, or use the dedicated distance between addresses tool for street-level precision. ZIP code distances are measured between the centres of the two ZIP areas, so they suit area-to-area comparisons; full addresses give the door-to-door figure.
Can I measure a route I walked or ran?
Yes — open the Map Route tab and click along the path you took. The total updates with every click in miles and kilometres, and the walking distance calculator adds walking and running times plus an approximate step count.
How do I find a fair halfway meeting point?
The calculator shows the geographic midpoint of any two places. For meeting in person, the midpoint calculator plots that halfway point on a map so you can see what is actually there; on a road trip, halfway by driving time is usually the fairer split.
Does the calculator work outside the United States?
Yes — place search and road routing cover the whole world through OpenStreetMap data, and distances can be shown in miles, kilometres or nautical miles. Very remote areas with sparse road mapping may return a straight-line result only, with a note explaining why.