The calculated distance (air line) between Sant Andreu de la Barca and Palma is approximately 135 miles respectively 216 kilometers.
By car or train, the actual journey to Palma is certainly longer, as only the direct route (as the crow flies) between Sant Andreu de la Barca and Palma has been calculated here.
Air line (approximately)
216 kilometers
117 nautical miles