5391
Miles
8675
Kilometers
4684
Nautical miles
10 h 42 min
635 kg

## Search flights

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

Vincenty's formula (applied above)
• 5390.677 miles
• 8675.453 kilometers
• 4684.370 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
• 5384.420 miles
• 8665.385 kilometers
• 4678.933 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 Salvador to Madrid?

The estimated flight time from El Salvador International Airport to Adolfo Suárez Madrid–Barajas Airport is 10 hours and 42 minutes.

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