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