The calculated distance (air line) between Mhamid and Marrakesh is approximately 185 miles respectively 297 kilometers.
By car or train, the actual journey to Marrakesh is certainly longer, as only the direct route (as the crow flies) between Mhamid and Marrakesh has been calculated here.