The calculated distance (air line) between Alcobaça and Porto is approximately 112 miles respectively 180 kilometers.
By car or train, the actual journey to Porto is certainly longer, as only the direct route (as the crow flies) between Alcobaça and Porto has been calculated here.