Flight International Airport departs from San Francisco International Airport at 18:05 and arrives at Madrid Adolfo Suárez Madrid–Barajas Airport at 14:25.
The flighttime is about 11h 20m. The distance travelled ("as the bird flies"): 13205 Km. So the average speed is roughly 1165 Km.
There is an 9 hour time difference between San Francisco and Madrid