Madrid to Lleida distance
Madrid and Lleida are 387 km (240 mi) apart in a straight line and 460 km (286 mi) apart by road: about 5 hr 5 min of driving without stops, mostly on the A-2 and the AP-2. 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
- 460 km (286 mi)
- Driving time
- 5 hr 5 min
- Straight line
- 387 km (240 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 | 387 km (240 mi) geodesic on the WGS84 ellipsoid |
| By road | 460 km (286 mi) fastest driving route (OSRM) |
| Driving time | 5 hr 5 min no stops, no traffic |
| Road detour | +19% 1.19 times the straight line |
| Average speed | 91 km/h (57 mph) along the route, without stops |
| Bearing | 69° (east) leaving Madrid toward Lleida |
| Midpoint | 41.0371° N, 1.5522° W near Used (Zaragoza) |
| Halfway by road | In Calatayud (Zaragoza) 230 km from each city by road |
| Time difference | None both share the same time |
| Elevation | Madrid: 645 m (2,116 ft) · Lleida: 150 m (492 ft) IGN (Spain) |
| Population | Madrid: 3,506,730 · Lleida: 146,266 INE population register, January 1, 2025 |
Madrid to Lleida by road
The fastest driving route is 460 km (286 mi) long and takes about 5 hr 5 min without stops or traffic. It runs mostly on the A-2 (317 km) and the AP-2 (123 km).
It goes through 5 autonomous communities: the Community of Madrid (40.4 km), Castilla–La Mancha (99.4 km), Castile and León (39.8 km), Aragon (253 km), and Catalonia (27.7 km). That’s an average of 91 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 45 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 Lleida are 387 km (240 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 19% longer: for every 100 km in a straight line you drive 119. That’s a normal detour between two cities. Of the 120 Spanish driving pairs in this series, it ranks 85th for detour (the average is 24%).
From Madrid, Lleida lies to the east (bearing 69°), and from Lleida, Madrid lies to the west. The straight line reaches Lleida on a bearing of 71°: 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 Lleida
Halfway along the straight line, 193 km (120 mi) from each city, is the point 41.0371° N, 1.5522° W. It falls near Used (Zaragoza, pop. 250), 2.0 km away. The nearest town of 20,000 people or more is Calatayud (Zaragoza, pop. 20,158), 35.9 km away.
By road, the halfway point is 230 km (143 mi) from each city, in Calatayud (Zaragoza, pop. 20,158). The two midpoints are 34.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
Madrid sits at 645 m (2,116 ft) and Lleida at 150 m (492 ft), 495 m (1,624 ft) lower.
Madrid has 3.5 million people and Lleida 146,266 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Madrid to Lleida?
387 km (240 mi) in a straight line and 460 km (286 mi) by road on the fastest route (mostly on the A-2 and the AP-2).
How long is the drive from Madrid to Lleida?
About 5 hr 5 min without stops or traffic, according to OSRM with OpenStreetMap data; with 2 stops of 20 minutes, about 5 hr 45 min.
Where is the halfway point between Madrid and Lleida?
In a straight line, near Used (Zaragoza). By road, 230 km from each city, in Calatayud (Zaragoza).
Which city is higher, Madrid or Lleida?
Madrid, at 645 m (2,116 ft); Lleida sits at 150 m (492 ft).
Which direction is Lleida from Madrid?
East: the straight line leaves Madrid on a bearing of 69° (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.
- Madrid to Tarragona 425 km straight line · 541 km by road · 5 hr 55 min Tarragona, 76.2 km from Lleida
- Madrid to Huesca 335 km straight line · 384 km by road · 4 hr 15 min Huesca, 104 km from Lleida
- Madrid to Andorra la Vella 493 km straight line · 608 km by road · 7 hr 20 min Andorra la Vella, 124 km from Lleida
- Madrid to Zaragoza 274 km straight line · 315 km by road · 3 hr 30 min Zaragoza, 125 km from Lleida
More distances from Madrid
All distances- Madrid to Logroño 250 km straight line · 327 km by road · 3 hr 55 min
- Madrid to Lugo 431 km straight line · 500 km by road · 5 hr 35 min
- Madrid to Ourense 409 km straight line · 502 km by road · 5 hr 35 min
- Madrid to Palencia 190 km straight line · 258 km by road · 3 hr
- Madrid to Pontevedra 471 km straight line · 595 km by road · 6 hr 45 min
- Madrid to Soria 181 km straight line · 226 km by road · 2 hr 35 min
More distances from Lleida
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