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