The calculated distance (air line) between Maştağa and Shamakhi is approximately 72 miles respectively 116 kilometers.
By car or train, the actual journey to Shamakhi is certainly longer, as only the direct route (as the crow flies) between Maştağa and Shamakhi has been calculated here.