Flight Sofia Airport departs from Sofia Sofia Airport at 06:55 and arrives at Madrid Adolfo Suárez Madrid–Barajas Airport at 09:25.
The flighttime is about 3h 30m. The distance travelled ("as the bird flies"): 3009 Km. So the average speed is roughly 860 Km.
There is an 1 hour time difference between Sofia and Madrid