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