The calculated distance (air line) between Palencia and Petapa is approximately 18 miles respectively 29 kilometers.
By car or train, the actual journey to Petapa is certainly longer, as only the direct route (as the crow flies) between Palencia and Petapa has been calculated here.