How it compares
Questions
How far is Madrid from Barcelona as the crow flies?
Madrid is 313 miles (504 km, 272 nautical miles) from Barcelona in a straight line. That is 1.3% of the way round the Earth. It is not a road distance.
How long is the flight from Barcelona to Madrid?
About 1 h 10 min. That is an estimate: 504 km at 800 km/h plus 30 minutes for take-off and landing. Real flight times depend on the route, winds and any stops.
Which direction is Madrid from Barcelona?
Starting from Barcelona, Madrid lies W (260° from north). Starting from Madrid, Barcelona lies ENE (76°). The two differ because the shortest path curves across the globe.
What is halfway between Barcelona and Madrid?
The point halfway along the shortest line is at 40.94° N, 0.79° W, 252 km from each city. The nearest city in our list is Zaragoza, Spain.
City names and positions: GeoNames (geonames.org), licence CC BY 4.0, read 2026-11-30. Distance is the great-circle line between the two city centres, from the haversine formula on a sphere of radius 6,371 km, so expect a kilometre or so of rounding either way. Flight time, where shown, is an estimate of the distance at 800 km/h plus 30 minutes for take-off, climb and landing, rounded to five minutes; real flights follow air routes, winds and slots. Everything is calculated by EcoGPT.
Planning this trip?
Ask about the route, how people usually travel it, or how far other cities are from either end.
Ask EcoGPT