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