Madrid to Cuenca distance
Madrid and Cuenca are 138 km (85.9 mi) apart in a straight line and 168 km (104 mi) apart by road: about 2 hr of driving without stops, mostly on the A-3 and the A-40. 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
- 168 km (104 mi)
- Driving time
- 2 hr
- Straight line
- 138 km (85.9 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 | 138 km (85.9 mi) geodesic on the WGS84 ellipsoid |
| By road | 168 km (104 mi) fastest driving route (OSRM) |
| Driving time | 2 hr no stops, no traffic |
| Road detour | +21% 1.21 times the straight line |
| Average speed | 84 km/h (52 mph) along the route, without stops |
| Bearing | 105° (east) leaving Madrid toward Cuenca |
| Midpoint | 40.2511° N, 2.9091° W near Illana (Guadalajara) |
| Halfway by road | Near Tarancón (Cuenca) 83.8 km from each city by road |
| Time difference | None both share the same time |
| Elevation | Madrid: 645 m (2,116 ft) · Cuenca: 988 m (3,241 ft) IGN (Spain) |
| Population | Madrid: 3,506,730 · Cuenca: 53,600 INE population register, January 1, 2025 |
Madrid to Cuenca by road
The fastest driving route is 168 km (104 mi) long and takes about 2 hr without stops or traffic. It runs mostly on the A-3 (80.1 km) and the A-40 (78.4 km).
It goes through 2 autonomous communities: the Community of Madrid (71.7 km) and Castilla–La Mancha (95.8 km). That’s an average of 84 km/h (52 mph), and at under two hours you can do it without stopping. 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 Cuenca are 138 km (85.9 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 21% longer: for every 100 km in a straight line you drive 121. That’s a normal detour between two cities. Of the 120 Spanish driving pairs in this series, it ranks 70th for detour (the average is 24%).
From Madrid, Cuenca lies to the east (bearing 105°), and from Cuenca, Madrid lies to the west.
Halfway between Madrid and Cuenca
Halfway along the straight line, 69.1 km (42.9 mi) from each city, is the point 40.2511° N, 2.9091° W. It falls near Illana (Guadalajara, pop. 938), 7.4 km away. The nearest town of 20,000 people or more is Arganda del Rey (Madrid, pop. 60,419), 45.3 km away.
By road, the halfway point is 83.8 km (52.1 mi) from each city, near Tarancón (Cuenca, pop. 16,748), 2.3 km away. The nearest town of 20,000 people or more is Arganda del Rey (Madrid, pop. 60,419), 50.7 km away. The two midpoints are 29.7 km apart: if you want to meet halfway, the one on the road is the useful one.
The two cities
Madrid sits at 645 m (2,116 ft) and Cuenca at 988 m (3,241 ft), 343 m (1,125 ft) higher.
Madrid has 3.5 million people and Cuenca 53,600 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Madrid to Cuenca?
138 km (85.9 mi) in a straight line and 168 km (104 mi) by road on the fastest route (mostly on the A-3 and the A-40).
How long is the drive from Madrid to Cuenca?
About 2 hr without stops or traffic, according to OSRM with OpenStreetMap data.
Where is the halfway point between Madrid and Cuenca?
In a straight line, near Illana (Guadalajara). By road, 83.8 km from each city, near Tarancón (Cuenca).
Which city is higher, Madrid or Cuenca?
Cuenca, at 988 m (3,241 ft); Madrid sits at 645 m (2,116 ft).
Which direction is Cuenca from Madrid?
East: the straight line leaves Madrid on a bearing of 105° (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.
More distances from Madrid
All distances- Madrid to Huelva 451 km straight line · 616 km by road · 6 hr 40 min
- Madrid to Huesca 335 km straight line · 384 km by road · 4 hr 15 min
- Madrid to Jaén 295 km straight line · 334 km by road · 3 hr 50 min
- Madrid to Lleida 387 km straight line · 460 km by road · 5 hr 5 min
- 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
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