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