The calculated distance (air line) between San Ramón and Dolores is approximately 140 miles respectively 225 kilometers.
By car or train, the actual journey to Dolores is certainly longer, as only the direct route (as the crow flies) between San Ramón and Dolores has been calculated here.