The calculated distance (air line) between Khouribga and Sidi Qacem is approximately 116 miles respectively 186 kilometers.
By car or train, the actual journey to Sidi Qacem is certainly longer, as only the direct route (as the crow flies) between Khouribga and Sidi Qacem has been calculated here.
Air line (approximately)
186 kilometers
100 nautical miles