Flight Adolfo Suárez Madrid–Barajas Airport departs from Madrid Adolfo Suárez Madrid–Barajas Airport at 12:35 and arrives at San Francisco International Airport at 16:10.
The flighttime is about 12h 35m. The distance travelled ("as the bird flies"): 13205 Km. So the average speed is roughly 1049 Km.
There is an 9 hour time difference between Madrid and San Francisco