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