The calculated distance (air line) between Primorsk and Saint Petersburg is approximately 66 miles respectively 106 kilometers.
By car or train, the actual journey to Saint Petersburg is certainly longer, as only the direct route (as the crow flies) between Primorsk and Saint Petersburg has been calculated here.
Air line (approximately)
106 kilometers
57 nautical miles