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