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