Enter your two cities
Choose from the city list, or type any label and use coordinates in “Advanced”. Distances are calculated on a spherical Earth model (great-circle), which is the standard for quick travel estimates.
Calculate the straight-line (“as the crow flies”) distance between two cities in miles or kilometers using the Haversine (great-circle) formula. You can pick from common cities, or enter latitude/longitude for precise points. We also provide simple travel-time estimates for driving, train, and flying.
Choose from the city list, or type any label and use coordinates in “Advanced”. Distances are calculated on a spherical Earth model (great-circle), which is the standard for quick travel estimates.
When people ask “How far is City A from City B?”, they usually mean one of two things: (1) the driving distance along roads, or (2) the straight-line distance between two points on Earth. This calculator focuses on the straight-line version, which is also called the great-circle distance.
A “great circle” is the largest possible circle you can draw on a sphere. The equator is a great circle. If you stretched a tight string around a globe between two points, it would align along a great-circle path. That path is the shortest distance over the Earth’s surface (ignoring elevation).
Why is this useful? Because it’s fast, consistent, and great for planning. If you’re comparing travel options, estimating flight time, or simply curious whether two cities are closer than you thought, great-circle distance is the cleanest baseline. It also powers many real-world systems (navigation math, aviation planning, and geospatial tools).
It’s simple and shareable. A straight-line distance is a single number that doesn’t depend on which road you take or which airline route exists today. That makes it perfect for: trip brainstorming, fun comparisons (“Wait… LA is THAT far from NYC?”), and quick sanity checks when you’re planning a weekend or calculating whether a commute is realistic.
Earth is roughly spherical, so the “flat map” distance formula doesn’t work well for cities far apart. Instead, we convert each location into latitude/longitude angles and compute the arc distance along the sphere. The most common approach is the Haversine formula.
The Haversine formula computes an intermediate value “a” that represents the squared half-chord length between points, then uses an inverse trig step to get the central angle “c”. Finally, distance = R × c. In this calculator we use R = 6371 km (a standard average Earth radius) and then convert to miles if requested.
Note: Earth isn’t a perfect sphere (it’s slightly squashed). For most city-to-city use cases, Haversine is accurate enough. Extremely precise surveying would use an ellipsoidal model, but that’s overkill for everyday planning.
After we compute the straight-line distance, we provide simple time estimates for driving, train, and flying. These are not route-based. They are computed using: time = distance ÷ speed.
These defaults are intentionally “reasonable averages.” Real-world travel time can change dramatically: traffic, stops, terrain, connections, airport check-in, and detours are not included. But as a quick comparison tool, these estimates help answer questions like: “Is this drivable in a day?” or “Is flying obviously better?”
This is straight-line (great-circle) distance. Driving distance is usually longer because roads aren’t perfectly straight.
Google Maps shows route-based distance (roads). This calculator uses the shortest surface path on a sphere (Haversine). Both are “correct” for different definitions of distance.
Type any label and open Advanced, then enter the latitude/longitude for both points. You can find coordinates from many sources (including map apps), then paste them here.
For city-to-city planning it’s typically very accurate. For ultra-precise geodesy you’d use an ellipsoid model, but that’s beyond what most people need.
Real flight paths depend on air corridors, wind, and airline routing. Great-circle is the standard baseline estimate.
Popular tools from the Everyday category:
MaximCalculator provides simple, user-friendly tools. Always treat results as estimates and double-check any travel-critical planning (routes, visas, and schedules) using official sources.