The calculated distance (air line) between Arroyo de la Encomienda and Madrid is approximately 100 miles respectively 161 kilometers.
By car or train, the actual journey to Madrid is certainly longer, as only the direct route (as the crow flies) between Arroyo de la Encomienda and Madrid has been calculated here.
Air line (approximately)
161 kilometers
87 nautical miles