Flight John F Kennedy International Airport departs from New York John F Kennedy International Airport at 21:00 and arrives at Madrid Adolfo Suárez Madrid–Barajas Airport at 10:15.
The flighttime is about 7h 15m. The distance travelled ("as the bird flies"): 7807 Km. So the average speed is roughly 1077 Km.
There is an 6 hour time difference between New York and Madrid