Barcelona to Pamplona distance
Barcelona and Pamplona are 354 km (220 mi) apart in a straight line and 431 km (268 mi) apart by road: about 5 hr 20 min of driving without stops, mostly on the A-2 and the A-22. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.
By the All Map Tools Team
- By road
- 431 km (268 mi)
- Driving time
- 5 hr 20 min
- Straight line
- 354 km (220 mi)
- Driving route
- Straight line
- Straight-line midpoint
- Halfway by road
Lambert azimuthal equal-area projection centered on the midpoint. Route: FOSSGIS OSRM with data © OpenStreetMap contributors, calculated on November 1, 2026; simplified line.
The figures
| Figure | Value |
|---|---|
| Straight line | 354 km (220 mi) geodesic on the WGS84 ellipsoid |
| By road | 431 km (268 mi) fastest driving route (OSRM) |
| Driving time | 5 hr 20 min no stops, no traffic |
| Road detour | +22% 1.22 times the straight line |
| Average speed | 81 km/h (50 mph) along the route, without stops |
| Bearing | 298° (northwest) leaving Barcelona toward Pamplona |
| Midpoint | 42.1164° N, 0.2881° E near Olvena (Huesca) |
| Halfway by road | In Castejón del Puente (Huesca) 215 km from each city by road |
| Time difference | None both share the same time |
| Elevation | Barcelona: 13 m (43 ft) · Pamplona: 440 m (1,444 ft) IGN (Spain) |
| Population | Barcelona: 1,731,649 · Pamplona: 209,094 INE population register, January 1, 2025 |
Barcelona to Pamplona by road
The fastest driving route is 431 km (268 mi) long and takes about 5 hr 20 min without stops or traffic. It runs mostly on the A-2 (109 km), the A-22 (106 km), and the A-132 (69.5 km).
It goes through 3 autonomous communities: Catalonia (184 km), Aragon (195 km), and Navarre (52.0 km). That’s an average of 81 km/h (50 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 6 hr. 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, Barcelona and Pamplona are 354 km (220 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 120 Spanish driving pairs in this series, it ranks 67th for detour (the average is 24%).
From Barcelona, Pamplona lies to the northwest (bearing 298°), and from Pamplona, Barcelona lies to the southeast. The straight line reaches Pamplona on a bearing of 295°: 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 Barcelona and Pamplona
Halfway along the straight line, 177 km (110 mi) from each city, is the point 42.1164° N, 0.2881° E. It falls near Olvena (Huesca, pop. 63), 2.5 km away. The nearest town of 20,000 people or more is Huesca (pop. 55,454), 57.7 km away.
By road, the halfway point is 215 km (134 mi) from each city, in Castejón del Puente (Huesca, pop. 359). The nearest town of 20,000 people or more is Huesca (pop. 55,454), 50.9 km away. The two midpoints are 19.8 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
Barcelona sits at 13 m (43 ft) and Pamplona at 440 m (1,444 ft), 427 m (1,401 ft) higher.
Barcelona has 1.7 million people and Pamplona 209,094 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Barcelona to Pamplona?
354 km (220 mi) in a straight line and 431 km (268 mi) by road on the fastest route (mostly on the A-2 and the A-22).
How long is the drive from Barcelona to Pamplona?
About 5 hr 20 min without stops or traffic, according to OSRM with OpenStreetMap data; with 2 stops of 20 minutes, about 6 hr.
Where is the halfway point between Barcelona and Pamplona?
In a straight line, near Olvena (Huesca). By road, 215 km from each city, in Castejón del Puente (Huesca).
Which city is higher, Barcelona or Pamplona?
Pamplona, at 440 m (1,444 ft); Barcelona sits at 13 m (43 ft).
Which direction is Pamplona from Barcelona?
Northwest: the straight line leaves Barcelona on a bearing of 298° (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.
- Distance between two points Measure the distance between any two places or points on the map, in miles or kilometers.
- Straight line vs driving distance Compare the as-the-crow-flies distance with the real driving distance and see how much the road adds.
- Halfway point Find the exact halfway point between two places and see it on the map, ready to share.
Similar pairs
The ones in this series whose cities are closest to these two, in case another one suits you better.
- Barcelona to San Sebastián 405 km straight line · 517 km by road · 6 hr 20 min San Sebastián, 62.4 km from Pamplona
- Barcelona to Bilbao 469 km straight line · 610 km by road · 6 hr 40 min Bilbao, 115 km from Pamplona
- Barcelona to Zaragoza 257 km straight line · 311 km by road · 3 hr 30 min Zaragoza, 144 km from Pamplona
- Barcelona to Santander 544 km straight line · 707 km by road · 7 hr 45 min Santander, 190 km from Pamplona
More distances from Barcelona
All distances- Barcelona to Castellón 243 km straight line · 280 km by road · 3 hr 20 min
- Barcelona to Palma de Mallorca 205 km straight line · 45 min flight
- Barcelona to Ibiza 282 km straight line · 50 min flight
- Barcelona to Rome 862 km straight line · 1,360 km by road · 14 hr 45 min
- Barcelona to Milan 726 km straight line · 983 km by road · 10 hr 45 min
- Barcelona to Marseille 339 km straight line · 506 km by road · 5 hr 30 min
More distances from Pamplona
Sources
- Driving route: FOSSGIS OSRM, car profile (calculated on November 1, 2026) · FOSSGIS e.V.
- Roads, streets and places · © OpenStreetMap contributors (ODbL)
- Straight line, bearings and midpoint (geodesics on the WGS84 ellipsoid) · GeographicLib (C. F. F. Karney)
- Location and elevation of Spanish cities (gazetteer and DEM) · Instituto Geográfico Nacional (CC BY 4.0)
- Population register, January 1, 2025 · INE (Spain)
- Places near the midpoints: All Map Tools gazetteer (GeoNames, INE, IGN and Census) · All Map Tools
- Time zones (timezone-boundary-builder outlines and the IANA database) · © OpenStreetMap contributors (ODbL)
- Map: provinces (IGN), states (US Census Bureau) and countries (Natural Earth) · IGN, Census and Natural Earth
- Methodology