The calculated distance (air line) between Foum Jam’a and Fes is approximately 184 miles respectively 295 kilometers.
By car or train, the actual journey to Fes is certainly longer, as only the direct route (as the crow flies) between Foum Jam’a and Fes has been calculated here.
Air line (approximately)
295 kilometers
159 nautical miles