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