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