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