// Variablen // To Do: make Map Object $mapType = 'ROADMAP'; //ROADMAP, SATELLITE, HYBRID, TERRAIN $mapCenterLat = 51.1519; $mapCenterLon = 10.4405; // To Do: make Options object //$coords = array(); $_max_lon = -1000000; $_min_lon = 1000000; $_max_lat = -1000000; $_min_lat = 1000000; $zoom_encompass = true; $bounds_fudge = 0.1; $center_lon = null; $origin_str = ''; $distination_str = ''; $direction = true; $direction = false; $_direction = true; $dirs = 0; ?>
The shortest distance (air line) between Madrid and Barcelona is 313.85 mi (505.09 km).Driving route: -- ( - )
The shortest route between Madrid and Barcelona is according to the route planner. The driving time is approx. . Half of the trip is reached in .Flight route: 313.17 mi (504.00 km) (1h 5min)
The flight distance between the nearest airports Madrid (ECV) and Barcelona (BCN) is 313.17 mi (504.00 km). This corresponds to an approximate flight time of 1h 5min. Similar flight routes: ECV → QSA , ECV → GRO , MAD → BCN , MAD → QSA , MAD → GRO Bearing: 75.74° (ENE)
The initial bearing on the course from Madrid to Barcelona is 75.74° and the compass direction is ENE.Midpoint: 40.93953,-0.78678
The geographic midpoint between Madrid and Barcelona is in 156.92 mi (252.55 km) distance between both points in a bearing of 75.74°. It is located in Spain, Aragon, Teruel, Josa (España, Aragón, Teruel, Josa).Time difference: 0h
Madrid and Barcelona are both in the same time zone Europe/Madrid.
To calculate the distance between Madrid and Barcelona, the place names are converted into coordinates (latitude and longitude). The respective geographic centre is used for cities, regions and countries. To calculate the distance the Haversine formula is applied.
Help make this service available to everyone in the world and translate distance.to into other languages. Translate now!