The calculated distance (air line) between Aguiar da Beira and Queluz is approximately 169 miles respectively 272 kilometers.
By car or train, the actual journey to Queluz is certainly longer, as only the direct route (as the crow flies) between Aguiar da Beira and Queluz has been calculated here.
Air line (approximately)
272 kilometers
147 nautical miles