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