Air Miles Calculator logo

How far is Madrid from San Jose?

The distance between San Jose (Juan Santamaría International Airport) and Madrid (Adolfo Suárez Madrid–Barajas Airport) is 5286 miles / 8507 kilometers / 4593 nautical miles.

Juan Santamaría International Airport – Adolfo Suárez Madrid–Barajas Airport

Distance arrow
5286
Miles
Distance arrow
8507
Kilometers
Distance arrow
4593
Nautical miles

Search flights

Distance from San Jose to Madrid

There are several ways to calculate the distance from San Jose to Madrid. Here are two standard methods:

Vincenty's formula (applied above)
  • 5286.095 miles
  • 8507.145 kilometers
  • 4593.491 nautical miles

Vincenty's formula calculates the distance between latitude/longitude points on the earth's surface using an ellipsoidal model of the planet.

Haversine formula
  • 5281.470 miles
  • 8499.701 kilometers
  • 4589.472 nautical miles

The haversine formula calculates the distance between latitude/longitude points assuming a spherical earth (great-circle distance – the shortest distance between two points).

How long does it take to fly from San Jose to Madrid?

The estimated flight time from Juan Santamaría International Airport to Adolfo Suárez Madrid–Barajas Airport is 10 hours and 30 minutes.

Flight carbon footprint between Juan Santamaría International Airport (SJO) and Adolfo Suárez Madrid–Barajas Airport (MAD)

On average, flying from San Jose to Madrid generates about 621 kg of CO2 per passenger, and 621 kilograms equals 1 370 pounds (lbs). The figures are estimates and include only the CO2 generated by burning jet fuel.

Map of flight path from San Jose to Madrid

See the map of the shortest flight path between Juan Santamaría International Airport (SJO) and Adolfo Suárez Madrid–Barajas Airport (MAD).

Airport information

Origin Juan Santamaría International Airport
City: San Jose
Country: Costa Rica Flag of Costa Rica
IATA Code: SJO
ICAO Code: MROC
Coordinates: 9°59′37″N, 84°12′31″W
Destination Adolfo Suárez Madrid–Barajas Airport
City: Madrid
Country: Spain Flag of Spain
IATA Code: MAD
ICAO Code: LEMD
Coordinates: 40°29′36″N, 3°34′0″W

Airlines flying from San Jose (SJO) to Madrid (MAD)

Iberia Airlines