Distance from Madrid to Rabat
Straight line
By road
Travel time
Direction
Open in the calculator (stops, directions, fuel cost) → Rabat → Madrid
How far is Madrid from Rabat?
Madrid (Spain) and Rabat (Morocco) are quite far apart: 763 km in a straight line, that is 474 miles or 412 nautical miles. The distance is measured over the Earth's surface (WGS84 ellipsoid) along the shortest possible path.
By road, Madrid to Rabat is 684 km (425 miles), about 7 h 58 min by car on the fastest route, without traffic or stops. The road follows the straight line closely.
From Madrid, Rabat lies to the south (initial bearing 202°). The route crosses from Spain into Morocco. The halfway point is at 37.2252°, -5.3341°.
A direct flight would take about 1 h 27 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 Rabat
- Rabat – Casablanca 86 km
- Rabat – Jerez de la Frontera 304 km
- Rabat – Málaga 372 km
- Rabat – Sevilla 383 km
- Rabat – Granada 458 km
- Rabat – Córdoba 469 km
- Rabat – Lisbon 562 km
- Rabat – Cartagena 661 km
- Rabat – Murcia 677 km
Frequently asked questions
How far is Madrid from Rabat?
By road it is 684 km (425 miles) from Madrid to Rabat; in a straight line it is 763 km (474 miles).
How long is the drive from Madrid to Rabat?
About 7 h 58 min on the fastest route (684 km), without traffic or stops.
In which direction is Rabat from Madrid?
Rabat is to the south of Madrid, at an initial bearing of 202°.
How long is the flight from Madrid to Rabat?
A direct flight would take about 1 h 27 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.