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