The calculated distance (air line) between San Pablo and Puntarenas is approximately 50 miles respectively 81 kilometers.
By car or train, the actual journey to Puntarenas is certainly longer, as only the direct route (as the crow flies) between San Pablo and Puntarenas has been calculated here.
Air line (approximately)
81 kilometers
44 nautical miles