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