Skip to content
Distance between cities

Madrid to Andorra la Vella distance

Madrid and Andorra la Vella are 493 km (307 mi) apart in a straight line and 608 km (378 mi) apart by road: about 7 hr 20 min of driving without stops, mostly on the A-2 and the AP-2. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.

By the All Map Tools Team

Map from Madrid to Andorra la Vella: the straight line and the driving route
By road
608 km (378 mi)
Driving time
7 hr 20 min
Straight line
493 km (307 mi)
  • Driving route
  • Straight line
  • Straight-line midpoint
  • Halfway by road
Straight line vs driving distance

Lambert azimuthal equal-area projection centered on the midpoint. Route: FOSSGIS OSRM with data © OpenStreetMap contributors, calculated on November 1, 2026; simplified line.

Missing a road? Fix it on OpenStreetMap

The figures

Figure Value
Straight line 493 km (307 mi) geodesic on the WGS84 ellipsoid
By road 608 km (378 mi) fastest driving route (OSRM)
Driving time 7 hr 20 min no stops, no traffic
Road detour +23% 1.23 times the straight line
Average speed 83 km/h (51 mph) along the route, without stops
Bearing 60° (northeast) leaving Madrid toward Andorra la Vella
Midpoint 41.4930° N, 1.1273° W near Muel (Zaragoza)
Halfway by road Near Cuarte de Huerva (Zaragoza) 304 km from each city by road
Time difference None both share the same time
Population Madrid: 3,506,730 · Andorra la Vella: 20,430 INE population register, January 1, 2025; GeoNames

Madrid to Andorra la Vella by road

The fastest driving route is 608 km (378 mi) long and takes about 7 hr 20 min without stops or traffic. It runs mostly on the A-2 (340 km), the AP-2 (109 km), and the C-14 (67.1 km).

Of the 608 km, 597 km are in Spain and 11.0 km are in Andorra. That’s an average of 83 km/h (51 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 3 stops of 20 minutes, the trip takes about 8 hr 20 min. The time is OSRM’s estimate with OpenStreetMap data: no traffic and speeds somewhat below the limits, so real trips can differ.

Straight-line distance and bearing

In a straight line, the shortest distance over the Earth’s surface, Madrid and Andorra la Vella are 493 km (307 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

The road is 23% longer: for every 100 km in a straight line you drive 123. That’s a normal detour between two cities. Of the 34 Spain–Europe driving pairs in this series, it ranks 24th for detour (the average is 31%).

From Madrid, Andorra la Vella lies to the northeast (bearing 60°), and from Andorra la Vella, Madrid lies to the southwest. The straight line reaches Andorra la Vella on a bearing of 64°: on a sphere the bearing keeps changing along the way, which is why the shortest route looks slightly curved on a flat map.

Halfway between Madrid and Andorra la Vella

Halfway along the straight line, 247 km (153 mi) from each city, is the point 41.4930° N, 1.1273° W. It falls near Muel (Zaragoza, pop. 1,540), 4.6 km away. The nearest town of 20,000 people or more is Zaragoza (pop. 693,091), 27.6 km away.

By road, the halfway point is 304 km (189 mi) from each city, near Cuarte de Huerva (Zaragoza, pop. 15,408), 7.0 km away. The nearest town of 20,000 people or more is Zaragoza (pop. 693,091), 7.0 km away. The two midpoints are 22.3 km apart: if you want to meet halfway, the one on the road is the useful one.

Time zone and flight

Madrid and Andorra la Vella share the same time all year: both are on Central European Time.

No flight time is given: under 500 km (311 miles) in a straight line, time at the airport outweighs time in the air.

The two cities

Madrid has 3.5 million people (INE population register, January 1, 2025) and Andorra la Vella 20,430 people (GeoNames).

Frequently asked questions

How many kilometers is it from Madrid to Andorra la Vella?

493 km (307 mi) in a straight line and 608 km (378 mi) by road on the fastest route (mostly on the A-2 and the AP-2).

How long is the drive from Madrid to Andorra la Vella?

About 7 hr 20 min without stops or traffic, according to OSRM with OpenStreetMap data; with 3 stops of 20 minutes, about 8 hr 20 min.

Where is the halfway point between Madrid and Andorra la Vella?

In a straight line, near Muel (Zaragoza). By road, 304 km from each city, near Cuarte de Huerva (Zaragoza).

Are Madrid and Andorra la Vella in the same time zone?

Yes: both are on Central European Time all year.

Which direction is Andorra la Vella from Madrid?

Northeast: the straight line leaves Madrid on a bearing of 60° (0° is north and 90° is east).

Measure it yourself on the map

The same two cities, already set up in the tools: move the points, get the route by bike or on foot and download the map.

Similar pairs

The ones in this series whose cities are closest to these two, in case another one suits you better.

More distances from Madrid

All distances

More distances from Andorra la Vella

Sources