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