The calculated distance (air line) between Magaramkent and Makhachkala is approximately 103 miles respectively 167 kilometers.
By car or train, the actual journey to Makhachkala is certainly longer, as only the direct route (as the crow flies) between Magaramkent and Makhachkala has been calculated here.
Air line (approximately)
167 kilometers
90 nautical miles