The calculated distance (air line) between Palma and Granollers is approximately 142 miles respectively 229 kilometers.
By car or train, the actual journey to Granollers is certainly longer, as only the direct route (as the crow flies) between Palma and Granollers has been calculated here.
Air line (approximately)
229 kilometers
123 nautical miles