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