The calculated distance (air line) between Castelo Branco and Queluz is approximately 120 miles respectively 193 kilometers.
By car or train, the actual journey to Queluz is certainly longer, as only the direct route (as the crow flies) between Castelo Branco and Queluz has been calculated here.
Air line (approximately)
193 kilometers
104 nautical miles