The calculated distance (air line) between Sant Joan Despí and Palma is approximately 128 miles respectively 206 kilometers.
By car or train, the actual journey to Palma is certainly longer, as only the direct route (as the crow flies) between Sant Joan Despí and Palma has been calculated here.
Air line (approximately)
206 kilometers
111 nautical miles