EN RO

Distance from Madrid to Budapest

Straight line

1,978 km
1,229 mi · 1,068 NM

By road

2,510 km
1,560 mi

Travel time

26 h 26 min
flight ≈ 2 h 58 min

Direction

ENE 59°
initial bearing

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.

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.