Barcelona to Málaga distance
Barcelona and Málaga are 770 km (478 mi) apart in a straight line and 965 km (600 mi) apart by road: about 10 hr 50 min of driving without stops, mostly on the A-92 and the AP-7. Below you’ll find the route map, both halfway points, the bearing, the approximate flight time and where every figure comes from.
By the All Map Tools Team
- By road
- 965 km (600 mi)
- Driving time
- 10 hr 50 min
- Straight line
- 770 km (478 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 | 770 km (478 mi) geodesic on the WGS84 ellipsoid |
| By road | 965 km (600 mi) fastest driving route (OSRM) |
| Driving time | 10 hr 50 min no stops, no traffic |
| Road detour | +25% 1.25 times the straight line |
| Average speed | 89 km/h (55 mph) along the route, without stops |
| Bearing | 230° (southwest) leaving Barcelona toward Málaga |
| Midpoint | 39.0983° N, 1.2273° W near Carcelén (Albacete) |
| Halfway by road | Near Yecla (Murcia) 483 km from each city by road |
| Time difference | None both share the same time |
| Approximate flight | 1 hr 30 min estimate: 30 min + the straight line at 800 km/h |
| Elevation | Barcelona: 13 m (43 ft) · Málaga: 6 m (20 ft) IGN (Spain) |
| Population | Barcelona: 1,731,649 · Málaga: 599,063 INE population register, January 1, 2025 |
Barcelona to Málaga by road
The fastest driving route is 965 km (600 mi) long and takes about 10 hr 50 min without stops or traffic. It runs mostly on the A-92 (263 km), the AP-7 (249 km), and the A-7 (177 km).
It goes through 5 autonomous communities: Catalonia (193 km), the Valencian Community (272 km), Castilla–La Mancha (12.6 km), the Region of Murcia (187 km), and Andalusia (300 km). That’s an average of 89 km/h (55 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 5 stops of 20 minutes, the trip takes about 12 hr 30 min. At about 8 hours behind the wheel a day, it’s a 2-day drive. 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 Málaga are 770 km (478 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 25% longer: for every 100 km in a straight line you drive 125. That’s a normal detour between two cities. Of the 120 Spanish driving pairs in this series, it ranks 46th for detour (the average is 24%).
From Barcelona, Málaga lies to the southwest (bearing 230°), and from Málaga, Barcelona lies to the northeast. The straight line reaches Málaga on a bearing of 226°: 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 Málaga
Halfway along the straight line, 385 km (239 mi) from each city, is the point 39.0983° N, 1.2273° W. It falls near Carcelén (Albacete, pop. 483), 7.1 km away. The nearest town of 20,000 people or more is Almansa (Albacete, pop. 24,615), 27.9 km away.
By road, the halfway point is 483 km (300 mi) from each city, near Yecla (Murcia, pop. 36,453), 6.7 km away. The two midpoints are 55.3 km apart: if you want to meet halfway, the one on the road is the useful one.
By plane
A direct flight would take about 1 hr 30 min. That’s an estimate: 30 minutes for takeoff, climb, descent and landing, plus the 770 km straight line at 800 km/h (about 497 mph), a typical airliner cruising speed. Real schedules depend on wind, routing and airports, and not every pair has a direct flight.
The two cities
Barcelona and Málaga sit at almost the same elevation: 13 m (43 ft) and 6 m (20 ft).
Barcelona has 1.7 million people and Málaga 599,063 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Barcelona to Málaga?
770 km (478 mi) in a straight line and 965 km (600 mi) by road on the fastest route (mostly on the A-92 and the AP-7).
How long is the drive from Barcelona to Málaga?
About 10 hr 50 min without stops or traffic, according to OSRM with OpenStreetMap data; with 5 stops of 20 minutes, about 12 hr 30 min.
Where is the halfway point between Barcelona and Málaga?
In a straight line, near Carcelén (Albacete). By road, 483 km from each city, near Yecla (Murcia).
How long is the flight from Barcelona to Málaga?
About 1 hr 30 min, estimated from the straight-line distance (770 km): 30 minutes for takeoff and landing plus the trip at 800 km/h. Real flight times vary with wind and routing.
Which direction is Málaga from Barcelona?
Southwest: the straight line leaves Barcelona on a bearing of 230° (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 Granada 683 km straight line · 837 km by road · 9 hr 25 min Granada, 88.5 km from Málaga
- Barcelona to Seville 831 km straight line · 997 km by road · 11 hr 5 min Seville, 159 km from Málaga
- Valencia to Málaga 467 km straight line · 606 km by road · 6 hr 50 min Valencia, 303 km from Barcelona
- Barcelona to Murcia 472 km straight line · 574 km by road · 6 hr 30 min Murcia, 323 km from Málaga
More distances from Barcelona
All distances- Barcelona to Pamplona 354 km straight line · 431 km by road · 5 hr 20 min
- Barcelona to San Sebastián 405 km straight line · 517 km by road · 6 hr 20 min
- Barcelona to Castellón 243 km straight line · 280 km by road · 3 hr 20 min
- Barcelona to Santander 544 km straight line · 707 km by road · 7 hr 45 min
- Barcelona to Palma de Mallorca 205 km straight line · 45 min flight
- Barcelona to Ibiza 282 km straight line · 50 min flight
More distances from Málaga
- Málaga to Córdoba 133 km straight line · 160 km by road · 2 hr
- Málaga to Cádiz 169 km straight line · 235 km by road · 2 hr 55 min
- Málaga to Marbella 48.1 km straight line · 60.1 km by road · 48 min
- Madrid to Málaga 415 km straight line · 535 km by road · 6 hr 5 min
- Seville to Málaga 159 km straight line · 214 km by road · 2 hr 40 min
- Málaga to Granada 88.5 km straight line · 128 km by road · 1 hr 40 min
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