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