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