The calculated distance (air line) between San Rafael and Ecatepec de Morelos is approximately 148 miles respectively 238 kilometers.
By car or train, the actual journey to Ecatepec de Morelos is certainly longer, as only the direct route (as the crow flies) between San Rafael and Ecatepec de Morelos has been calculated here.
Air line (approximately)
238 kilometers
129 nautical miles