The calculated distance (air line) between Ripoll and Moià is approximately 27 miles respectively 44 kilometers.
By car or train, the actual journey to Moià is certainly longer, as only the direct route (as the crow flies) between Ripoll and Moià has been calculated here.