The calculated distance (air line) between Palma and Rubí is approximately 137 miles respectively 220 kilometers.
By car or train, the actual journey to Rubí is certainly longer, as only the direct route (as the crow flies) between Palma and Rubí has been calculated here.