Distance from Barcelona to Madrid
Flying the shortest possible route, Madrid lies 504 km (313 miles, 272 nautical miles) from Barcelona — the great-circle distance between their coordinates.
The numbers
- Great-circle distance
- 504 km · 313 mi · 272 nmi
- Initial bearing Barcelona → Madrid
- 260° (W)
- Initial bearing Madrid → Barcelona
- 76° (ENE)
- Nonstop flight (rough estimate)
- ≈ 1 h 15 min
- Time zones
- Barcelona UTC+01:00 · Madrid UTC+01:00 (+0 h)
- Sunrise gap today
- 21 min — the sun rises earlier in Barcelona
Flight time is a cruise-speed approximation (no routing/wind); driving distance depends on roads and is typically 20–40% longer than great-circle.
The two cities
- Barcelona
- 41.3888, 2.1590
- Sunrise / sunset today
- 06:32 UTC / 16:40 UTC
- Madrid
- 40.4165, -3.7026
- Sunrise / sunset today
- 06:53 UTC / 17:06 UTC
Open in the distance calculator Find the halfway point
Distances here are straight-line (great-circle). Road routes typically run 1.2–1.4× longer — here's why, with the visual.