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