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