EN RO

Distance from Madrid to Hamburg

Straight line

1,787 km
1,110 mi · 965 NM

By road

2,174 km
1,351 mi

Travel time

22 h 25 min
flight ≈ 2 h 44 min

Direction

NNE 31°
initial bearing

Open in the calculator (stops, directions, fuel cost) → Hamburg → Madrid

How far is Madrid from Hamburg?

Madrid (Spain) and Hamburg (Germany) are quite far apart: 1,787 km in a straight line, that is 1,110 miles or 965 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.

By road, Madrid to Hamburg is 2,174 km (1,351 miles), about 22 h 25 min by car on the fastest route, without traffic or stops. The road is 22% longer than the straight line.

From Madrid, Hamburg lies to the north-east (initial bearing 31°). The route crosses from Spain into Germany. The halfway point is at 47.1850°, 2.2963°.

A direct flight would take about 2 h 44 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 Hamburg?

By road it is 2,174 km (1,351 miles) from Madrid to Hamburg; in a straight line it is 1,787 km (1,110 miles).

How long is the drive from Madrid to Hamburg?

About 22 h 25 min on the fastest route (2,174 km), without traffic or stops.

In which direction is Hamburg from Madrid?

Hamburg is to the north-east of Madrid, at an initial bearing of 31°.

How long is the flight from Madrid to Hamburg?

A direct flight would take about 2 h 44 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.