Skip to content
Distance between cities

Madrid to Vitoria-Gasteiz distance

Madrid and Vitoria-Gasteiz are 283 km (176 mi) apart in a straight line and 352 km (219 mi) apart by road: about 4 hr of driving without stops, mostly on the A-1 and the AP-1. 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 Vitoria-Gasteiz: the straight line and the driving route
By road
352 km (219 mi)
Driving time
4 hr
Straight line
283 km (176 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 283 km (176 mi) geodesic on the WGS84 ellipsoid
By road 352 km (219 mi) fastest driving route (OSRM)
Driving time 4 hr no stops, no traffic
Road detour +24% 1.24 times the straight line
Average speed 88 km/h (55 mph) along the route, without stops
Bearing 17° (north) leaving Madrid toward Vitoria-Gasteiz
Midpoint 41.6342° N, 3.1917° W near San Esteban de Gormaz (Soria)
Halfway by road Near Oquillas (Burgos) 176 km from each city by road
Time difference None both share the same time
Elevation Madrid: 645 m (2,116 ft) · Vitoria-Gasteiz: 524 m (1,719 ft) IGN (Spain)
Population Madrid: 3,506,730 · Vitoria-Gasteiz: 260,699 INE population register, January 1, 2025

Madrid to Vitoria-Gasteiz by road

The fastest driving route is 352 km (219 mi) long and takes about 4 hr without stops or traffic. It runs mostly on the A-1 (249 km) and the AP-1 (83.0 km).

It goes through 3 autonomous communities: the Community of Madrid (97.1 km), Castile and León (231 km), and the Basque Country (23.6 km). That’s an average of 88 km/h (55 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 1 stop of 20 minutes, the trip takes about 4 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 Vitoria-Gasteiz are 283 km (176 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.

The road is 24% longer: for every 100 km in a straight line you drive 124. That’s a normal detour between two cities. Of the 120 Spanish driving pairs in this series, it ranks 52nd for detour (the average is 24%).

From Madrid, Vitoria-Gasteiz lies to the north (bearing 17°), and from Vitoria-Gasteiz, Madrid lies to the south.

Halfway between Madrid and Vitoria-Gasteiz

Halfway along the straight line, 141 km (87.8 mi) from each city, is the point 41.6342° N, 3.1917° W. It falls near San Esteban de Gormaz (Soria, pop. 2,962), 6.8 km away. The nearest town of 20,000 people or more is Aranda de Duero (Burgos, pop. 33,956), 41.7 km away.

By road, the halfway point is 176 km (109 mi) from each city, near Oquillas (Burgos, pop. 52), 3.3 km away. The nearest town of 20,000 people or more is Aranda de Duero (Burgos, pop. 33,956), 14.7 km away. The two midpoints are 46.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 Vitoria-Gasteiz at 524 m (1,719 ft), 121 m (397 ft) lower.

Madrid has 3.5 million people and Vitoria-Gasteiz 260,699 people (INE population register, January 1, 2025).

Frequently asked questions

How many kilometers is it from Madrid to Vitoria-Gasteiz?

283 km (176 mi) in a straight line and 352 km (219 mi) by road on the fastest route (mostly on the A-1 and the AP-1).

How long is the drive from Madrid to Vitoria-Gasteiz?

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

Where is the halfway point between Madrid and Vitoria-Gasteiz?

In a straight line, near San Esteban de Gormaz (Soria). By road, 176 km from each city, near Oquillas (Burgos).

Which city is higher, Madrid or Vitoria-Gasteiz?

Madrid, at 645 m (2,116 ft); Vitoria-Gasteiz sits at 524 m (1,719 ft).

Which direction is Vitoria-Gasteiz from Madrid?

North: the straight line leaves Madrid on a bearing of 17° (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 Vitoria-Gasteiz

Sources