The calculated distance (air line) between Kraków and Zamość is approximately 153 miles respectively 246 kilometers.
By car or train, the actual journey to Zamość is certainly longer, as only the direct route (as the crow flies) between Kraków and Zamość has been calculated here.