Madrid to Girona distance
Madrid and Girona are 573 km (356 mi) apart in a straight line and 686 km (426 mi) apart by road: about 7 hr 35 min of driving without stops, mostly on the A-2 and the C-25. 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
- 686 km (426 mi)
- Driving time
- 7 hr 35 min
- Straight line
- 573 km (356 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 | 573 km (356 mi) geodesic on the WGS84 ellipsoid |
| By road | 686 km (426 mi) fastest driving route (OSRM) |
| Driving time | 7 hr 35 min no stops, no traffic |
| Road detour | +20% 1.20 times the straight line |
| Average speed | 91 km/h (56 mph) along the route, without stops |
| Bearing | 70° (east) leaving Madrid toward Girona |
| Midpoint | 41.2472° N, 0.4724° W near La Puebla de Híjar (Teruel) |
| Halfway by road | In Osera de Ebro (Zaragoza) 343 km from each city by road |
| Time difference | None both share the same time |
| Approximate flight | 1 hr 15 min estimate: 30 min + the straight line at 800 km/h |
| Elevation | Madrid: 645 m (2,116 ft) · Girona: 68 m (223 ft) IGN (Spain) |
| Population | Madrid: 3,506,730 · Girona: 108,666 INE population register, January 1, 2025 |
Madrid to Girona by road
The fastest driving route is 686 km (426 mi) long and takes about 7 hr 35 min without stops or traffic. It runs mostly on the A-2 (368 km), the C-25 (154 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 (253 km). That’s an average of 91 km/h (56 mph). Spain’s traffic authority (DGT) recommends a break every two hours or 200 km: with 3 stops of 20 minutes, the trip takes about 8 hr 35 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 Girona are 573 km (356 mi) apart. That’s the geodesic on the WGS84 ellipsoid, the distance “as the crow flies”.
The road is 20% longer: for every 100 km in a straight line you drive 120. That’s a normal detour between two cities. Of the 120 Spanish driving pairs in this series, it ranks 82nd for detour (the average is 24%).
From Madrid, Girona lies to the east (bearing 70°), and from Girona, Madrid lies to the west. The straight line reaches Girona on a bearing of 75°: 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 Girona
Halfway along the straight line, 287 km (178 mi) from each city, is the point 41.2472° N, 0.4724° W. It falls near La Puebla de Híjar (Teruel, pop. 935), 4.3 km away. The nearest town of 20,000 people or more is Zaragoza (pop. 693,091), 56.6 km away.
By road, the halfway point is 343 km (213 mi) from each city, in Osera de Ebro (Zaragoza, pop. 442). The nearest town of 20,000 people or more is Zaragoza (pop. 693,091), 27.5 km away. The two midpoints are 34.4 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 15 min. That’s an estimate: 30 minutes for takeoff, climb, descent and landing, plus the 573 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
Madrid sits at 645 m (2,116 ft) and Girona at 68 m (223 ft), 577 m (1,893 ft) lower.
Madrid has 3.5 million people and Girona 108,666 people (INE population register, January 1, 2025).
Frequently asked questions
How many kilometers is it from Madrid to Girona?
573 km (356 mi) in a straight line and 686 km (426 mi) by road on the fastest route (mostly on the A-2 and the C-25).
How long is the drive from Madrid to Girona?
About 7 hr 35 min without stops or traffic, according to OSRM with OpenStreetMap data; with 3 stops of 20 minutes, about 8 hr 35 min.
Where is the halfway point between Madrid and Girona?
In a straight line, near La Puebla de Híjar (Teruel). By road, 343 km from each city, in Osera de Ebro (Zaragoza).
How long is the flight from Madrid to Girona?
About 1 hr 15 min, estimated from the straight-line distance (573 km): 30 minutes for takeoff and landing plus the trip at 800 km/h. Real flight times vary with wind and routing.
Which city is higher, Madrid or Girona?
Madrid, at 645 m (2,116 ft); Girona sits at 68 m (223 ft).
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 Barcelona 506 km straight line · 617 km by road · 6 hr 50 min Barcelona, 85.8 km from Girona
- Madrid to Andorra la Vella 493 km straight line · 608 km by road · 7 hr 20 min Andorra la Vella, 122 km from Girona
- Madrid to Tarragona 425 km straight line · 541 km by road · 5 hr 55 min Tarragona, 163 km from Girona
- Madrid to Lleida 387 km straight line · 460 km by road · 5 hr 5 min Lleida, 187 km from Girona
More distances from Madrid
All distances- Madrid to Vigo 467 km straight line · 593 km by road · 6 hr 40 min
- Madrid to Gijón 384 km straight line · 468 km by road · 5 hr 20 min
- Madrid to Mérida 282 km straight line · 345 km by road · 3 hr 50 min
- Madrid to Jerez de la Frontera 466 km straight line · 622 km by road · 6 hr 55 min
- Madrid to Cartagena 391 km straight line · 451 km by road · 4 hr 55 min
- Madrid to Marbella 446 km straight line · 583 km by road · 6 hr 35 min
More distances from Girona
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