The calculated distance (air line) between Valmiera and Daugavgrīva is approximately 62 miles respectively 100 kilometers.
By car or train, the actual journey to Daugavgrīva is certainly longer, as only the direct route (as the crow flies) between Valmiera and Daugavgrīva has been calculated here.
Air line (approximately)
100 kilometers
54 nautical miles