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