The calculated distance (air line) between Ağdam and Xaçmaz is approximately 142 miles respectively 228 kilometers.
By car or train, the actual journey to Xaçmaz is certainly longer, as only the direct route (as the crow flies) between Ağdam and Xaçmaz has been calculated here.