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