The calculated distance (air line) between Valmiera and Kuldīga is approximately 135 miles respectively 218 kilometers.
By car or train, the actual journey to Kuldīga is certainly longer, as only the direct route (as the crow flies) between Valmiera and Kuldīga has been calculated here.