The calculated distance (air line) between Andahuaylas and Ayacucho is approximately 66 miles respectively 106 kilometers.
By car or train, the actual journey to Ayacucho is certainly longer, as only the direct route (as the crow flies) between Andahuaylas and Ayacucho has been calculated here.
Air line (approximately)
106 kilometers
57 nautical miles