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