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