The calculated distance (air line) between Santa Ana and Valera is approximately 163 miles respectively 262 kilometers.
By car or train, the actual journey to Valera is certainly longer, as only the direct route (as the crow flies) between Santa Ana and Valera has been calculated here.