Air Miles Calculator logo

How far is Gibraltar from Madrid?

The distance between Madrid (Adolfo Suárez Madrid–Barajas Airport) and Gibraltar (Gibraltar International Airport) is 315 miles / 507 kilometers / 274 nautical miles.

The driving distance from Madrid (MAD) to Gibraltar (GIB) is 408 miles / 656 kilometers, and travel time by car is about 7 hours 43 minutes.

Adolfo Suárez Madrid–Barajas Airport – Gibraltar International Airport

Distance arrow
315
Miles
Distance arrow
507
Kilometers
Distance arrow
274
Nautical miles

Search flights

Distance from Madrid to Gibraltar

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

Vincenty's formula (applied above)
  • 314.769 miles
  • 506.572 kilometers
  • 273.527 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
  • 315.192 miles
  • 507.252 kilometers
  • 273.894 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 Madrid to Gibraltar?

The estimated flight time from Adolfo Suárez Madrid–Barajas Airport to Gibraltar International Airport is 1 hour and 5 minutes.

What is the time difference between Madrid and Gibraltar?

There is no time difference between Madrid and Gibraltar.

Flight carbon footprint between Adolfo Suárez Madrid–Barajas Airport (MAD) and Gibraltar International Airport (GIB)

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

Map of flight path and driving directions from Madrid to Gibraltar

See the map of the shortest flight path between Adolfo Suárez Madrid–Barajas Airport (MAD) and Gibraltar International Airport (GIB).

Airport information

Origin 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
Destination Gibraltar International Airport
City: Gibraltar
Country: Gibraltar Flag of Gibraltar
IATA Code: GIB
ICAO Code: LXGB
Coordinates: 36°9′4″N, 5°20′58″W