Skip to content
Distance between cities

Madrid to Huelva distance

Madrid and Huelva are 451 km (280 mi) apart in a straight line and 616 km (383 mi) apart by road: about 6 hr 40 min of driving without stops, mostly on the A-5 and the A-66. 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 Huelva: the straight line and the driving route
By road
616 km (383 mi)
Driving time
6 hr 40 min
Straight line
451 km (280 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 451 km (280 mi) geodesic on the WGS84 ellipsoid
By road 616 km (383 mi) fastest driving route (OSRM)
Driving time 6 hr 40 min no stops, no traffic
Road detour +37% 1.37 times the straight line
Average speed 92 km/h (57 mph) along the route, without stops
Bearing 220° (southwest) leaving Madrid toward Huelva
Midpoint 38.8494° N, 5.3568° W near Esparragosa de Lares (Badajoz)
Halfway by road Near Santa Amalia (Badajoz) 308 km from each city by road
Time difference None both share the same time
Elevation Madrid: 645 m (2,116 ft) · Huelva: 8 m (26 ft) IGN (Spain)
Population Madrid: 3,506,730 · Huelva: 143,215 INE population register, January 1, 2025

Madrid to Huelva by road

The fastest driving route is 616 km (383 mi) long and takes about 6 hr 40 min without stops or traffic. It runs mostly on the A-5 (332 km), the A-66 (181 km), and the A-49 (77.2 km).

It goes through 4 autonomous communities: the Community of Madrid (40.8 km), Castilla–La Mancha (134 km), Extremadura (282 km), and Andalusia (159 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 3 stops of 20 minutes, the trip takes about 7 hr 40 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 Huelva are 451 km (280 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

The road is 37% longer: for every 100 km in a straight line you drive 137. That’s a big detour: the fastest route strays quite far from the straight line. Of the 120 Spanish driving pairs in this series, it ranks 9th for detour (the average is 24%).

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

Halfway along the straight line, 225 km (140 mi) from each city, is the point 38.8494° N, 5.3568° W. It falls near Esparragosa de Lares (Badajoz, pop. 839), 15.9 km away. The nearest town of 20,000 people or more is Villanueva de la Serena (Badajoz, pop. 25,773), 40.9 km away.

By road, the halfway point is 308 km (191 mi) from each city, near Santa Amalia (Badajoz, pop. 3,881), 6.3 km away. The nearest town of 20,000 people or more is Don Benito (Badajoz, pop. 37,986), 20.3 km away. The two midpoints are 64.9 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 Huelva at 8 m (26 ft), 637 m (2,090 ft) lower.

Madrid has 3.5 million people and Huelva 143,215 people (INE population register, January 1, 2025).

Frequently asked questions

How many kilometers is it from Madrid to Huelva?

451 km (280 mi) in a straight line and 616 km (383 mi) by road on the fastest route (mostly on the A-5 and the A-66).

How long is the drive from Madrid to Huelva?

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

Where is the halfway point between Madrid and Huelva?

In a straight line, near Esparragosa de Lares (Badajoz). By road, 308 km from each city, near Santa Amalia (Badajoz).

Which city is higher, Madrid or Huelva?

Madrid, at 645 m (2,116 ft); Huelva sits at 8 m (26 ft).

Which direction is Huelva from Madrid?

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

Sources