Flight John F Kennedy International Airport departs from New York John F Kennedy International Airport at 20:00 and arrives at Barcelona Barcelona–El Prat Airport at 08:40.
The flighttime is about 6h 40m. The distance travelled ("as the bird flies"): 8435 Km. So the average speed is roughly 1265 Km.
There is an 6 hour time difference between New York and Barcelona