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