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