The calculated distance (air line) between Medina Sidonia and Málaga is approximately 86 miles respectively 138 kilometers.
By car or train, the actual journey to Málaga is certainly longer, as only the direct route (as the crow flies) between Medina Sidonia and Málaga has been calculated here.
Air line (approximately)
138 kilometers
74 nautical miles