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