Distance from Rabat to Madrid
Straight line
By road
Travel time
Direction
Open in the calculator (stops, directions, fuel cost) → Madrid → Rabat
How far is Rabat from Madrid?
Rabat (Morocco) and Madrid (Spain) 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, Rabat to Madrid is 685 km (425 miles), about 8 h 2 min by car on the fastest route, without traffic or stops. The road follows the straight line closely.
From Rabat, Madrid lies to the north (initial bearing 20°). The route crosses from Morocco into Spain. 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 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
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
Frequently asked questions
How far is Rabat from Madrid?
By road it is 685 km (425 miles) from Rabat to Madrid; in a straight line it is 763 km (474 miles).
How long is the drive from Rabat to Madrid?
About 8 h 2 min on the fastest route (685 km), without traffic or stops.
In which direction is Madrid from Rabat?
Madrid is to the north of Rabat, at an initial bearing of 20°.
How long is the flight from Rabat to Madrid?
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.