Distance from Madrid to Budapest
Straight line
By road
Travel time
Direction
Open in the calculator (stops, directions, fuel cost) → Budapest → Madrid
How far is Madrid from Budapest?
Madrid (Spain) and Budapest (Hungary) are quite far apart: 1,978 km in a straight line, that is 1,229 miles or 1,068 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.
By road, Madrid to Budapest is 2,510 km (1,560 miles), about 26 h 26 min by car on the fastest route, without traffic or stops. The road is 27% longer than the straight line.
From Madrid, Budapest lies to the north-east (initial bearing 59°). The route crosses from Spain into Hungary. The halfway point is at 44.5231°, 6.9814°.
A direct flight would take about 2 h 58 min (800 km/h cruise plus take-off and landing). The road distance and driving time are calculated on the map from OpenStreetMap roads.
Other distances from Madrid
- Madrid – Ciudad Lineal 5 km
- Madrid – Móstoles 17 km
- Madrid – Alcalá de Henares 30 km
- Madrid – Valladolid 162 km
- Madrid – Zaragoza 274 km
- Madrid – Gasteiz / Vitoria 284 km
- Madrid – Córdoba 296 km
- Madrid – Valencia 302 km
- Madrid – Bilbao 323 km
Other distances from Budapest
- Budapest – Bratislava 161 km
- Budapest – Debrecen 194 km
- Budapest – Sânnicolau Mare 199 km
- Budapest – Salonta 212 km
- Budapest – Košice 213 km
- Budapest – Pecica 214 km
- Budapest – Vienna 214 km
- Budapest – Oradea 223 km
- Budapest – Sântana 226 km
Frequently asked questions
How far is Madrid from Budapest?
By road it is 2,510 km (1,560 miles) from Madrid to Budapest; in a straight line it is 1,978 km (1,229 miles).
How long is the drive from Madrid to Budapest?
About 26 h 26 min on the fastest route (2,510 km), without traffic or stops.
In which direction is Budapest from Madrid?
Budapest is to the north-east of Madrid, at an initial bearing of 59°.
How long is the flight from Madrid to Budapest?
A direct flight would take about 2 h 58 min at an average cruising speed of 800 km/h.
How is the distance calculated?
The straight-line distance is computed on the WGS84 ellipsoid with the Vincenty formula, accurate to the metre. The road distance comes from OpenStreetMap roads.