Skip to content
Distance between cities

Madrid to Badajoz distance

Madrid and Badajoz are 329 km (205 mi) apart in a straight line and 402 km (250 mi) apart by road: about 4 hr 25 min of driving without stops, mostly on the A-5. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.

By the Mapsfera Team

Map from Madrid to Badajoz: the straight line and the driving route
By road
402 km (250 mi)
Driving time
4 hr 25 min
Straight line
329 km (205 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 October 31, 2026; simplified line.

Missing a road? Fix it on OpenStreetMap

The figures

Figure Value
Straight line 329 km (205 mi) geodesic on the WGS84 ellipsoid
By road 402 km (250 mi) fastest driving route (OSRM)
Driving time 4 hr 25 min no stops, no traffic
Road detour +22% 1.22 times the straight line
Average speed 92 km/h (57 mph) along the route, without stops
Bearing 240° (southwest) leaving Madrid toward Badajoz
Midpoint 39.6606° N, 5.3490° W near Garvín (Cáceres)
Halfway by road Near Almaraz (Cáceres) 201 km from each city by road
Time difference None both share the same time
Elevation Madrid: 645 m (2,116 ft) · Badajoz: 187 m (614 ft) IGN (Spain)
Population Madrid: 3,506,730 · Badajoz: 150,209 INE population register, January 1, 2025

Madrid to Badajoz by road

The fastest driving route is 402 km (250 mi) long and takes about 4 hr 25 min without stops or traffic. Almost all of it is on the A-5: 383 km of 402 km.

It goes through 3 autonomous communities: the Community of Madrid (40.9 km), Castilla–La Mancha (135 km), and Extremadura (226 km). That’s an average of 92 km/h (57 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 2 stops of 20 minutes, the trip takes about 5 hr 5 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 Badajoz are 329 km (205 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

The road is 22% longer: for every 100 km in a straight line you drive 122. That’s a normal detour between two cities. Of the 40 Spanish pairs in this series, it ranks 18th for detour (the average is 24%).

From Madrid, Badajoz lies to the southwest (bearing 240°), and from Badajoz, Madrid lies to the northeast. The straight line reaches Badajoz on a bearing of 238°: 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 Badajoz

Halfway along the straight line, 165 km (102 mi) from each city, is the point 39.6606° N, 5.3490° W. It falls near Garvín (Cáceres, pop. 101), 6.6 km away. The nearest town of 20,000 people or more is Talavera de la Reina (Toledo, pop. 83,803), 55.2 km away.

By road, the halfway point is 201 km (125 mi) from each city, near Almaraz (Cáceres, pop. 1,594), 1.6 km away. The nearest town of 20,000 people or more is Plasencia (Cáceres, pop. 40,132), 43.3 km away. The two midpoints are 32.2 km apart: if you want to meet halfway, the one on the road is the useful one.

By plane

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 sits at 645 m (2,116 ft) and Badajoz at 187 m (614 ft), 458 m (1,503 ft) lower.

Madrid has 3.5 million people and Badajoz 150,209 people (INE population register, January 1, 2025).

Frequently asked questions

How many kilometers is it from Madrid to Badajoz?

329 km (205 mi) in a straight line and 402 km (250 mi) by road on the fastest route (mostly on the A-5).

How long is the drive from Madrid to Badajoz?

About 4 hr 25 min without stops or traffic, according to OSRM with OpenStreetMap data; with 2 stops of 20 minutes, about 5 hr 5 min.

Where is the halfway point between Madrid and Badajoz?

In a straight line, near Garvín (Cáceres). By road, 201 km from each city, near Almaraz (Cáceres).

Which city is higher, Madrid or Badajoz?

Madrid, at 645 m (2,116 ft); Badajoz sits at 187 m (614 ft).

Which direction is Badajoz from Madrid?

Southwest: the straight line leaves Madrid on a bearing of 240° (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.

More distances from Madrid

All distances

Sources