The calculated distance (air line) between Medjez el Bab and El Kef is approximately 60 miles respectively 97 kilometers.
By car or train, the actual journey to El Kef is certainly longer, as only the direct route (as the crow flies) between Medjez el Bab and El Kef has been calculated here.
Air line (approximately)
97 kilometers
52 nautical miles