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