Madrid to Segovia distance
Madrid and Segovia are 69.4 km (43.1 mi) apart in a straight line and 97.2 km (60.4 mi) apart by road: about 1 hr 20 min of driving without stops, mostly on the A-6 and the AP-61. Below you’ll find the route map, both halfway points, the bearing and where every figure comes from.
By the Mapsfera Team
- By road
- 97.2 km (60.4 mi)
- Driving time
- 1 hr 20 min
- Straight line
- 69.4 km (43.1 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 October 31, 2026; simplified line.
The figures
| Figure | Value |
|---|---|
| Straight line | 69.4 km (43.1 mi) geodesic on the WGS84 ellipsoid |
| By road | 97.2 km (60.4 mi) fastest driving route (OSRM) |
| Driving time | 1 hr 20 min no stops, no traffic |
| Road detour | +40% 1.40 times the straight line |
| Average speed | 72 km/h (45 mph) along the route, without stops |
| Bearing | 328° (northwest) leaving Madrid toward Segovia |
| Midpoint | 40.6850° N, 3.9072° W near El Boalo (Madrid) |
| Halfway by road | Near Guadarrama (Madrid) 48.6 km from each city by road |
| Time difference | None both share the same time |
| Elevation | Madrid: 645 m (2,116 ft) · Segovia: 1,003 m (3,291 ft) IGN (Spain) |
| Population | Madrid: 3,506,730 · Segovia: 52,375 INE population register, January 1, 2025 |
Madrid to Segovia by road
The fastest driving route is 97.2 km (60.4 mi) long and takes about 1 hr 20 min without stops or traffic. It runs mostly on the A-6 (34.8 km), the AP-61 (26.2 km), and the AP-6 (21.8 km).
It goes through 2 autonomous communities: the Community of Madrid (55.6 km) and Castile and León (41.6 km). That’s an average of 72 km/h (45 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 Segovia are 69.4 km (43.1 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 40% longer: for every 100 km in a straight line you drive 140. That’s a big detour: the fastest route strays quite far from the straight line. Of the 40 Spanish pairs in this series, it ranks 3rd for detour (the average is 24%).
From Madrid, Segovia lies to the northwest (bearing 328°), and from Segovia, Madrid lies to the southeast.
Halfway between Madrid and Segovia
Halfway along the straight line, 34.7 km (21.6 mi) from each city, is the point 40.6850° N, 3.9072° W. It falls near El Boalo (Madrid, pop. 8,770), 3.7 km away. The nearest town of 20,000 people or more is Collado Villalba (Madrid, pop. 67,274), 8.4 km away.
By road, the halfway point is 48.6 km (30.2 mi) from each city, near Guadarrama (Madrid, pop. 17,547), 1.7 km away. The nearest town of 20,000 people or more is Collado Villalba (Madrid, pop. 67,274), 8.9 km away. The two midpoints are 16.2 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 Segovia at 1,003 m (3,291 ft), 358 m (1,175 ft) higher.
Madrid has 3.5 million people and Segovia 52,375 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Madrid to Segovia?
69.4 km (43.1 mi) in a straight line and 97.2 km (60.4 mi) by road on the fastest route (mostly on the A-6 and the AP-61).
How long is the drive from Madrid to Segovia?
About 1 hr 20 min without stops or traffic, according to OSRM with OpenStreetMap data.
Where is the halfway point between Madrid and Segovia?
In a straight line, near El Boalo (Madrid). By road, 48.6 km from each city, near Guadarrama (Madrid).
Which city is higher, Madrid or Segovia?
Segovia, at 1,003 m (3,291 ft); Madrid sits at 645 m (2,116 ft).
Which direction is Segovia from Madrid?
Northwest: the straight line leaves Madrid on a bearing of 328° (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.
More distances from Madrid
All distances- Madrid to Cádiz 488 km straight line · 651 km by road · 7 hr 10 min
- Madrid to Badajoz 329 km straight line · 402 km by road · 4 hr 25 min
- Madrid to León 288 km straight line · 338 km by road · 3 hr 50 min
- Madrid to Burgos 213 km straight line · 244 km by road · 2 hr 50 min
- Madrid to Pamplona 316 km straight line · 387 km by road · 4 hr 45 min
- Madrid to Lisbon 505 km straight line · 627 km by road · 6 hr 45 min
Sources
- Driving route: FOSSGIS OSRM, car profile (calculated on October 31, 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: Mapsfera gazetteer (GeoNames, INE, IGN and Census) · Mapsfera
- 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