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