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