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