The calculated distance (air line) between Arenas de San Pedro and Madrid is approximately 74 miles respectively 120 kilometers.
By car or train, the actual journey to Madrid is certainly longer, as only the direct route (as the crow flies) between Arenas de San Pedro and Madrid has been calculated here.
Air line (approximately)
120 kilometers
65 nautical miles