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