Distance from Madrid to San Rafael

The distance between Madrid, Spain and San Rafael, Costa Rica is 8,472 km (5,264 miles) in a straight line. If a road route exists, expect roughly 10590 km (6580 miles) by car — around 132 h 23 min of driving.

Measure Value
Straight-line distance 8,472 km / 5,264 mi
Road distance (estimate) ≈ 10590 km / 6580 mi
Driving time (estimate) ≈ 132 h 23 min
Flight time (estimate) ≈ 10 h 28 min

Road distance and travel times are estimates based on the straight-line distance (road factor 1.25, average speed 80 km/h) — actual routes vary.

Place Latitude Longitude
Madrid, Spain 40.4166909 -3.7003454
San Rafael, Costa Rica 9.86907 -83.9038

Frequently asked questions

How far is San Rafael from Madrid?

The straight-line (air) distance from Madrid, Spain to San Rafael, Costa Rica is 8,472 km (5,264 miles). By road it is roughly 10590 km (6580 miles), depending on the route.

How long does it take to drive from Madrid to San Rafael?

Approximately 132 h 23 min, assuming an 80 km/h average over an estimated road distance of 10590 km. Actual time depends on the route, traffic and border crossings.

How long is the flight from Madrid to San Rafael?

A direct flight covers 8,472 km in about 10 h 28 min at typical cruise speed, plus airport time. Not all city pairs have direct flights.

How do I calculate distances for a whole list of locations?

Upload a CSV or Excel spreadsheet to the batch distance calculator — it computes the distance for every origin–destination row at once. The first records are free to try.

Try other tools

We use cookies for various purposes including analytics and personalized marketing. By continuing to use the service, you agree to our use of cookies as described in the Cookie Policy.   I Agree